SMSG_PETITION_QUERY_RESPONSE

Client Version 1.12

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/queries/smsg_petition_query_response.wowm:1.

smsg SMSG_PETITION_QUERY_RESPONSE = 0x01C7 {
    u32 petition_id;
    Guid charter_owner;
    CString guild_name;
    CString body_text;
    u32 unknown_flags;
    u32 minimum_signatures;
    u32 maximum_signatures;
    u32 deadline;
    u32 issue_date;
    u32 allowed_guild_id;
    AllowedClass allowed_class;
    AllowedRace allowed_race;
    u16 allowed_genders;
    Level32 allowed_minimum_level;
    Level32 allowed_maximum_level;
    u32 todo_amount_of_signers;
    u32 number_of_choices;
}

SMSG have a header of 4 bytes.

SMSG Header

OffsetSize / EndiannessTypeNameDescription
0x002 / Biguint16sizeSize of the rest of the message including the opcode field but not including the size field.
0x022 / Littleuint16opcodeOpcode that determines which fields the message contains.

Body

OffsetSize / EndiannessTypeNameComment
0x044 / Littleu32petition_id
0x088 / LittleGuidcharter_owner
0x10- / -CStringguild_name
-- / -CStringbody_textcmangos/vmangos/mangoszero: Set to 0, only info is comment from vmangos
-4 / Littleu32unknown_flagscmangos/vmangos/mangoszero: Set to 1, only info is comment from vmangos
-4 / Littleu32minimum_signaturescmangos/vmangos/mangoszero: Set to 9, only info is comment from vmangos
-4 / Littleu32maximum_signaturescmangos/vmangos/mangoszero: Set to 9, only info is comment from vmangos
-4 / Littleu32deadlinecmangos/vmangos/mangoszero: Set to 0, only info is comment from vmangos
-4 / Littleu32issue_datecmangos/vmangos/mangoszero: Set to 0, only info is comment from vmangos
-4 / Littleu32allowed_guild_idcmangos/vmangos/mangoszero: Set to 0, only info is comment from vmangos
-4 / -AllowedClassallowed_classcmangos/vmangos/mangoszero: Set to 0, only info is comment from vmangos
-4 / -AllowedRaceallowed_racecmangos/vmangos/mangoszero: Set to 0, only info is comment from vmangos
-2 / Littleu16allowed_genderscmangos/vmangos/mangoszero: Set to 0, only info is comment from vmangos
-4 / LittleLevel32allowed_minimum_levelcmangos/vmangos/mangoszero: Set to 0, only info is comment from vmangos
-4 / LittleLevel32allowed_maximum_levelcmangos/vmangos/mangoszero: Set to 0, only info is comment from vmangos
-4 / Littleu32todo_amount_of_signerscmangos/vmangos/mangoszero: Set to 0, only info is comment from vmangos
vmangos: char m_choicetext1064
-4 / Littleu32number_of_choicescmangos/vmangos/mangoszero: Set to 0, only info is comment from vmangos

Client Version 2.4.3

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/queries/smsg_petition_query_response.wowm:46.

smsg SMSG_PETITION_QUERY_RESPONSE = 0x01C7 {
    u32 petition_id;
    Guid charter_owner;
    CString guild_name;
    CString body_text;
    u32 minimum_signatures;
    u32 maximum_signatures;
    u32 unknown1;
    u32 unknown2;
    u32 unknown3;
    u32 unknown4;
    u32 unknown5;
    u16 unknown6;
    u32 unknown7;
    u32 unknown8;
    u32 unknown9;
    u32 unknown10;
    (u32)CharterType charter_type;
}

Header

SMSG have a header of 4 bytes.

SMSG Header

OffsetSize / EndiannessTypeNameDescription
0x002 / Biguint16sizeSize of the rest of the message including the opcode field but not including the size field.
0x022 / Littleuint16opcodeOpcode that determines which fields the message contains.

Body

OffsetSize / EndiannessTypeNameComment
0x044 / Littleu32petition_id
0x088 / LittleGuidcharter_owner
0x10- / -CStringguild_name
-- / -CStringbody_textcmangos/vmangos/mangoszero: Set to 0, only info is comment from vmangos
-4 / Littleu32minimum_signaturescmangos/vmangos/mangoszero: Set to 9, only info is comment from vmangos
-4 / Littleu32maximum_signaturescmangos/vmangos/mangoszero: Set to 9, only info is comment from vmangos
-4 / Littleu32unknown1mangosone: bypass client - side limitation, a different value is needed here for each petition
-4 / Littleu32unknown2
-4 / Littleu32unknown3
-4 / Littleu32unknown4
-4 / Littleu32unknown5
-2 / Littleu16unknown6
-4 / Littleu32unknown7
-4 / Littleu32unknown8
-4 / Littleu32unknown9
-4 / Littleu32unknown10
-4 / -CharterTypecharter_type

Client Version 3.3.5

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/queries/smsg_petition_query_response.wowm:72.

smsg SMSG_PETITION_QUERY_RESPONSE = 0x01C7 {
    u32 petition_id;
    Guid charter_owner;
    CString guild_name;
    CString body_text;
    u32 minimum_signatures;
    u32 maximum_signatures;
    u32 unknown1;
    u32 unknown2;
    u32 unknown3;
    u32 unknown4;
    u32 unknown5;
    u16 unknown6;
    u32 unknown7;
    u32 unknown8;
    u32 unknown9;
    u8[10] unknown10;
    u32 unknown11;
    (u32)CharterType charter_type;
}

Header

SMSG have a header of 4 bytes.

SMSG Header

OffsetSize / EndiannessTypeNameDescription
0x002 OR 3 / Biguint16 OR uint16+uint8sizeSize of the rest of the message including the opcode field but not including the size field. Wrath server messages can be 3 bytes. If the first (most significant) size byte has 0x80 set, the header will be 3 bytes, otherwise it is 2.
-2 / Littleuint16opcodeOpcode that determines which fields the message contains.

Body

OffsetSize / EndiannessTypeNameComment
-4 / Littleu32petition_id
-8 / LittleGuidcharter_owner
-- / -CStringguild_name
-- / -CStringbody_textcmangos/vmangos/mangoszero: Set to 0, only info is comment from vmangos
-4 / Littleu32minimum_signaturescmangos/vmangos/mangoszero: Set to 9, only info is comment from vmangos
-4 / Littleu32maximum_signaturescmangos/vmangos/mangoszero: Set to 9, only info is comment from vmangos
-4 / Littleu32unknown1mangosone: bypass client - side limitation, a different value is needed here for each petition
-4 / Littleu32unknown2
-4 / Littleu32unknown3
-4 / Littleu32unknown4
-4 / Littleu32unknown5
-2 / Littleu16unknown6
-4 / Littleu32unknown7
-4 / Littleu32unknown8
-4 / Littleu32unknown9
-10 / -u8[10]unknown10
-4 / Littleu32unknown11
-4 / -CharterTypecharter_type