final case class InternalSlot(objectClass: Int, guid: PlanetSideGUID, parentSlot: Int, obj: ConstructorData) extends StreamBitSize with Product with Serializable
An intermediate class for the primary fields of ObjectCreate*Message
with an implicit parent-child relationship.
Any object that is contained in a "slot" of another object will use InternalSlot
to hold the anchoring data.
This prior object will clarify the identity of the "parent" object that owns the given parentSlot
.
As the name implies, this should never have to be used in the representation of a non-child object.
Try to avoid exposing this class in the process of implementing common object code.
Provide overrode constructors that mask the creation of InternalSlot
where applicable.
- objectClass
the code for the type of object being constructed
- guid
the GUID this object will be assigned
- parentSlot
a parent-defined slot identifier that explains where the child is to be attached to the parent
- obj
the data used as representation of the object to be constructed
- Source
- InternalSlot.scala
- See also
ObjectClass.selectDataCodec
ObjectClass.selectDataDetailedCodec
- Alphabetic
- By Inheritance
- InternalSlot
- Serializable
- Product
- Equals
- StreamBitSize
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new InternalSlot(objectClass: Int, guid: PlanetSideGUID, parentSlot: Int, obj: ConstructorData)
- objectClass
the code for the type of object being constructed
- guid
the GUID this object will be assigned
- parentSlot
a parent-defined slot identifier that explains where the child is to be attached to the parent
- obj
the data used as representation of the object to be constructed
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
- def bitsize: Long
Performs a "sizeof()" analysis of the given object.
The calculation reflects thescodec Codec
definition rather than the explicit parameter fields.Performs a "sizeof()" analysis of the given object.
The calculation reflects thescodec Codec
definition rather than the explicit parameter fields. For example, a traditionalInt
is normally a 32-bit number, often rendered as a32u
number. When parsed with auintL(7)
, it's length will be considered 7 bits (7u
). (Note: being permanently signed, anscodec
value of32u
or longer must fit into aLong
type.)- returns
the number of bits necessary to measure an object of this class; defaults to
0L
- Definition Classes
- InternalSlot → StreamBitSize
- 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 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()
- val guid: PlanetSideGUID
- 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()
- val obj: ConstructorData
- val objectClass: Int
- val parentSlot: Int
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- 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()