abstract class ObjectDefinition extends BasicDefinition
Associate an object's canned in-game representation with its basic game identification unit.
The extension of this class would identify the common data necessary to construct such a given game object.
The converter transforms a game object that is created by this ObjectDefinition into packet data through method-calls.
The field for this converter is a PacketConverter, the superclass for ObjectCreateConverter;
the type of the mutator's parameter is ObjectCreateConverter of a wildcard tparam;
and, the accessor return type is ObjectCreateConverter[PlanetSideGameObject], a minimum-true statement.
The actual type of the converter at a given point, casted or otherwise, is mostly meaningless.
Casting the external object does not mutate any of the types used by the methods within that object.
So long as it is an ObjectCreatePacket, those methods can be called correctly for a game object of the desired type.
- Source
- ObjectDefinition.scala
- Alphabetic
- By Inheritance
- ObjectDefinition
- BasicDefinition
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ObjectDefinition(objectId: Int)
- objectId
the object's identifier number
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
- def Descriptor: String
- Definition Classes
- BasicDefinition
- def Descriptor_=(description: Option[String]): String
- Definition Classes
- BasicDefinition
- def Descriptor_=(description: String): String
- Definition Classes
- BasicDefinition
- def DisableAtMaxDepth: Boolean
- def DisableAtMaxDepth_=(drowns: Boolean): Boolean
- def DrownAtMaxDepth: Boolean
- def DrownAtMaxDepth_=(drowns: Boolean): Boolean
- def Geometry: (Any) => Geometry3D
- def Geometry_=(func: (Any) => Geometry3D): (Any) => Geometry3D
- def MaxDepth: Float
- def MaxDepth_=(height: Float): Float
- def Name: String
- Definition Classes
- BasicDefinition
- def Name_=(name: String): String
- Definition Classes
- BasicDefinition
- def ObjectId: Int
- final def Packet: ObjectCreateConverter[PlanetSideGameObject]
Get the conversion object.
- final def Packet_=(pkt: ObjectCreateConverter[_]): PacketConverter
Assign this definition a conversion object.
Assign this definition a conversion object.
- pkt
the new converter
- returns
the current converter, after assignment
- def ServerSplashTargetsCentroid: Boolean
- def ServerSplashTargetsCentroid_=(splash: Boolean): Boolean
- def UnderwaterLifespan(suffocation: Long, recovery: Long): Map[OxygenState, Long]
- def UnderwaterLifespan(key: OxygenState): Long
- def UnderwaterLifespan(): Map[OxygenState, Long]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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()
- def hashCode(): Int
- 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()
- var packet: PacketConverter
a data converter for this type of object
a data converter for this type of object
- Attributes
- protected
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()