ChatRoomList

From SWGANH Wiki
Revision as of 22:52, 31 March 2007 by Snow (Talk | contribs)

Jump to: navigation, search


Struct


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
SHORT SizeOf_ChannelCreator
A_STRING ChannelCreator
SHORT SizeOf_RoomTitle
A_STRING RoomTitle


INT NumberOfRoomModerators
SHORT SizeOf_Channel_Moderator
A_STRING ChannelModerator


SHORT NumberOf_UsersInChatRoom
A_STRING Users

Variable Descriptions


Opperand_Count = 2

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

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.


Sample Code


Insert Code Snippet Here...

Sample Packet

Insert Sample Packet Here...