Difference between revisions of "ChatFriendsListUpdate"

From SWGANH Wiki
Jump to: navigation, search
(Struct)
 
(13 intermediate revisions by 2 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
+
|{{short}}||'''Opperand_Count'''
 
|-
 
|-
|{{int}}||Opcode
+
|{{int}}||'''Opcode'''
 
|-
 
|-
|{{a_string}}|{{SWG}}
+
|{{a_string}}|'''SWG'''
 
|-
 
|-
|{{a_string}}|{{Server Name}}
+
|{{a_string}}|'''Server Name'''
 
|-
 
|-
|{{a_string}}||Friend
+
|{{a_string}}|'''Friend'''
 
|-
 
|-
|{{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 37: Line 42:
  
 
|valign=top|
 
|valign=top|
 +
 
===Tags===
 
===Tags===
 
----
 
----
Line 43: 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 21: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