Class/Object

net.psforever.packet.game

ObjectAttachMessage

Related Docs: object ObjectAttachMessage | package game

Permalink

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"

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 or 0x0080 - 0x7FFF)

Source
ObjectAttachMessage.scala
Linear Supertypes
Product, Equals, PlanetSideGamePacket, PlanetSidePacket, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ObjectAttachMessage
  2. Product
  3. Equals
  4. PlanetSideGamePacket
  5. PlanetSidePacket
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ObjectAttachMessage(parent_guid: PlanetSideGUID, child_guid: PlanetSideGUID, slot: Int)

    Permalink

    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 or 0x0080 - 0x7FFF)

Type Members

  1. type Packet = ObjectAttachMessage

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectAttachMessage to any2stringadd[ObjectAttachMessage] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ObjectAttachMessage, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectAttachMessage to ArrowAssoc[ObjectAttachMessage] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val child_guid: PlanetSideGUID

    Permalink

    the child object

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def encode: Attempt[BitVector]

    Permalink
    Definition Classes
    ObjectAttachMessagePlanetSidePacket
  10. def ensuring(cond: (ObjectAttachMessage) ⇒ Boolean, msg: ⇒ Any): ObjectAttachMessage

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectAttachMessage to Ensuring[ObjectAttachMessage] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (ObjectAttachMessage) ⇒ Boolean): ObjectAttachMessage

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectAttachMessage to Ensuring[ObjectAttachMessage] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): ObjectAttachMessage

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectAttachMessage to Ensuring[ObjectAttachMessage] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): ObjectAttachMessage

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectAttachMessage to Ensuring[ObjectAttachMessage] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectAttachMessage to StringFormat[ObjectAttachMessage] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def opcode: GamePacketOpcode.Value

    Permalink
  23. val parent_guid: PlanetSideGUID

    Permalink

    the parent object

  24. val slot: Int

    Permalink

    a codified location within the parent object's inventory; 8u (0 - 127 or 0x80 - 0xFF) or 16u (128 - 32767 or 0x0080 - 0x7FFF)

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def [B](y: B): (ObjectAttachMessage, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ObjectAttachMessage to ArrowAssoc[ObjectAttachMessage] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Product

Inherited from Equals

Inherited from PlanetSideGamePacket

Inherited from PlanetSidePacket

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ObjectAttachMessage to any2stringadd[ObjectAttachMessage]

Inherited by implicit conversion StringFormat from ObjectAttachMessage to StringFormat[ObjectAttachMessage]

Inherited by implicit conversion Ensuring from ObjectAttachMessage to Ensuring[ObjectAttachMessage]

Inherited by implicit conversion ArrowAssoc from ObjectAttachMessage to ArrowAssoc[ObjectAttachMessage]

Ungrouped