Difference between revisions of "UpdateContainmentMessage"

From SWGANH Wiki
Jump to: navigation, search
(Struct)
(Variable Descriptions)
 
Line 33: Line 33:
 
"container" of the container object. It may also be seen as a "link"
 
"container" of the container object. It may also be seen as a "link"
  
* '''Container_ID''':
+
* '''Parent Id''':
 
This is a unique ID for a container object. the Object_ID gets "put into"
 
This is a unique ID for a container object. the Object_ID gets "put into"
this container. Container types include Inventory, Storage Containers,
+
this container. All objects are containers, and can be used as containers.
Buildings or Structures, etc.  
+
  
* '''SlotIndex''':
+
* '''Arrangement Id''':
  
:This variable affects the "slot" in which the ObjectID is being placed into in the the container. If unspecified(-1) its put into a lowest level slot. (generic-ish)
+
This specifies which arrangement to use for this particular object. It is most often 4 because most objects only have 1 arrangement.
 +
(4 being used for 1 because of the 4 "global" arrangements)
  
:See Table Below.
 
:Equipted items must be specified correctly to display slot correctness. In example, if pants are set as -1, you wear underwear ABOVE your pants.
 
 
<pre>
 
Common Values:
 
-1 - Unspecified (Bottom Layer)
 
4 - Inventory (For Items)
 
5 - Datapad (For Data)
 
</pre>
 
:The common two trends are:
 
<pre>
 
4:Add?
 
-1:Remove?
 
</pre>
 
 
|valign=top|
 
|valign=top|
  

Latest revision as of 01:59, 21 August 2012

Server Packet - UpdateContainmentMessage (56CBDE9E)

SWGANH Wiki is a repository of Star Wars Galaxies Developer information. This site is only meant to be used by SWGANH Developer team.

Struct


SHORT Operand_Count
INT Opcode
LONG ObjectID
LONG Parent Id
INT Arrangement Id

Variable Descriptions


Opperand_Count = 4

Opcode = 56CBDE9E


  • Object_ID:

The unique ID for an object. In this packet, this object gets put into the "container" of the container object. It may also be seen as a "link"

  • Parent Id:

This is a unique ID for a container object. the Object_ID gets "put into" this container. All objects are containers, and can be used as containers.

  • Arrangement Id:

This specifies which arrangement to use for this particular object. It is most often 4 because most objects only have 1 arrangement. (4 being used for 1 because of the 4 "global" arrangements)

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.


Sample Packet

04 00       //Operand_Count
9E DE CB 56 //UpdateContainmentMessage
62 C9 8B 12 1E 00 00 00 //Object ID
FD 85 10 00 00 00 00 00 //Cell ID
FF FF FF FF //ContainmentType?