Difference between revisions of "ChatOnDestroyRoom"
From SWGANH Wiki
(→Struct) |
(→Variable Descriptions) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 18: | Line 18: | ||
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''Server''' | |align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''Server''' | ||
|- | |- | ||
− | |align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||''' | + | |align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''Owner''' |
|- | |- | ||
− | |align="center" style="background:#3C548A; color:white;"|'''INT'''||''' | + | |align="center" style="background:#3C548A; color:white;"|'''INT'''||'''ErrorCode''' |
|- | |- | ||
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Room ID''' | |align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Room ID''' | ||
|- | |- | ||
− | |align="center" style="background:#3C548A; color:white;"|'''INT'''||''' | + | |align="center" style="background:#3C548A; color:white;"|'''INT'''||'''RequestID''' |
|- | |- | ||
|} | |} | ||
Line 37: | Line 37: | ||
---- | ---- | ||
− | * | + | * '''Game''': |
− | * | + | :The name of the game ("SWG") this player is on. Part of ChatAvatarId: 3 ASTRINGs representing the player on the ChatServer. "Game.Server.name" name is the lowercase of the first name for the player. |
− | * | + | |
− | * | + | * '''Server''': |
+ | :The name of the server (Galaxy) this player is on. Part of ChatAvatarId object. | ||
+ | |||
+ | * '''Owner''': | ||
+ | :The firstname of the player who current owns the chatroom. Must be only firstname and lowercase. Part of ChatAvatarId object. Only this player can request to delete the chatroom. | ||
+ | |||
+ | * '''ErrorCode''': | ||
+ | :A integer containing a code for the error that occured. Used to determine what error message to display. 0:Success: [RoomName] You have destroyed the channel. Default: You don't have permission to delete '[RoomPathName]'. | ||
+ | |||
+ | * '''RoomID''': | ||
+ | :The unique ID number assigned to identify this Room. Generated on room creation. | ||
+ | |||
+ | * '''RequestID''': | ||
+ | :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 this packet responses send back a RequestID of 0 for success. Otherwise, The request ID is sent with an ErrorCode to generate the proper error. | ||
|valign=top| | |valign=top| | ||
Line 50: | Line 63: | ||
||{{ServerPacket}} | ||{{ServerPacket}} | ||
|- | |- | ||
− | ||{{ | + | ||{{100%}} |
|- | |- | ||
|} | |} | ||
Line 75: | Line 88: | ||
06 00 // string count | 06 00 // string count | ||
73 79 73 74 65 6D // system | 73 79 73 74 65 6D // system | ||
− | 00 00 00 00 | + | 00 00 00 00 // string spacer |
4C 06 29 03 // Room id | 4C 06 29 03 // Room id | ||
00 00 00 00 | 00 00 00 00 | ||
Line 87: | Line 100: | ||
06 00 // string count | 06 00 // string count | ||
73 79 73 74 65 6D // system | 73 79 73 74 65 6D // system | ||
− | 00 00 00 00 | + | 00 00 00 00 // string spacer |
− | 4A 06 29 03 //Room id | + | 4A 06 29 03 // Room id |
00 00 00 00 | 00 00 00 00 | ||
</pre> | </pre> |
Latest revision as of 00:54, 11 May 2008
Packet - ChatOnDestroyRoom (E8EC5877)
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 = 0xE8EC5877
|
Tags
|
Sample Packet
ChatOnDestroyRoom 00 09 0C 6B 00 19 2B 05 00 // op_count 77 58 EC E8 // ChatOnDestroyRoom 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 73 79 73 74 65 6D // system 00 00 00 00 // string spacer 4C 06 29 03 // Room id 00 00 00 00 2B 05 00 // op_count 77 58 EC E8 // ChatOnDestroyRoom 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 73 79 73 74 65 6D // system 00 00 00 00 // string spacer 4A 06 29 03 // Room id 00 00 00 00