Core/DataStores: Load CurrencyContainer, GarrMission, JournalEncounter, JournalEncounterSection, JournalInstance, JournalTier, KeystoneAffix, MapChallengeMode, MawPower and SoulbindConduitRank
Port From (https://github.com/TrinityCore/TrinityCore/commit/70a62c39785e65711c5068289e2eaba7fc0880c3)
This commit is contained in:
@@ -505,6 +505,19 @@ namespace Game.DataStorage
|
||||
public CriteriaTreeFlags Flags;
|
||||
}
|
||||
|
||||
public sealed class CurrencyContainerRecord
|
||||
{
|
||||
public uint Id;
|
||||
public LocalizedString ContainerName;
|
||||
public LocalizedString ContainerDescription;
|
||||
public int MinAmount;
|
||||
public int MaxAmount;
|
||||
public int ContainerIconID;
|
||||
public int ContainerQuality;
|
||||
public int OnLootSpellVisualKitID;
|
||||
public uint CurrencyTypesID;
|
||||
}
|
||||
|
||||
public sealed class CurrencyTypesRecord
|
||||
{
|
||||
public uint Id;
|
||||
|
||||
@@ -166,6 +166,42 @@ namespace Game.DataStorage
|
||||
public uint GarrFollowerID;
|
||||
}
|
||||
|
||||
public sealed class GarrMissionRecord
|
||||
{
|
||||
public uint Id;
|
||||
public LocalizedString Name;
|
||||
public LocalizedString Location;
|
||||
public LocalizedString Description;
|
||||
public Vector2 MapPos;
|
||||
public Vector2 WorldPos;
|
||||
public byte GarrTypeID;
|
||||
public byte GarrMissionTypeID;
|
||||
public byte GarrFollowerTypeID;
|
||||
public byte MaxFollowers;
|
||||
public uint MissionCost;
|
||||
public ushort MissionCostCurrencyTypesID;
|
||||
public byte OfferedGarrMissionTextureID;
|
||||
public ushort UiTextureKitID;
|
||||
public uint EnvGarrMechanicID;
|
||||
public int EnvGarrMechanicTypeID;
|
||||
public uint PlayerConditionID;
|
||||
public int GarrMissionSetID;
|
||||
public sbyte TargetLevel;
|
||||
public ushort TargetItemLevel;
|
||||
public int MissionDuration;
|
||||
public int TravelDuration;
|
||||
public uint OfferDuration;
|
||||
public byte BaseCompletionChance;
|
||||
public uint BaseFollowerXP;
|
||||
public uint OvermaxRewardPackID;
|
||||
public byte FollowerDeathChance;
|
||||
public uint AreaID;
|
||||
public uint Flags;
|
||||
public float AutoMissionScalar;
|
||||
public int AutoMissionScalarCurveID;
|
||||
public int AutoCombatantEnvCasterID;
|
||||
}
|
||||
|
||||
public sealed class GarrPlotRecord
|
||||
{
|
||||
public uint Id;
|
||||
|
||||
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Copyright (C) 2012-2020 CypherCore <http://github.com/CypherCore>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
using Framework.Constants;
|
||||
using Framework.GameMath;
|
||||
|
||||
namespace Game.DataStorage
|
||||
{
|
||||
public sealed class JournalEncounterRecord
|
||||
{
|
||||
public LocalizedString Name;
|
||||
public LocalizedString Description;
|
||||
public Vector2 Map;
|
||||
public uint Id;
|
||||
public ushort JournalInstanceID;
|
||||
public ushort DungeonEncounterID;
|
||||
public uint OrderIndex;
|
||||
public ushort FirstSectionID;
|
||||
public ushort UiMapID;
|
||||
public uint MapDisplayConditionID;
|
||||
public byte Flags;
|
||||
public sbyte DifficultyMask;
|
||||
}
|
||||
|
||||
public sealed class JournalEncounterSectionRecord
|
||||
{
|
||||
public uint Id;
|
||||
public LocalizedString Title;
|
||||
public LocalizedString BodyText;
|
||||
public ushort JournalEncounterID;
|
||||
public byte OrderIndex;
|
||||
public ushort ParentSectionID;
|
||||
public ushort FirstChildSectionID;
|
||||
public ushort NextSiblingSectionID;
|
||||
public byte Type;
|
||||
public uint IconCreatureDisplayInfoID;
|
||||
public int UiModelSceneID;
|
||||
public int SpellID;
|
||||
public int IconFileDataID;
|
||||
public ushort Flags;
|
||||
public ushort IconFlags;
|
||||
public sbyte DifficultyMask;
|
||||
}
|
||||
|
||||
public sealed class JournalInstanceRecord
|
||||
{
|
||||
public uint Id;
|
||||
public LocalizedString Name;
|
||||
public LocalizedString Description;
|
||||
public ushort MapID;
|
||||
public int BackgroundFileDataID;
|
||||
public int ButtonFileDataID;
|
||||
public int ButtonSmallFileDataID;
|
||||
public int LoreFileDataID;
|
||||
public byte OrderIndex;
|
||||
public byte Flags;
|
||||
public ushort AreaID;
|
||||
}
|
||||
|
||||
public sealed class JournalTierRecord
|
||||
{
|
||||
public uint Id;
|
||||
public LocalizedString Name;
|
||||
public int PlayerConditionID;
|
||||
}
|
||||
}
|
||||
@@ -22,4 +22,12 @@ namespace Game.DataStorage
|
||||
public uint Id;
|
||||
public byte[] Key = new byte[32];
|
||||
}
|
||||
|
||||
public sealed class KeystoneAffixRecord
|
||||
{
|
||||
public uint Id;
|
||||
public LocalizedString Name;
|
||||
public LocalizedString Description;
|
||||
public int FiledataID;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -91,6 +91,16 @@ namespace Game.DataStorage
|
||||
public bool IsGarrison() { return (Flags[0] & MapFlags.Garrison) != 0; }
|
||||
}
|
||||
|
||||
public sealed class MapChallengeModeRecord
|
||||
{
|
||||
public LocalizedString Name;
|
||||
public uint Id;
|
||||
public ushort MapID;
|
||||
public byte Flags;
|
||||
public uint ExpansionLevel;
|
||||
public short[] CriteriaCount = new short[3];
|
||||
}
|
||||
|
||||
public sealed class MapDifficultyRecord
|
||||
{
|
||||
public uint Id;
|
||||
@@ -124,6 +134,13 @@ namespace Game.DataStorage
|
||||
public uint MapDifficultyID;
|
||||
}
|
||||
|
||||
public sealed class MawPowerRecord
|
||||
{
|
||||
public uint Id;
|
||||
public int SpellID;
|
||||
public int MawPowerRarityID;
|
||||
}
|
||||
|
||||
public sealed class ModifierTreeRecord
|
||||
{
|
||||
public uint Id;
|
||||
|
||||
@@ -128,6 +128,15 @@ namespace Game.DataStorage
|
||||
public ushort SkillTierID;
|
||||
}
|
||||
|
||||
public sealed class SoulbindConduitRankRecord
|
||||
{
|
||||
public uint Id;
|
||||
public int RankIndex;
|
||||
public int SpellID;
|
||||
public float AuraPointsOverride;
|
||||
public uint SoulbindConduitID;
|
||||
}
|
||||
|
||||
public sealed class SoundKitRecord
|
||||
{
|
||||
public uint Id;
|
||||
|
||||
Reference in New Issue
Block a user