Difference between revisions of "ChatFriendsListUpdate"

From SWGANH Wiki
Jump to: navigation, search
 
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|ServerPacket|ChatFriendsListUpdate (6CD2FCD8)}}
 
+
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
 
|-
 
|-
Line 6: Line 5:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
 +
|-
 +
||
 
{| class="wikitable"
 
{| class="wikitable"
 +
|{{short}}||'''Opperand_Count'''
 
|-
 
|-
|align="center" style="background:#6C86BF; color:white;"|'''SHORT'''||'''Opperand_Count'''
+
|{{int}}||'''Opcode'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Opcode'''
+
|{{a_string}}|'''SWG'''
 
|-
 
|-
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''<font color=red>Unknown</font>'''
+
|{{a_string}}|'''Server Name'''
 
|-
 
|-
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''<font color=red>Unknown</font>'''
+
|{{a_string}}|'''Friend'''
|-
+
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''Friend'''
+
|-
+
|align="center" style="background:#B3C0DE; color:white;"|'''BYTE'''||'''OnlineFlag'''
+
 
|-
 
|-
 +
|{{byte}}|'''OnlineFlag'''
 +
|}
 
|}
 
|}
 
 
===Variable Descriptions===
 
===Variable Descriptions===
 
----
 
----
  
Opperand_Count     = '''4'''
+
Opperand_Count     = '''3'''
  
 
Opcode     = '''6CD2FCD8'''
 
Opcode     = '''6CD2FCD8'''
 
----
 
----
  
 +
* '''SWG''':
 +
Always be SWG.
 +
* '''Server Name''':
 +
The name of the Server.
 
* '''Friend''':
 
* '''Friend''':
 
Name of the friend that goes online/offline.
 
Name of the friend that goes online/offline.
Line 39: Line 42:
  
 
|valign=top|
 
|valign=top|
 +
 
===Tags===
 
===Tags===
 
----
 
----
Line 45: Line 49:
 
||{{ServerPacket}}
 
||{{ServerPacket}}
 
|-
 
|-
||{{50%}}
+
||{{100%}}
 
|-
 
|-
 
|}
 
|}
 
 
|}
 
|}
 
----
 
 
==Sample Code==
 
----
 
 
<pre>
 
Insert Code Snippet Here...
 
</pre>
 
  
 
==Sample Packet==
 
==Sample Packet==
  
 
<pre>
 
<pre>
Insert Sample Packet Here...
+
03 00                        // Opcode Count
 +
D8 FC D2 6C                  // ChatFriendsListUpdate
 +
03 00                        // String Count
 +
53 57 47                      // SWG
 +
0A 00                        // String Count
 +
53 68 61 64 6F 77 66 69 72 65 // Shadowfire
 +
09 00                        // String Count
 +
74 69 6A 61 69 72 61 75 6E    // tijairaun
 +
00                            // Online Status 0 = off 1 = on
 
</pre>
 
</pre>

Latest revision as of 22:47, 6 January 2008

ServerPacket - ChatFriendsListUpdate (6CD2FCD8)

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 Opperand_Count
INT Opcode
A_STRING SWG
A_STRING Server Name
A_STRING Friend
BYTE OnlineFlag

Variable Descriptions


Opperand_Count = 3

Opcode = 6CD2FCD8


  • SWG:

Always be SWG.

  • Server Name:

The name of the Server.

  • Friend:

Name of the friend that goes online/offline.

  • OnlineFlag:

0: is offline. 1: is online.

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.

Sample Packet

03 00                         // Opcode Count
D8 FC D2 6C                   // ChatFriendsListUpdate
03 00                         // String Count
53 57 47                      // SWG
0A 00                         // String Count
53 68 61 64 6F 77 66 69 72 65 // Shadowfire
09 00                         // String Count
74 69 6A 61 69 72 61 75 6E    // tijairaun
00                            // Online Status 0 = off 1 = on