TrainerSpell
Client Version 1.12
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/spell/smsg_trainer_list.wowm:9
.
struct TrainerSpell {
Spell spell;
TrainerSpellState state;
u32 spell_cost;
u32 talent_point_cost;
u32 first_rank;
u8 required_level;
(u32)Skill required_skill;
u32 required_skill_value;
u32[3] required_spells;
}
Body
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x00 | 4 / Little | Spell | spell | cmangos: learned spell (or cast-spell in profession case) |
0x04 | 1 / - | TrainerSpellState | state | |
0x05 | 4 / Little | u32 | spell_cost | |
0x09 | 4 / Little | u32 | talent_point_cost | cmangos: spells don't cost talent points cmangos: set to 0 |
0x0D | 4 / Little | u32 | first_rank | cmangos: must be equal prev. field to have learn button in enabled state cmangos: 1 for true 0 for false |
0x11 | 1 / - | u8 | required_level | |
0x12 | 4 / - | Skill | required_skill | |
0x16 | 4 / Little | u32 | required_skill_value | |
0x1A | 12 / - | u32[3] | required_spells |
Used in:
Client Version 2.4.3
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/spell/smsg_trainer_list.wowm:9
.
struct TrainerSpell {
Spell spell;
TrainerSpellState state;
u32 spell_cost;
u32 talent_point_cost;
u32 first_rank;
u8 required_level;
(u32)Skill required_skill;
u32 required_skill_value;
u32[3] required_spells;
}
Body
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x00 | 4 / Little | Spell | spell | cmangos: learned spell (or cast-spell in profession case) |
0x04 | 1 / - | TrainerSpellState | state | |
0x05 | 4 / Little | u32 | spell_cost | |
0x09 | 4 / Little | u32 | talent_point_cost | cmangos: spells don't cost talent points cmangos: set to 0 |
0x0D | 4 / Little | u32 | first_rank | cmangos: must be equal prev. field to have learn button in enabled state cmangos: 1 for true 0 for false |
0x11 | 1 / - | u8 | required_level | |
0x12 | 4 / - | Skill | required_skill | |
0x16 | 4 / Little | u32 | required_skill_value | |
0x1A | 12 / - | u32[3] | required_spells |
Used in:
Client Version 3.3.5
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/spell/smsg_trainer_list.wowm:9
.
struct TrainerSpell {
Spell spell;
TrainerSpellState state;
u32 spell_cost;
u32 talent_point_cost;
u32 first_rank;
u8 required_level;
(u32)Skill required_skill;
u32 required_skill_value;
u32[3] required_spells;
}
Body
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x00 | 4 / Little | Spell | spell | cmangos: learned spell (or cast-spell in profession case) |
0x04 | 1 / - | TrainerSpellState | state | |
0x05 | 4 / Little | u32 | spell_cost | |
0x09 | 4 / Little | u32 | talent_point_cost | cmangos: spells don't cost talent points cmangos: set to 0 |
0x0D | 4 / Little | u32 | first_rank | cmangos: must be equal prev. field to have learn button in enabled state cmangos: 1 for true 0 for false |
0x11 | 1 / - | u8 | required_level | |
0x12 | 4 / - | Skill | required_skill | |
0x16 | 4 / Little | u32 | required_skill_value | |
0x1A | 12 / - | u32[3] | required_spells |
Used in: