Difference between revisions of "ChatOnLeaveRoom"
From SWGANH Wiki
(→Tags) |
|||
(26 intermediate revisions by 4 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 11: | Line 5: | ||
===Struct=== | ===Struct=== | ||
---- | ---- | ||
− | + | {| align="center" | |
+ | |- | ||
+ | || | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | | | + | |{{short}}||'''Operand Count''' |
|- | |- | ||
− | | | + | |{{int}}|'''OpCode''' |
|- | |- | ||
− | | | + | |{{a_string}}||'''Game Name''' |
|- | |- | ||
− | | | + | |{{a_string}}|'''Galaxy Name''' |
|- | |- | ||
− | | | + | |{{a_string}}|'''Character Name''' |
|- | |- | ||
− | | | + | |{{int}}||'''Error Code''' |
|- | |- | ||
− | | | + | |{{int}}|'''ChatRoom ID''' |
|- | |- | ||
− | | | + | |{{int}}|'''Request ID''' |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
+ | |} | ||
|} | |} | ||
Line 43: | Line 32: | ||
---- | ---- | ||
− | Opperand_Count = ''' | + | Opperand_Count = '''5''' |
− | Opcode = ''' | + | Opcode = '''60B5098B''' |
---- | ---- | ||
− | * | + | * '''Game_Name_Size''' |
− | + | :Size of the Game_Name, only seen SWG. | |
− | + | ||
− | + | ||
+ | * '''Game_Name''' | ||
+ | :As above SWG | ||
+ | |||
+ | * '''Galaxy_Name_Size''' | ||
+ | :Size of the Galaxy Name | ||
+ | |||
+ | * '''Galaxy_Name''' | ||
+ | :Example 'Bria' | ||
+ | |||
+ | * '''Character_Name_Size''' | ||
+ | :Size of belows 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''' | ||
+ | :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| | ||
+ | |||
===Tags=== | ===Tags=== | ||
---- | ---- | ||
Line 60: | Line 72: | ||
||{{ServerPacket}} | ||{{ServerPacket}} | ||
|- | |- | ||
− | ||{{ | + | ||{{100%}} |
|- | |- | ||
|} | |} | ||
Line 67: | Line 79: | ||
---- | ---- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Sample Packet== | ==Sample Packet== | ||
<pre> | <pre> | ||
− | + | 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 // ?? | ||
</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 // ??