Difference between revisions of "UpdateContainmentMessage"

From SWGANH Wiki
Jump to: navigation, search
(Tags)
(Struct)
Line 8: Line 8:
  
 
{| class="wikitable"
 
{| class="wikitable"
 +
|{{short}}||'''Operand_Count'''
 
|-
 
|-
|align="center" style="background:#6C86BF; color:white;"|'''SHORT'''||'''Operand_Count'''
+
|{{int}}||'''Opcode'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Opcode'''
+
|{{long}}||'''ObjectID'''
 
|-
 
|-
|align="center" style="background:#3C4565; color:white;"|'''LONG'''||'''ObjectID'''
+
|{{long}}||'''ContainerID'''
|-
+
|align="center" style="background:#3C4565; color:white;"|'''LONG'''||'''ContainerID'''
+
|-
+
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''ContainmentType'''
+
 
|-
 
|-
 +
|{{int}}||'''ContainmentType'''
 
|}
 
|}
  

Revision as of 11:14, 10 April 2007


Struct


SHORT Operand_Count
INT Opcode
LONG ObjectID
LONG ContainerID
INT ContainmentType

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"

  • Container_ID:

This is a unique ID for a container object. the Object_ID gets "put into" this container. Container types include Inventory, Storage Containers, Buildings or Structures, etc.

  • ContainmentType:

This variable is odd. It does not seem to directly related to the client or have any effect. It may just be a serverside containment type.

The common two trends are:

4:Add?
-1:Remove?

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.


Sample Code


Insert Code Snippet Here...

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?