final case class ObjectDeployedMessage(unk: Int, desc: String, action: DeployOutcome.Value, count: Long, max: Long) extends PlanetSideGamePacket with Product with Serializable
Dispatched by the server to generate a message in the events chat when placing deployables.
This packet does not actually modify anything in regards to deployables.
The most common form of the generated message is:
"You have placed x of a possible y thing s."
... where x
is the current count of objects of this type that have been deployed;
y
is the (reported) maximum amount of objects of this type that can be deployed;
and, thing
is the token for objects of this type.
If the thing
is a valid string token, it will be replaced by language-appropriate descriptive text in the message.
Otherwise, that text is placed directly into the message, with an obvious space between the text and the "s".
"boomer," for example, is replaced by "Boomer Heavy Explosives" in the message for English language.
"bullet_9mm_AP," however, is just "bullet_9mm_AP s."
When the action
is Success
, the message in the chat will be shown as above.
When the action
is Failure
, the message will be:
"thing failed to deploy and was destroyed."
... where, again, thing
is a valid string token.
- unk
na; usually 0?
- desc
descriptive text of what kind of object is being deployed; string token of the object, at best
- action
the form the message will take
- count
the current number of this type of object deployed
- max
the maximum number of this type of object that can be deployed
- Alphabetic
- By Inheritance
- ObjectDeployedMessage
- Product
- Equals
- PlanetSideGamePacket
- PlanetSidePacket
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ObjectDeployedMessage(unk: Int, desc: String, action: DeployOutcome.Value, count: Long, max: Long)
- unk
na; usually 0?
- desc
descriptive text of what kind of object is being deployed; string token of the object, at best
- action
the form the message will take
- count
the current number of this type of object deployed
- max
the maximum number of this type of object that can be deployed
Type Members
- type Packet = ObjectDeployedMessage
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
- val action: DeployOutcome.Value
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val count: Long
- val desc: String
- def encode: Attempt[BitVector]
- Definition Classes
- ObjectDeployedMessage → 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
- val max: Long
- 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
- ObjectDeployedMessage → PlanetSideGamePacket → PlanetSidePacket
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val unk: Int
- 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()