aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/DataStores
diff options
context:
space:
mode:
authorTreeston <treeston.mmoc@gmail.com>2020-09-02 12:42:02 +0200
committerGitHub <noreply@github.com>2020-09-02 12:42:02 +0200
commit470f45db7af8a9976c89f9d69f1637085ebb0fcc (patch)
tree84f809fee0df1c5592fb967f60f1b3d9c4003d83 /src/server/shared/DataStores
parentd0b91f69279a823be159590c09945bc426f50d3e (diff)
UnitTests: |Hspell and |Htalent unit testing
Diffstat (limited to 'src/server/shared/DataStores')
-rw-r--r--src/server/shared/DataStores/DBCStructure.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/shared/DataStores/DBCStructure.h b/src/server/shared/DataStores/DBCStructure.h
index 753067043b6..56ea11415fb 100644
--- a/src/server/shared/DataStores/DBCStructure.h
+++ b/src/server/shared/DataStores/DBCStructure.h
@@ -1663,15 +1663,15 @@ struct TalentEntry
uint32 TabID; // 1 index in TalentTab.dbc (TalentTabEntry)
uint32 TierID; // 2
uint32 ColumnIndex; // 3
- uint32 SpellRank[MAX_TALENT_RANK]; // 4-8
- //uint32 SpellRankUnused[4]; // 9-12
+ std::array<uint32, MAX_TALENT_RANK> SpellRank; // 4-8
+ //std::array<uint32, 4> SpellRankUnused; // 9-12
uint32 PrereqTalent; // 13 index in Talent.dbc (TalentEntry)
- //uint32 PrereqTalentUnused[2]; // 14-15
+ //std::array<uint32, 2> PrereqTalentUnused; // 14-15
uint32 PrereqRank; // 16
- //uint32 PrereqRankUnused[2]; // 17-18
+ //std::array<uint32, 2> PrereqRankUnused; // 17-18
//uint32 Flags; // 19
//uint32 RequiredSpellID; // 20 all 0
- //uint32 CategoryMask[2]; // 21 its a 64 bit mask for pet 1<<CategoryEnumID in CreatureFamily.dbc
+ //std::array<uint32, 2> CategoryMask; // 21 its a 64 bit mask for pet 1<<CategoryEnumID in CreatureFamily.dbc
};
struct TalentTabEntry