DB/ChrRaces: Difference between revisions
Jump to navigation
Jump to search
m (Added Category WotLK) |
(add full and correct info for 6.0.1.18179) |
||
Line 55: | Line 55: | ||
| cata || unalteredVisualRaceID || Integer || | | cata || unalteredVisualRaceID || Integer || | ||
|} | |} | ||
==6.0.1.18179== | |||
struct ChrRacesRec { | |||
int m_ID; | |||
int m_flags; | |||
int m_factionID; | |||
int m_ExplorationSoundID; | |||
int m_MaleDisplayId; | |||
int m_FemaleDisplayId; | |||
stringref m_ClientPrefix; | |||
int m_BaseLanguage; | |||
int m_creatureType; | |||
int m_ResSicknessSpellID; | |||
int m_SplashSoundID; | |||
stringref m_clientFileString; | |||
int m_cinematicSequenceID; | |||
int m_alliance; | |||
stringref m_name_lang; | |||
stringref m_name_female_lang; | |||
stringref m_name_male_lang; | |||
stringref m_facialHairCustomization[2]; | |||
stringref m_hairCustomization; | |||
int m_race_related; | |||
int m_unalteredVisualRaceID; | |||
int m_uaMaleCreatureSoundDataID; | |||
int m_uaFemaleCreatureSoundDataID; | |||
int m_charComponentTextureLayoutID; | |||
int m_defaultClassID; | |||
int m_createScreenFileDataID; | |||
int m_selectScreenFileDataID; | |||
float m_maleCustomizeOffset[3]; | |||
float m_femaleCustomizeOffset[3]; | |||
int m_neutralRaceID; | |||
int m_lowResScreenFileDataID; | |||
int m_HighResMaleDisplayId; | |||
int m_HighResFemaleDisplayId; | |||
int m_charComponentTexLayoutHiResID; | |||
}; | |||
===Flags=== | ===Flags=== | ||
{| style="background:#FCFCFC; color:black" | {| style="background:#FCFCFC; color:black" |
Revision as of 02:52, 11 July 2014
Information about character creation and selection screens.
Structure
Column | Field | Type | Notes |
---|---|---|---|
1 | ID | Integer | |
2 | Flags | Integer | See Below |
3 | FactionID | iRefID | facton template id. The order in the creation screen depends on this. |
4 | Exploration | iRefID | Played on exploring zones with SMSG_EXPLORATION_EXPERIENCE. |
5 | MaleModel | iRefID | only used for the char creation/selection screen. Ingame the server sets the model. |
6 | FemaleModel | iRefID | only used for the char creation/selection screen. Ingame the server sets the model. |
7 | ClientPrefix | String | A short form of the name. Used for helmet models. |
8 | Unknown | Float | This is 1.0 for the most. Maybe some sort of size or speed. -- removed in cata? |
9 | BaseLanguage | Integer | 1 = Horde, 7 = Alliance & not playable |
10 | creatureType | iRefID | Always 7 (humanoid). |
11 | ResSicknessSpellID | Integer | Always 15007. |
12 | SplashSoundID | Integer | 1090 for dwarfs, 1096 for the others. Getting stored in CGUnit at CGUnit::PostInit. |
13 | clientFileString | String | Same as the one used in model-filepathes. |
14 | cinematicSequenceID | iRefID | Used for the opening cinematic. |
cata | alliance | Integer | |
15-31 | RaceNameNeutral | Loc | A name to display. |
32-48 | RaceNameFemale | Loc | always is NULL for zhCN. |
49-65 | RaceNameMale | Loc | always is NULL for zhCN. |
66 | facialHairCustomization | String | Internal names for the facial features. |
67 | facialHairCustomization | String | The localized ones are in luas. |
68 | hairCustomization | String | |
69 | required_expansion | Integer | 0 for classic and non-playables, 1 for Burning Crusade |
cata | unalteredVisualRaceID | Integer |
6.0.1.18179
struct ChrRacesRec { int m_ID; int m_flags; int m_factionID; int m_ExplorationSoundID; int m_MaleDisplayId; int m_FemaleDisplayId; stringref m_ClientPrefix; int m_BaseLanguage; int m_creatureType; int m_ResSicknessSpellID; int m_SplashSoundID; stringref m_clientFileString; int m_cinematicSequenceID; int m_alliance; stringref m_name_lang; stringref m_name_female_lang; stringref m_name_male_lang; stringref m_facialHairCustomization[2]; stringref m_hairCustomization; int m_race_related; int m_unalteredVisualRaceID; int m_uaMaleCreatureSoundDataID; int m_uaFemaleCreatureSoundDataID; int m_charComponentTextureLayoutID; int m_defaultClassID; int m_createScreenFileDataID; int m_selectScreenFileDataID; float m_maleCustomizeOffset[3]; float m_femaleCustomizeOffset[3]; int m_neutralRaceID; int m_lowResScreenFileDataID; int m_HighResMaleDisplayId; int m_HighResFemaleDisplayId; int m_charComponentTexLayoutHiResID; };
Flags
Flag | Description |
---|---|
0x1 | Not Playable |
0x2 | Bare Feet |
0x4 | CGUnit_C::CanCurrentFormMount ( return ( flags ^ 4 ) & 4; ), also: CMD.flags & 0x80. |
0x8 | Playable Races(without NightElf) and Vrykul(?) |