Difference between revisions of "Packet Template"

From SWGANH Wiki
Jump to: navigation, search
 
(Struct)
Line 9: Line 9:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
|align="center" style="background:#6C86BF; color:white;"|'''SHORT'''||Opperand_Count
+
|align="center" style="background:#B3C0DE; color:white;"|'''BYTE'''||'''uint8'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||Opcode
+
|align="center" style="background:#6C86BF; color:white;"|'''SHORT'''||'''uint16'''
 +
|-
 +
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''uint32'''
 +
|-
 +
|align="center" style="background:#3C5466; color:white;"|'''FLOAT'''||'''uint32'''
 +
|-
 +
|align="center" style="background:#3C4565; color:white;"|'''LONG'''||'''uint64'''
 +
|-
 +
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''ASCII String'''
 +
|-
 +
|align="center" style="background:#8BD9A3; color:white;"|'''U_STRING'''||'''Unicode String'''
 +
|-
 +
|align="center" style="background:#3EC166; color:white;"|'''C_STRING'''||'''Customization String'''
 +
|-
 +
|align="center" style="background:#25733D; color:white;"|'''B_STRING'''||'''Byte String'''
 +
|-
 +
|align="center" style="background:#C6C600; color:white;"|'''{ }'''||'''LIST Component'''
 +
|-
 +
|align="center" style="background:#DF97A7; color:white;"|'''?'''||'''Uncertain Values'''
 +
|-
 +
|align="center" style="background:#C84966; color:white;"|'''?? '''||'''Unknown Variable Name'''
 
|-
 
|-
 
|}
 
|}

Revision as of 23:00, 18 December 2006


Struct


BYTE uint8
SHORT uint16
INT uint32
FLOAT uint32
LONG uint64
A_STRING ASCII String
U_STRING Unicode String
C_STRING Customization String
B_STRING Byte String
{ } LIST Component
? Uncertain Values
?? Unknown Variable Name

Variable Descriptions



Opperand_Count = 1

Opcode = 9CA80F98

Details


Action

Closes the trade window.

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.


Sample Code


Insert Code Snippet Here...

Sample Packet

Insert Sample Packet Here...