Difference between revisions of "SuiEventNotification"

From SWGANH Wiki
Jump to: navigation, search
(New page: {| border="0" width="90%" cellpadding=6 |- |valign=top| ===Struct=== ---- {| class="wikitable" |- |align="center" style="background:#B3C0DE; color:white;"|'''BYTE'''||'''uint8''' |- |alig...)
 
(Tags)
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{PageHeader|Server Packet|SuiEventNotification (092D3564)}}
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
 
|-
 
|-
Line 4: Line 5:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
 +
|-
 +
||
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
|align="center" style="background:#B3C0DE; color:white;"|'''BYTE'''||'''uint8'''
+
|{{short}}|'''op Count'''
 
|-
 
|-
|align="center" style="background:#6C86BF; color:white;"|'''SHORT'''||'''uint16'''
+
|{{int}}|'''Op Code'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''uint32'''
+
|{{int}}|'''Window ID'''
 
|-
 
|-
|align="center" style="background:#3C5466; color:white;"|'''FLOAT'''||'''uint32'''
+
|{{int}}|'''action (bool - true if cancel pressed)'''
 
|-
 
|-
|align="center" style="background:#3C4565; color:white;"|'''LONG'''||'''uint64'''
+
|{{int}}|'''item count n'''
 
|-
 
|-
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''ASCII String'''
+
|{{int}}|'''item count n'''
 
|-
 
|-
|align="center" style="background:#8BD9A3; color:white;"|'''U_STRING'''||'''Unicode String'''
+
|{{u_string}}|'''Submitted Data string 1...n'''
|-
+
|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'''
+
 
|-
 
|-
 +
|}
 
|}
 
|}
  
Line 40: Line 34:
 
Opcode     = '''092D3564'''
 
Opcode     = '''092D3564'''
 
----
 
----
 +
 +
*Window ID = ID of the UI window the event is originating from
 +
*action is a bool value refering to the cancel button being pressed (=true)
 +
*the list contains a Unicode string for every element returning a value - this either being the caption, or true / false for additional added buttons and their pressed state
 +
  
 
|valign=top|
 
|valign=top|
 +
 
===Tags===
 
===Tags===
 
----
 
----
Line 48: Line 48:
 
||{{ServerPacket}}
 
||{{ServerPacket}}
 
|-
 
|-
||{{50%}}
+
||{{ClientPacket}}
 +
|-
 +
||{{100%}}
 
|-
 
|-
 
|}
 
|}
 
 
|}
 
|}
  
 
----
 
----
 
==Sample Code==
 
----
 
 
<pre>
 
Insert Code Snippet Here...
 
</pre>
 
  
 
==Sample Packet==
 
==Sample Packet==
  
 
<pre>
 
<pre>
Insert Sample Packet Here...
+
04 00
 +
64 35 2D 09                                                            //SuiEventNotification
 +
83 49 02 00                                                            //Window ID
 +
00 00 00 00
 +
02 00 00 00
 +
02 00 00 00
 +
0E 00 00 00                                                          //UNICODE STRING SIZE(14)
 +
66 00 75 00 63 00 6B 00 73 00 6F 00 65 00 62 00 69 00 74 00
 +
63 00 68 00 65 00 73 00                                              //UNICODE ('fucksoebitches')
 +
00 00 00 00
 
</pre>
 
</pre>

Latest revision as of 06:30, 20 January 2010

Server Packet - SuiEventNotification (092D3564)

SWGANH Wiki is a repository of Star Wars Galaxies Developer information. This site is only meant to be used by SWGANH Developer team.

Struct


SHORT op Count
INT Op Code
INT Window ID
INT action (bool - true if cancel pressed)
INT item count n
INT item count n
U_STRING Submitted Data string 1...n

Variable Descriptions


Opperand_Count = 4

Opcode = 092D3564


  • Window ID = ID of the UI window the event is originating from
  • action is a bool value refering to the cancel button being pressed (=true)
  • the list contains a Unicode string for every element returning a value - this either being the caption, or true / false for additional added buttons and their pressed state


Tags


S→C This packet originates on the server.

C→S This packet originates on the client.

100% This packet has been completely reversed.


Sample Packet

 04 00 
 64 35 2D 09                                                            //SuiEventNotification 
 83 49 02 00                                                            //Window ID
 00 00 00 00 
 02 00 00 00 
 02 00 00 00 
 0E 00 00 00                                                           //UNICODE STRING SIZE(14)
 66 00 75 00 63 00 6B 00 73 00 6F 00 65 00 62 00 69 00 74 00 
 63 00 68 00 65 00 73 00                                               //UNICODE ('fucksoebitches')
 00 00 00 00