-
Notifications
You must be signed in to change notification settings - Fork 7
Aliases and Constants
darvid edited this page Dec 30, 2012
·
2 revisions
Note that only model names or aliases of models can be used as key names for model mappings when writing schema for Trine.
Table Name | Model Name | Alias(es) |
---|---|---|
item_template |
ItemTemplate |
item |
creature_template |
CreatureTemplate |
npc |
Column Name(s) | Constants |
---|---|
AllowableClass |
WARRIOR , PALADIN , HUNTER , ROGUE , PRIEST , DEATH_KNIGHT , DK , SHAMAN , MAGE , WARLOCK , DRUID , ALL
|
AllowableRace , race
|
HUMAN , ORC , DWARF , NIGHT_ELF , UNDEAD , TAUREN , GNOME , TROLL , GOBLIN , BLOOD_ELF , DRAENEI , FEL_ORC , NAGA , BROKEN , SKELETON , VRYKUL , TUSKARR , FOREST_TROLL , TAUNKA , NORTHREND_SKELETON , ICE_TROLL , ALL , PLAYABLE , ALLIANCE , HORDE
|
faction_H |
Trine has every single faction name from FactionTemplate.dbc converted to a named constant. Spaces in names are replaced with underscores, non-alphanumeric characters are removed, and any duplicate names are numbered sequentially with an appended number (e.g. CREATURE , CREATURE1 , CREATURE2 , etc.). Commonly used factions are: FRIENDLY , ALLIANCE , HORDE , CREATURE |
faction_A |
See faction_H above. |
InventoryType |
NON_EQUIPABLE , HEAD , NECK , SHOULDERS , SHIRT , CHEST , WAIST , LEGS , FEET , WRISTS , HANDS , FINGER , TRINKET , WEAPON , SHIELD , RANGED_WEAPON , RANGED , BACK , TWO_HAND_WEAPON , TWO_HAND , BAG , TABARD , ROBE , MAIN_HAND_WEAPON , MAIN_HAND , OFF_HAND_WEAPON , OFF_HAND , HOLDABLE , AMMO , THROWN , RANGED_RIGHT , QUIVER , RELIC
|
Security problem ?