Difference between revisions of "Packet Template"
From SWGANH Wiki
(→Struct) |
(→Struct) |
||
Line 11: | Line 11: | ||
===Struct=== | ===Struct=== | ||
---- | ---- | ||
− | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | |{{bool}}||'''bool''' (1byte) | + | |{{bool}}||bool||'''bool''' (1byte, 0:false, other value:true) |
|- | |- | ||
− | |{{sbyte}}||'''sbyte''' (1byte, signed) | + | |{{sbyte}}||sbyte||'''sbyte''' (1byte, signed) |
|- | |- | ||
− | |{{byte}}||'''byte''' (1byte, unsigned) | + | |{{byte}}||byte||'''byte''' (1byte, unsigned) |
|- | |- | ||
− | |{{short}}||'''short''' (2bytes, signed) | + | |{{short}}||short||'''short''' (2bytes, signed) |
|- | |- | ||
− | |{{ushort}}||'''ushort''' (2bytes, unsigned) | + | |{{ushort}}||ushort||'''ushort''' (2bytes, unsigned) |
|- | |- | ||
− | |{{int}}||'''int''' (4bytes, signed) | + | |{{int}}||int||'''int''' (4bytes, signed) |
|- | |- | ||
− | |{{uint}}||'''uint''' (4bytes, unsigned) | + | |{{uint}}||uint||'''uint''' (4bytes, unsigned) |
|- | |- | ||
− | |{{float}}||'''float''' (4bytes, signed) | + | |{{float}}||float||'''float''' (4bytes, signed) |
|- | |- | ||
− | |{{long}}||'''long''' (8bytes, signed) | + | |{{long}}||long||'''long''' (8bytes, signed) |
|- | |- | ||
− | |{{ulong}}||'''ulong''' (8bytes, unsigned) | + | |{{ulong}}||ulong||'''ulong''' (8bytes, unsigned) |
|- | |- | ||
− | |{{double}}||'''double''' (8bytes, signed) | + | |{{double}}||double||'''double''' (8bytes, signed) |
|- | |- | ||
− | |{{a_string}}||'''ANSI/ASCII String''' (each char: 1byte) | + | |{{a_string}}||a_string||'''ANSI/ASCII String''' (each char: 1byte, ASCII:leading0+7bits, ANSI:8bits) |
|- | |- | ||
− | |{{u_string}}||'''Unicode String''' (each char: 2bytes) | + | |{{u_string}}||u_string||'''Unicode String''' (each char: 2bytes) |
|- | |- | ||
− | |{{c_string}}||'''Customization String''' (each char: 2bytes) | + | |{{c_string}}||c_string||'''Customization String''' (each char: 2bytes) |
|- | |- | ||
− | |{{b_string}}||'''Byte String''' (each char: 1byte, used for session key only) | + | |{{b_string}}||b_string||'''Byte String''' (each char: 1byte, used for session key only) |
|- | |- | ||
− | |{{list}}||'''LIST Component''' | + | |{{list}}||list||'''LIST Component''' |
|- | |- | ||
− | |{{uncertain}}||'''Uncertain Values''' | + | |{{uncertain}}||uncertain||'''Uncertain Values''' |
|- | |- | ||
− | |{{unknown}}||'''Unknown Variable Name''' | + | |{{unknown}}||unknown||'''Unknown Variable Name''' |
|- | |- | ||
|} | |} |
Revision as of 05:22, 21 March 2007
Struct
Variable DescriptionsOpperand_Count = 9 Opcode = FFFFFFFF
|
Tags
|
Sample Code
Insert Code Snippet Here...
Sample Packet
Insert Sample Packet Here...