TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
DBCfmt.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
3  * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License as published by the
7  * Free Software Foundation; either version 2 of the License, or (at your
8  * option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13  * more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 #ifndef TRINITY_DBCSFRM_H
20 #define TRINITY_DBCSFRM_H
21 
22 // x - skip<uint32>, X - skip<uint8>, s - char*, f - float, i - uint32, b - uint8, d - index (not included)
23 // n - index (included), l - uint64, p - field present in sql dbc, a - field absent in sql dbc
24 
25 char const AnimKitfmt[] = "nxxx";
26 char const AreaTablefmt[] = "niiiiixxxxxxisiiiiixxxxxxxxxx";
27 char const AreaTriggerfmt[] = "nifffxxxfffffxxxx";
28 char const ArmorLocationfmt[] = "nfffff";
29 char const BankBagSlotPricesfmt[] = "ni";
30 char const BannedAddOnsfmt[] = "nxxxxxxxxxx";
31 char const BattlemasterListfmt[] = "niiiiiiiiiiiiiiiiixsiiiixxxxxxx";
32 char const CharSectionsfmt[] = "diiixxxiii";
33 char const CharTitlesfmt[] = "nxssix";
34 char const ChatChannelsfmt[] = "nixsx";
35 char const ChrClassesfmt[] = "nixsxxxixiiiiixxxxx";
36 char const ChrRacesfmt[] = "niixiixxxxxxiisxxxxxxxxxxxxxxxxxxxxxxxxx";
37 char const ChrSpecializationfmt[] = "nxiiiiiiiiixxxii";
38 char const CreatureDisplayInfoExtrafmt[] = "dixxxxxxxxxxxxxxxxxxxx";
39 char const CreatureFamilyfmt[] = "nfifiiiiixsx";
40 char const CreatureModelDatafmt[] = "niixxxxxxxxxxxxffxxxxxxxxxxxxxxxxx";
41 char const DifficultyFmt[] = "niiiixiixxxxix";
42 char const DungeonEncounterfmt[] = "niiixsxxx";
43 char const DurabilityCostsfmt[] = "niiiiiiiiiiiiiiiiiiiiiiiiiiiii";
44 char const Emotesfmt[] = "nxxiiixx";
45 char const EmotesTextfmt[] = "nxixxxxxxxxxxxxxxxx";
46 char const EmotesTextSoundEntryfmt[] = "niiii";
47 char const Factionfmt[] = "niiiiiiiiiiiiiiiiiiffixsxixx";
48 char const FactionTemplatefmt[] = "niiiiiiiiiiiii";
49 char const GameObjectDisplayInfofmt[] = "nixxxxxxxxxxffffffxxx";
50 char const GemPropertiesfmt[] = "nixxii";
51 char const GlyphPropertiesfmt[] = "niiix";
52 char const GtBarberShopCostBasefmt[] = "xf";
53 char const GtCombatRatingsfmt[] = "xf";
54 char const GtOCTHpPerStaminafmt[] = "df";
55 char const GtOCTLevelExperiencefmt[] = "xf";
56 char const GtChanceToMeleeCritBasefmt[] = "xf";
57 char const GtChanceToMeleeCritfmt[] = "xf";
58 char const GtChanceToSpellCritBasefmt[] = "xf";
59 char const GtChanceToSpellCritfmt[] = "xf";
60 char const GtItemSocketCostPerLevelfmt[] = "xf";
61 char const GtNPCManaCostScalerfmt[] = "xf";
62 char const GtNpcTotalHpfmt[] = "xf";
63 char const GtNpcTotalHpExp1fmt[] = "xf";
64 char const GtNpcTotalHpExp2fmt[] = "xf";
65 char const GtNpcTotalHpExp3fmt[] = "xf";
66 char const GtNpcTotalHpExp4fmt[] = "xf";
67 char const GtNpcTotalHpExp5fmt[] = "xf";
68 char const GtRegenMPPerSptfmt[] = "xf";
69 char const GtSpellScalingfmt[] = "df";
70 char const GtOCTBaseHPByClassfmt[] = "df";
71 char const GtOCTBaseMPByClassfmt[] = "df";
72 char const GuildColorBackgroundfmt[] = "nXXX";
73 char const GuildColorBorderfmt[] = "nXXX";
74 char const GuildColorEmblemfmt[] = "nXXX";
75 char const ItemBagFamilyfmt[] = "nx";
76 char const ItemArmorQualityfmt[] = "nfffffffi";
77 char const ItemArmorShieldfmt[] = "nifffffff";
78 char const ItemArmorTotalfmt[] = "niffff";
79 char const ItemDamagefmt[] = "nfffffffi";
80 char const ItemSetfmt[] = "nsiiiiiiiiiiiiiiiiiii";
81 char const ItemSetSpellfmt[] = "niiii";
82 char const LFGDungeonfmt[] = "nsiiixxiiiixxixixxxxxxxxxxxxxx";
83 char const Lightfmt[] = "nifffxxxxxxxxxx";
84 char const LiquidTypefmt[] = "nxxixixxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
85 char const Lockfmt[] = "niiiiiiiiiiiiiiiiiiiiiiiixxxxxxxx";
86 char const Mapfmt[] = "nxiixxsixxixiffxiiiiix";
87 char const MapDifficultyfmt[] = "diisiiii";
88 char const MinorTalentfmt[] = "niii";
89 char const Moviefmt[] = "nxxxx";
90 char const Phasefmt[] = "ni";
91 char const QuestFactionRewardfmt[] = "niiiiiiiiii";
92 char const PowerDisplayfmt[] = "nixXXX";
93 char const PvpDifficultyfmt[] = "diiii";
94 char const RandPropPointsfmt[] = "niiiiiiiiiiiiiii";
95 char const SkillLinefmt[] = "nisxixixx";
96 char const SkillLineAbilityfmt[] = "niiiiiiiiiiii";
97 char const SkillRaceClassInfofmt[] = "diiiiiii";
98 char const SpellCategoriesfmt[] = "diiiiiiiii";
99 char const SpellCategoryfmt[] = "nixxii";
100 char const SpellEffectfmt[] = "niifiiiffiiiiiifiifiiiiifiiiiif";
101 const std::string CustomSpellEffectfmt = "ppppppppppppppappppppppppp";
102 const std::string CustomSpellEffectEntryIndex = "Id";
103 char const Spellfmt[] = "nsxxxiiiiiiiiiiiiiiiiiii";
104 const std::string CustomSpellfmt = "ppppppppppppppapaaaaaaaaapaaaaaapapppaapppaaapa";
105 const std::string CustomSpellEntryIndex = "Id";
106 char const SpellEffectScalingfmt[] = "nfffi";
107 char const SpellFocusObjectfmt[] = "nx";
108 char const SpellItemEnchantmentfmt[] = "niiiiiiiiiixiiiiiiiiiiifff";
109 char const SpellScalingfmt[] = "niiiifiii";
110 char const SpellTargetRestrictionsfmt[] = "niiffiiii";
111 char const SpellInterruptsfmt[] = "diiiiiii";
112 char const SpellEquippedItemsfmt[] = "diiiii";
113 char const SpellAuraOptionsfmt[] = "niiiiiiii";
114 char const SpellCooldownsfmt[] = "diiiii";
115 char const SpellLevelsfmt[] = "diiiii";
116 char const SpellShapeshiftfmt[] = "niiiix";
117 char const SpellShapeshiftFormfmt[] = "nxxiixiiiiiiiiiiiiixx";
118 char const SummonPropertiesfmt[] = "niiiii";
119 char const Talentfmt[] = "niiiiiiiiix";
120 char const Vehiclefmt[] = "niiffffiiiiiiiifffffffffffffffxxxxfifiiii";
121 char const VehicleSeatfmt[] = "niiffffffffffiiiiiifffffffiiifffiiiiiiiffiiiiffffffffffffiiiiiiiii";
122 char const WMOAreaTablefmt[] = "niiixxxxxiixxxx";
123 char const WorldMapAreafmt[] = "xinxffffixxxxx";
124 char const WorldMapTransformsfmt[] = "diffffffiffxxxf";
125 char const WorldSafeLocsfmt[] = "niffffx";
126 
127 #endif
char const SpellCategoryfmt[]
Definition: DBCfmt.h:99
char const Mapfmt[]
Definition: DBCfmt.h:86
char const GtChanceToMeleeCritfmt[]
Definition: DBCfmt.h:57
char const GtNpcTotalHpExp5fmt[]
Definition: DBCfmt.h:67
char const WorldMapAreafmt[]
Definition: DBCfmt.h:123
char const GtNpcTotalHpExp3fmt[]
Definition: DBCfmt.h:65
char const PowerDisplayfmt[]
Definition: DBCfmt.h:92
char const DungeonEncounterfmt[]
Definition: DBCfmt.h:42
char const GtOCTLevelExperiencefmt[]
Definition: DBCfmt.h:55
char const WMOAreaTablefmt[]
Definition: DBCfmt.h:122
char const SpellShapeshiftfmt[]
Definition: DBCfmt.h:116
char const WorldSafeLocsfmt[]
Definition: DBCfmt.h:125
char const LFGDungeonfmt[]
Definition: DBCfmt.h:82
char const SpellCooldownsfmt[]
Definition: DBCfmt.h:114
char const EmotesTextSoundEntryfmt[]
Definition: DBCfmt.h:46
char const VehicleSeatfmt[]
Definition: DBCfmt.h:121
char const ItemArmorShieldfmt[]
Definition: DBCfmt.h:77
char const GtOCTBaseHPByClassfmt[]
Definition: DBCfmt.h:70
char const DifficultyFmt[]
Definition: DBCfmt.h:41
char const PvpDifficultyfmt[]
Definition: DBCfmt.h:93
char const ChatChannelsfmt[]
Definition: DBCfmt.h:34
char const CreatureDisplayInfoExtrafmt[]
Definition: DBCfmt.h:38
char const GtCombatRatingsfmt[]
Definition: DBCfmt.h:53
char const SkillRaceClassInfofmt[]
Definition: DBCfmt.h:97
char const Lockfmt[]
Definition: DBCfmt.h:85
char const Lightfmt[]
Definition: DBCfmt.h:83
char const GemPropertiesfmt[]
Definition: DBCfmt.h:50
char const SpellLevelsfmt[]
Definition: DBCfmt.h:115
char const Factionfmt[]
Definition: DBCfmt.h:47
char const SpellEquippedItemsfmt[]
Definition: DBCfmt.h:112
char const AreaTablefmt[]
Definition: DBCfmt.h:26
char const GtNpcTotalHpExp1fmt[]
Definition: DBCfmt.h:63
char const ItemBagFamilyfmt[]
Definition: DBCfmt.h:75
char const AreaTriggerfmt[]
Definition: DBCfmt.h:27
char const SpellEffectScalingfmt[]
Definition: DBCfmt.h:106
char const ChrSpecializationfmt[]
Definition: DBCfmt.h:37
char const Emotesfmt[]
Definition: DBCfmt.h:44
char const GameObjectDisplayInfofmt[]
Definition: DBCfmt.h:49
char const GtItemSocketCostPerLevelfmt[]
Definition: DBCfmt.h:60
const std::string CustomSpellEntryIndex
Definition: DBCfmt.h:105
char const BannedAddOnsfmt[]
Definition: DBCfmt.h:30
char const Vehiclefmt[]
Definition: DBCfmt.h:120
char const RandPropPointsfmt[]
Definition: DBCfmt.h:94
char const MinorTalentfmt[]
Definition: DBCfmt.h:88
char const GuildColorEmblemfmt[]
Definition: DBCfmt.h:74
char const GtChanceToSpellCritfmt[]
Definition: DBCfmt.h:59
char const SpellScalingfmt[]
Definition: DBCfmt.h:109
char const GuildColorBorderfmt[]
Definition: DBCfmt.h:73
char const ItemSetfmt[]
Definition: DBCfmt.h:80
char const SpellShapeshiftFormfmt[]
Definition: DBCfmt.h:117
char const ItemArmorTotalfmt[]
Definition: DBCfmt.h:78
char const ItemDamagefmt[]
Definition: DBCfmt.h:79
char const CharSectionsfmt[]
Definition: DBCfmt.h:32
char const GtNPCManaCostScalerfmt[]
Definition: DBCfmt.h:61
char const GtOCTHpPerStaminafmt[]
Definition: DBCfmt.h:54
char const ChrRacesfmt[]
Definition: DBCfmt.h:36
char const Phasefmt[]
Definition: DBCfmt.h:90
char const GtBarberShopCostBasefmt[]
Definition: DBCfmt.h:52
char const ChrClassesfmt[]
Definition: DBCfmt.h:35
char const GtChanceToSpellCritBasefmt[]
Definition: DBCfmt.h:58
char const CreatureModelDatafmt[]
Definition: DBCfmt.h:40
char const SkillLinefmt[]
Definition: DBCfmt.h:95
const std::string CustomSpellEffectEntryIndex
Definition: DBCfmt.h:102
char const WorldMapTransformsfmt[]
Definition: DBCfmt.h:124
char const DurabilityCostsfmt[]
Definition: DBCfmt.h:43
char const Moviefmt[]
Definition: DBCfmt.h:89
char const GtNpcTotalHpExp2fmt[]
Definition: DBCfmt.h:64
char const ArmorLocationfmt[]
Definition: DBCfmt.h:28
char const GtRegenMPPerSptfmt[]
Definition: DBCfmt.h:68
char const CharTitlesfmt[]
Definition: DBCfmt.h:33
const std::string CustomSpellEffectfmt
Definition: DBCfmt.h:101
char const SummonPropertiesfmt[]
Definition: DBCfmt.h:118
char const SpellCategoriesfmt[]
Definition: DBCfmt.h:98
char const GuildColorBackgroundfmt[]
Definition: DBCfmt.h:72
char const BankBagSlotPricesfmt[]
Definition: DBCfmt.h:29
char const GtNpcTotalHpfmt[]
Definition: DBCfmt.h:62
char const GtOCTBaseMPByClassfmt[]
Definition: DBCfmt.h:71
char const GtNpcTotalHpExp4fmt[]
Definition: DBCfmt.h:66
char const SpellFocusObjectfmt[]
Definition: DBCfmt.h:107
char const Spellfmt[]
Definition: DBCfmt.h:103
char const ItemSetSpellfmt[]
Definition: DBCfmt.h:81
char const SpellInterruptsfmt[]
Definition: DBCfmt.h:111
char const AnimKitfmt[]
Definition: DBCfmt.h:25
char const MapDifficultyfmt[]
Definition: DBCfmt.h:87
char const SpellAuraOptionsfmt[]
Definition: DBCfmt.h:113
char const SkillLineAbilityfmt[]
Definition: DBCfmt.h:96
char const CreatureFamilyfmt[]
Definition: DBCfmt.h:39
char const SpellTargetRestrictionsfmt[]
Definition: DBCfmt.h:110
char const ItemArmorQualityfmt[]
Definition: DBCfmt.h:76
char const GlyphPropertiesfmt[]
Definition: DBCfmt.h:51
char const BattlemasterListfmt[]
Definition: DBCfmt.h:31
char const FactionTemplatefmt[]
Definition: DBCfmt.h:48
char const LiquidTypefmt[]
Definition: DBCfmt.h:84
char const SpellEffectfmt[]
Definition: DBCfmt.h:100
char const SpellItemEnchantmentfmt[]
Definition: DBCfmt.h:108
char const GtSpellScalingfmt[]
Definition: DBCfmt.h:69
char const EmotesTextfmt[]
Definition: DBCfmt.h:45
char const QuestFactionRewardfmt[]
Definition: DBCfmt.h:91
char const Talentfmt[]
Definition: DBCfmt.h:119
char const GtChanceToMeleeCritBasefmt[]
Definition: DBCfmt.h:56
const std::string CustomSpellfmt
Definition: DBCfmt.h:104