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

OffsetSize / EndiannessTypeNameComment
0x004 / LittleSpellspellcmangos: learned spell (or cast-spell in profession case)
0x041 / -TrainerSpellStatestate
0x054 / Littleu32spell_cost
0x094 / Littleu32talent_point_costcmangos: spells don't cost talent points
cmangos: set to 0
0x0D4 / Littleu32first_rankcmangos: must be equal prev. field to have learn button in enabled state
cmangos: 1 for true 0 for false
0x111 / -u8required_level
0x124 / -Skillrequired_skill
0x164 / Littleu32required_skill_value
0x1A12 / -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

OffsetSize / EndiannessTypeNameComment
0x004 / LittleSpellspellcmangos: learned spell (or cast-spell in profession case)
0x041 / -TrainerSpellStatestate
0x054 / Littleu32spell_cost
0x094 / Littleu32talent_point_costcmangos: spells don't cost talent points
cmangos: set to 0
0x0D4 / Littleu32first_rankcmangos: must be equal prev. field to have learn button in enabled state
cmangos: 1 for true 0 for false
0x111 / -u8required_level
0x124 / -Skillrequired_skill
0x164 / Littleu32required_skill_value
0x1A12 / -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

OffsetSize / EndiannessTypeNameComment
0x004 / LittleSpellspellcmangos: learned spell (or cast-spell in profession case)
0x041 / -TrainerSpellStatestate
0x054 / Littleu32spell_cost
0x094 / Littleu32talent_point_costcmangos: spells don't cost talent points
cmangos: set to 0
0x0D4 / Littleu32first_rankcmangos: must be equal prev. field to have learn button in enabled state
cmangos: 1 for true 0 for false
0x111 / -u8required_level
0x124 / -Skillrequired_skill
0x164 / Littleu32required_skill_value
0x1A12 / -u32[3]required_spells

Used in: