Difference between revisions of "BadgesResponseMessage"

From SWGANH Wiki
Jump to: navigation, search
(Sample Packet)
(Struct)
Line 8: Line 8:
  
 
{| class="wikitable"
 
{| class="wikitable"
 +
|{{short}}||'''Operand_Count'''
 
|-
 
|-
|align="center" style="background:#6C86BF; color:white;"|'''SHORT'''||'''Operand_Count'''
+
|{{int}}||'''Opcode'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Opcode'''
+
|{{long}}||'''CharacterID'''
 
|-
 
|-
|align="center" style="background:#3C4565; color:white;"|'''LONG'''||'''CharacterID'''
+
|{{int}}||'''Bit Masks Count (# of Bitmasks)'''
|-
+
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''List Size (# of Bitmasks)'''
+
 
|-
 
|-
 
|}
 
|}
:'''{'''
+
{{beginlist|Bit Masks|Bit Masks Count}}
 
:{| class="wikitable"
 
:{| class="wikitable"
|-
+
|{{int}}||'''Bitmask'''
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Bitmask 1'''
+
|-
+
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Bitmask 2'''
+
|-
+
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Bitmask 3'''
+
|-
+
 
|}
 
|}
:'''...'''
+
{{endlist|Bit Masks}}
:'''}'''
+
  
 
===Variable Descriptions===
 
===Variable Descriptions===

Revision as of 06:59, 10 April 2007


Struct


SHORT Operand_Count
INT Opcode
LONG CharacterID
INT Bit Masks Count (# of Bitmasks)

<Bit Masks count=Bit Masks Count>

INT Bitmask

<Bit Masks/>


Variable Descriptions


Opperand_Count = 7

Opcode = 6D89D25B


  • Triggered on an event

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.


Notes:


Further Reading: http://forums.swganh.org/viewtopic.php?t=683

Sample Packet

03 00                          // ACCOUNTUPDATE
5B D2 89 6D                    // BadgesResponseMessage
19 00 00 00 00 00 00 00        // CharacterID
0F 00 00 00                    // Size of Bitmask List (15)
0F F0 EF CD                    // Bitmask 1
C0 10 0B 00                    // Bitmask 2
02 7C 4A 89                    // Bitmask 3
36 98 00 14                    // Bitmask 4
00 10 00 A0                    // Bitmask 5
00 18 02 00                    // Bitmask 6
10 00 00 00                    // Bitmask 7
00 00 00 00                    // Bitmask 8
00 00 00 00                    // Bitmask 9
00 00 00 00                    // Bitmask 10
00 00 00 00                    // Bitmask 11
00 00 00 00                    // Bitmask 12
00 00 00 00                    // Bitmask 13
00 00 00 00                    // Bitmask 14
00 00 00 00                    // Bitmask 15