final case class ObjectDetachMessage(parent_guid: PlanetSideGUID, child_guid: PlanetSideGUID, pos: Vector3, roll: Float, pitch: Float, yaw: Float) extends PlanetSideGamePacket with Product with Serializable
Dispatched by the server to cause two associated objects to disentangle from one another.
ObjectDetachMessage
is the opposite of ObjectAttachMessage
.
When detached, the resulting freed object will be placed at the given coordinates in the game world.
For detachment from some container objects, a default placement point may exist.
This usually matches the position where the original mounting occurred, or is relative to the current position of the container.
This mounting position overrides the input one, but other temporary side-effects may occur.
For example, if a player detaches from a vehicle with coordinates for "somewhere else,"
the camera will temporarily be moved to that location "somewhere else" for the duration of the animation
but it will soon regain the player who appeared where expected.
An object that is already dropped is a special case where the parent (container) does not technically exist.
The parent also does not need to exist as the object will still be transported to the specified coordinates.
- parent_guid
the container/connector object
- child_guid
the contained/connected object
- pos
where the contained/connected object will be placed after it has detached
- roll
the amount of roll that affects orientation of the dropped item
- pitch
the amount of pitch that affects orientation of the dropped item
- yaw
the amount of yaw that affects orientation of the dropped item
- Alphabetic
- By Inheritance
- ObjectDetachMessage
- Product
- Equals
- PlanetSideGamePacket
- PlanetSidePacket
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ObjectDetachMessage(parent_guid: PlanetSideGUID, child_guid: PlanetSideGUID, pos: Vector3, roll: Float, pitch: Float, yaw: Float)
- parent_guid
the container/connector object
- child_guid
the contained/connected object
- pos
where the contained/connected object will be placed after it has detached
- roll
the amount of roll that affects orientation of the dropped item
- pitch
the amount of pitch that affects orientation of the dropped item
- yaw
the amount of yaw that affects orientation of the dropped item
Type Members
- type Packet = ObjectDetachMessage
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
- ObjectDetachMessage → 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
- ObjectDetachMessage → PlanetSideGamePacket → PlanetSidePacket
- val parent_guid: PlanetSideGUID
- val pitch: Float
- val pos: Vector3
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val roll: Float
- 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()
- val yaw: Float