Difference between revisions of "ChatOnBanAvatarFromRoom"
From SWGANH Wiki
(→Struct) |
(→Variable Descriptions) |
||
(One intermediate revision by the same user not shown) | |||
Line 42: | Line 42: | ||
Opcode = '''0x5A38538D''' | Opcode = '''0x5A38538D''' | ||
---- | ---- | ||
+ | * '''Room Name''': | ||
+ | The full ChatServer path and name for the room including the RoomName specified on creation. Example: "SWG.TestCenter.Chat.tcpa" | ||
− | * | + | * '''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. |
+ | |||
+ | * '''Moderator''': | ||
+ | :The first name of the player who is a moderator for the room this action is affecting. Must be only firstname and lowercase. Part of ChatAvatarId object. | ||
+ | |||
+ | * '''Target''': | ||
+ | :The first name of the player the moderator is targeting with this packet. Must be only firstname and lowercase. Part of ChatAvatarId object. | ||
+ | |||
+ | * '''ErrorCode''': | ||
+ | :A integer containing a code for the error that occured. Used to determine what error message to display. | ||
+ | ::0:Success: [Target] has been banned from [RoomName]. | ||
+ | ::4: Ban [Target] from [RoomName] failed: Avatar not found. | ||
+ | ::5: Ban [Target] from [RoomName] failed: Room does not exist. | ||
+ | ::12: Ban [Target] from [RoomName] failed: Already Banned. | ||
+ | ::16: Ban [Target] from [RoomName] failed: Insufficient Privileges | ||
+ | ::Default: Ban [Target] from [RoomName] failed: Unknown Error | ||
+ | |||
+ | * '''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 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| |
Latest revision as of 01:23, 11 May 2008
This article or section needs additional data. Please add a sample packet! |
Server Packet - ChatOnBanAvatarFromRoom (5A38538D)
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 = 6 Opcode = 0x5A38538D
The full ChatServer path and name for the room including the RoomName specified on creation. Example: "SWG.TestCenter.Chat.tcpa"
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.
|
Tags
|
Sample Packet
Insert Sample Packet Here...