final case class ObjectAttachMessage(parent_guid: PlanetSideGUID, child_guid: PlanetSideGUID, slot: Int) extends PlanetSideGamePacket with Product with Serializable
Change the location of an object - the child - within the inventory system for another object - the parent.
(Where the child object was before it was moved is not specified or important.)
The data portion of this packet defines a parent object, a child object to-be, and a destination.
After the packet is delivered, the child object will be expected to be a possession of the parent object in the codified inventory location.
The "inventory" of the parent object is a generalization of that object's containment or installation positions.
The inventory is has different referral words for these positions depending on the target parent;
but, it is generally "seats" or "mounting points" for vehicles;
and, it is generally "holsters" or "grid inventory positions" for players.
For players, "holsters" and "grid inventory positions" have 1:1 numerical mapping.
For vehicles, however, "seats" and "mounting points" are not consistently mapped and are much more context sensitive.
For that reason, this installation position will hitherto be referred to as a generic "slot."
Both the client and the server can send and receive this packet.
Its interplay with other packets simulate a lazy TCP-like approach to object manipulation.
If the client sends this packet, it will generally have already done what it was going to do.
If the server sends this packet, the client will have been waiting on confirmation of an action it previously requested.
Player inventory slots:
0x80
- 0 - pistol holster 1
0x81
- 1 - pistol holster 2
0x82
- 2 - rifle holster 1
0x83
- 3 - rifle holster 2
0x84
- 4 - knife holster
0x86
- 6 - grid (1,1)
0x00FA
- 250 - is a special dest/extra code that "attaches the item to the player's cursor"
0x00FC
- 252 - special item slot e.g. LLU (Possibly also cavern modules)
- parent_guid
the parent object
- child_guid
the child object
- slot
a codified location within the parent object's inventory; 8u (0 - 127 or
0x80 - 0xFF
) or 16u (128 - 32767 or0x0080 - 0x7FFF
)
- Alphabetic
- By Inheritance
- ObjectAttachMessage
- Product
- Equals
- PlanetSideGamePacket
- PlanetSidePacket
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ObjectAttachMessage(parent_guid: PlanetSideGUID, child_guid: PlanetSideGUID, slot: Int)
- parent_guid
the parent object
- child_guid
the child object
- slot
a codified location within the parent object's inventory; 8u (0 - 127 or
0x80 - 0xFF
) or 16u (128 - 32767 or0x0080 - 0x7FFF
)
Type Members
- type Packet = ObjectAttachMessage
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val child_guid: PlanetSideGUID
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def encode: Attempt[BitVector]
- Definition Classes
- ObjectAttachMessage → PlanetSidePacket
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def opcode: GamePacketOpcode.Value
- Definition Classes
- ObjectAttachMessage → PlanetSideGamePacket → PlanetSidePacket
- val parent_guid: PlanetSideGUID
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val slot: Int
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()