Difference between revisions of "ChatRoomList"
From SWGANH Wiki
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
{| border="0" width="90%" cellpadding=6 | {| border="0" width="90%" cellpadding=6 | ||
| Line 14: | Line 9: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| − | | | + | |{{short}}||'''Operand_Count''' |
|- | |- | ||
| − | | | + | |{{int}}||'''Opcode''' |
|- | |- | ||
| − | | | + | |{{int}}||'''Numberof_Chatrooms''' |
|- | |- | ||
| − | | | + | |{{int}}||'''ChatRoom_ID''' |
|- | |- | ||
| − | | | + | |{{int}}||'''NumberOf_RoomNames''' |
|- | |- | ||
| − | | | + | |{{byte}}||'''Lookinto''' |
|- | |- | ||
| − | | | + | |{{short}}||'''SizeOf_RoomName''' |
|- | |- | ||
| − | | | + | |{{a_string}}||'''RoomName''' |
|- | |- | ||
| − | | | + | |{{short}}||'''SizeOf_ChannelOwner''' |
|- | |- | ||
| − | | | + | |{{a_string}}||'''ChannelOwner''' |
|- | |- | ||
| − | | | + | |} |
| + | |||
| + | {| class="wikitable" | ||
|- | |- | ||
| − | | | + | |{{short}}||'''SizeOf_ChannelCreator''' |
| + | |- | ||
| + | |{{a_string}}||'''ChannelCreator''' | ||
|- | |- | ||
|} | |} | ||
| + | {| class="wikitable" | ||
| + | |- | ||
| + | |{{short}}||'''SizeOf_RoomTitle''' | ||
| + | |- | ||
| + | |{{a_string}}||'''RoomTitle''' | ||
| + | |- | ||
| + | |} | ||
| + | |||
| + | |||
| + | {| class="wikitable" | ||
| + | |- | ||
| + | |{{int}}||'''NumberOfRoomModerators''' | ||
| + | |- | ||
| + | |{{short}}||'''SizeOf_Channel_Moderator''' | ||
| + | |- | ||
| + | |{{a_string}}||'''ChannelModerator''' | ||
| + | |- | ||
| + | |} | ||
| + | |||
| + | |||
| + | {| class="wikitable" | ||
| + | |- | ||
| + | |{{short}}||'''NumberOf_UsersInChatRoom''' | ||
| + | |- | ||
| + | |{{a_string}}||'''Users''' | ||
| + | |- | ||
| + | |} | ||
===Variable Descriptions=== | ===Variable Descriptions=== | ||
---- | ---- | ||
| − | Opperand_Count = ''' | + | Opperand_Count = '''2''' |
| − | Opcode = ''' | + | Opcode = '''70DEB197''' |
---- | ---- | ||
| − | * | + | * '''NumberOf_ChatRooms''' |
| − | * | + | :Add 1 to the count, for each chatroom listed in the packet |
| − | * | + | |
| − | * | + | * '''chatroom_id''' |
| + | :Add each chatroom id, for the Number of Chatrooms | ||
| + | |||
| + | * '''NumberOf_RoomNames''' | ||
| + | :Add 1 to the count,for each Roomname Listed in the packet | ||
| + | |||
| + | * '''ByteFlag''' | ||
| + | :Needs Looking into, thinking its for Moderated,private or Public | ||
| + | |||
| + | * '''SizeOf_RoomName''' | ||
| + | :The size of the roomname listed in packet | ||
| + | |||
| + | * '''Roomname''' | ||
| + | :Name of the room, Repeat For each room in above size | ||
| + | |||
| + | * '''ChannelOwner''' | ||
| + | :Add Size and NAme for each Name u add onto the First, Example SWG Add tony to the bottom will make SWG.tony | ||
| + | |||
| + | * '''ChannelCreator ''' | ||
| + | :Same Rule Applys to Above | ||
| + | |||
| + | * '''Roomtitle''' | ||
| + | :Name of room title In Unicode | ||
| + | |||
| + | * '''RoomModeratorNumber''' | ||
| + | :Add 1 to the list of moderators | ||
| + | |||
| + | * '''ChannelModerator''' | ||
| + | :Add Size and NAme for each Name u add onto the First, Example SWG Add tony to the bottom will make SWG.tony | ||
| + | |||
| + | * '''Users''' | ||
| + | :Add size and name and +1 to the NumberOfUsers Int | ||
|valign=top| | |valign=top| | ||
| Line 60: | Line 117: | ||
||{{ServerPacket}} | ||{{ServerPacket}} | ||
|- | |- | ||
| − | ||{{ | + | ||{{100%}} |
|- | |- | ||
|} | |} | ||
Revision as of 21:52, 31 March 2007
Struct
Variable DescriptionsOpperand_Count = 2 Opcode = 70DEB197
|
Tags
|
Sample Code
Insert Code Snippet Here...
Sample Packet
Insert Sample Packet Here...