Difference between revisions of "SuiEventNotification"

From SWGANH Wiki
Jump to: navigation, search
(Tags)
 
(10 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"
 
|-
 
|-
Line 13: Line 16:
 
|{{int}}|'''Window ID'''
 
|{{int}}|'''Window ID'''
 
|-
 
|-
|{{int}}|{{unknown}}
+
|{{int}}|'''action (bool - true if cancel pressed)'''
 
|-
 
|-
|{{int}}|{{unknown}}
+
|{{int}}|'''item count n'''
 
|-
 
|-
|{{int}}|{{unknown}}
+
|{{int}}|'''item count n'''
 
|-
 
|-
|{{int}}|'''Unicode String Size'''
+
|{{u_string}}|'''Submitted Data string 1...n'''
|-
+
|{{u_string}}|'''Submitted Data'''
+
 
|-
 
|-
 +
|}
 
|}
 
|}
  
Line 34: Line 36:
  
 
*Window ID = ID of the UI window the event is originating from
 
*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===
 
----
 
----
 
{| align="center"
 
{| align="center"
 
|-  
 
|-  
 +
||{{ServerPacket}}
 +
|-
 
||{{ClientPacket}}
 
||{{ClientPacket}}
 
|-
 
|-
||{{50%}}
+
||{{100%}}
 
|-
 
|-
 
|}
 
|}
 
 
|}
 
|}
  
 
----
 
----
 
==Sample Code==
 
----
 
 
<pre>
 
Insert Code Snippet Here...
 
</pre>
 
  
 
==Sample Packet==
 
==Sample Packet==

Latest revision as of 05: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