TrinityCore / WowPacketParser

World of Warcraft Packet Parser
GNU General Public License v3.0
427 stars 354 forks source link

Rework DBFieldName and DBTableName Attributes for version checks #726

Closed funjoker closed 1 year ago

funjoker commented 1 year ago

Change behavior to check TargetedDatabase. Since classic we had problems to clearly define which fields are used in which DB.

Intead of ranges (which was okay as long blizzard only moved forward) we now set flags for the supported database version. Tho it's still a lot of manual work for classic, because we have to add the AnyClassic/Classic/WotlkClassic flag to any field which has retail flags set (if they are valid for Classic too).

I also added CreatureTemplate parsing for 3.4.0 as example and to test