Core/Garrisons: Implement SMSG_GARRISON_OPEN_TALENT_NPC opcode
Port From (https://github.com/TrinityCore/TrinityCore/commit/4772c4817f1b34553f1c697e2aedc0372af9aea2)
This commit is contained in:
@@ -158,6 +158,7 @@ namespace Game.DataStorage
|
||||
GarrPlotInstanceStorage = ReadDB2<GarrPlotInstanceRecord>("GarrPlotInstance.db2", HotfixStatements.SEL_GARR_PLOT_INSTANCE);
|
||||
GarrSiteLevelStorage = ReadDB2<GarrSiteLevelRecord>("GarrSiteLevel.db2", HotfixStatements.SEL_GARR_SITE_LEVEL);
|
||||
GarrSiteLevelPlotInstStorage = ReadDB2<GarrSiteLevelPlotInstRecord>("GarrSiteLevelPlotInst.db2", HotfixStatements.SEL_GARR_SITE_LEVEL_PLOT_INST);
|
||||
GarrTalentTreeStorage = ReadDB2<GarrTalentTreeRecord>("GarrTalentTree.db2", HotfixStatements.SEL_GARR_TALENT_TREE, HotfixStatements.SEL_GARR_TALENT_TREE_LOCALE);
|
||||
GemPropertiesStorage = ReadDB2<GemPropertiesRecord>("GemProperties.db2", HotfixStatements.SEL_GEM_PROPERTIES);
|
||||
GlobalCurveStorage = ReadDB2<GlobalCurveRecord>("GlobalCurve.db2", HotfixStatements.SEL_GLOBAL_CURVE);
|
||||
GlyphBindableSpellStorage = ReadDB2<GlyphBindableSpellRecord>("GlyphBindableSpell.db2", HotfixStatements.SEL_GLYPH_BINDABLE_SPELL);
|
||||
@@ -555,6 +556,7 @@ namespace Game.DataStorage
|
||||
public static DB6Storage<GarrPlotInstanceRecord> GarrPlotInstanceStorage;
|
||||
public static DB6Storage<GarrSiteLevelRecord> GarrSiteLevelStorage;
|
||||
public static DB6Storage<GarrSiteLevelPlotInstRecord> GarrSiteLevelPlotInstStorage;
|
||||
public static DB6Storage<GarrTalentTreeRecord> GarrTalentTreeStorage;
|
||||
public static DB6Storage<GemPropertiesRecord> GemPropertiesStorage;
|
||||
public static DB6Storage<GlobalCurveRecord> GlobalCurveStorage;
|
||||
public static DB6Storage<GlyphBindableSpellRecord> GlyphBindableSpellStorage;
|
||||
|
||||
@@ -258,6 +258,23 @@ namespace Game.DataStorage
|
||||
public byte UiMarkerSize;
|
||||
}
|
||||
|
||||
public sealed class GarrTalentTreeRecord
|
||||
{
|
||||
public uint Id;
|
||||
public string Name;
|
||||
public byte GarrTypeID;
|
||||
public int ClassID;
|
||||
public sbyte MaxTiers;
|
||||
public sbyte UiOrder;
|
||||
public int Flags;
|
||||
public ushort UiTextureKitID;
|
||||
public int GarrTalentTreeType;
|
||||
public int PlayerConditionID;
|
||||
public sbyte FeatureTypeIndex;
|
||||
public sbyte FeatureSubtypeIndex;
|
||||
public int CurrencyID;
|
||||
}
|
||||
|
||||
public sealed class GemPropertiesRecord
|
||||
{
|
||||
public uint Id;
|
||||
|
||||
Reference in New Issue
Block a user