Difference between revisions of "ChatRoomList"

From SWGANH Wiki
Jump to: navigation, search
(Struct)
(Struct)
Line 19: Line 19:
 
|{{int}}|'''NumberOf_RoomNames'''
 
|{{int}}|'''NumberOf_RoomNames'''
 
|-
 
|-
|{{byte}}|{{unknown}}}
+
|{{byte}}|{{unknown}}
 
|-
 
|-
 
|{{short}}|'''SizeOf_RoomName'''
 
|{{short}}|'''SizeOf_RoomName'''

Revision as of 05:12, 1 April 2007


Struct


SHORT Operand_Count
INT Opcode
INT Numberof_Chatrooms
INT ChatRoom_ID
INT NumberOf_RoomNames
BYTE ??
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
  • Unknown
(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.

75% This packet has been partially reversed.


Sample Code


Insert Code Snippet Here...

Sample Packet

Insert Sample Packet Here...