Difference between revisions of "UpdateContainmentMessage"

From SWGANH Wiki
Jump to: navigation, search
(Struct)
Line 5: Line 5:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
{| class="wikitable" align="center"
+
|-
 +
||
 +
{| class="wikitable"
 
|{{short}}||'''Operand_Count'''
 
|{{short}}||'''Operand_Count'''
 
|-
 
|-
Line 16: Line 18:
 
|-
 
|-
 
|{{int}}||'''ContainmentType'''
 
|{{int}}||'''ContainmentType'''
 +
|}
 
|}
 
|}
  

Revision as of 23:24, 25 November 2007

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 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:

Set to 4 to equip an item, 0xFFFFFFFF to unequip an item.

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 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?