Difference between revisions of "ChatOnLeaveRoom"
From SWGANH Wiki
m (→Sample Packet) |
(→Tags) |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{PageHeader|Server Packet|ChatOnLeaveRoom (60B5098B)}} | |
− | + | ||
{| border="0" width="90%" cellpadding=6 | {| border="0" width="90%" cellpadding=6 | ||
|- | |- | ||
Line 6: | Line 5: | ||
===Struct=== | ===Struct=== | ||
---- | ---- | ||
− | + | {| align="center" | |
+ | |- | ||
+ | || | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 19: | Line 20: | ||
|{{a_string}}|'''Character Name''' | |{{a_string}}|'''Character Name''' | ||
|- | |- | ||
− | |{{int}}| | + | |{{int}}||'''Error Code''' |
|- | |- | ||
|{{int}}|'''ChatRoom ID''' | |{{int}}|'''ChatRoom ID''' | ||
|- | |- | ||
− | |{{ | + | |{{int}}|'''Request ID''' |
|- | |- | ||
+ | |} | ||
|} | |} | ||
Line 42: | Line 44: | ||
* '''Galaxy_Name_Size''' | * '''Galaxy_Name_Size''' | ||
− | :Size of the | + | :Size of the Galaxy Name |
* '''Galaxy_Name''' | * '''Galaxy_Name''' | ||
Line 51: | Line 53: | ||
* '''Character_Name''' | * '''Character_Name''' | ||
− | : | + | :The firstname of the player who this packet is targeting. Must be only firstname and lowercase. Part of ChatAvatarId object. |
− | * ''' | + | * '''Error Code''' |
− | : | + | :A integer containing a code for the error that occured. Used to determine what error message to display. |
+ | ::0:Success: You have left the room. OR [PlayerName] has left the room. | ||
* '''ChatRoom_ID''' | * '''ChatRoom_ID''' | ||
:Put the Chatroom's Id here | :Put the Chatroom's Id here | ||
− | * ''' | + | * '''Request ID''' |
− | : | + | :For every request made, the client attaches an ID number to identify it. It is unique for each request type (opcode) and incremented for each request. Similar to Update Counters used in Objects. For every response that had a request with a RequestID, the same RequestID must be sent back. It is used to identify key information regarding the response, such as what the full RoomPathName was and it is used in error message generation. Also can be used to eliminate duplicate requests. |
− | + | ||
|valign=top| | |valign=top| | ||
Line 70: | Line 72: | ||
||{{ServerPacket}} | ||{{ServerPacket}} | ||
|- | |- | ||
− | ||{{ | + | ||{{100%}} |
|- | |- | ||
|} | |} | ||
Line 77: | Line 79: | ||
---- | ---- | ||
− | |||
− | |||
==Sample Packet== | ==Sample Packet== | ||
<pre> | <pre> | ||
− | |||
− | |||
05 00 // op count | 05 00 // op count | ||
8B 09 B5 60 // ChatOnLeaveRoom | 8B 09 B5 60 // ChatOnLeaveRoom | ||
Line 93: | Line 91: | ||
06 00 // string count | 06 00 // string count | ||
61 6C 6C 79 6E 61 // allyna | 61 6C 6C 79 6E 61 // allyna | ||
− | 00 00 00 00 | + | 00 00 00 00 // string spacer |
41 01 29 03 // room id | 41 01 29 03 // room id | ||
− | 00 00 00 00 | + | 00 00 00 00 // ?? |
− | + | ||
− | + | ||
</pre> | </pre> |
Latest revision as of 23:31, 6 April 2008
Server Packet - ChatOnLeaveRoom (60B5098B)
SWGANH Wiki is a repository of Star Wars Galaxies Developer information. This site is only meant to be used by SWGANH Developer team.
Struct
Variable DescriptionsOpperand_Count = 5 Opcode = 60B5098B
|
Tags
|
Sample Packet
05 00 // op count 8B 09 B5 60 // ChatOnLeaveRoom 03 00 // string count 53 57 47 // SWG 0A 00 // string count 53 68 61 64 6F 77 66 69 72 65 // Shadowfire 06 00 // string count 61 6C 6C 79 6E 61 // allyna 00 00 00 00 // string spacer 41 01 29 03 // room id 00 00 00 00 // ??