object Door
- Source
- Door.scala
- Alphabetic
- By Inheritance
- Door
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final case class CloseEvent() extends Exchange with Product with Serializable
This door will close.
- final case class DoorMessage(player: Player, msg: UseItemMessage, response: Exchange) extends Product with Serializable
Message that carries the result of the processed request message back to the original user (
player
).Message that carries the result of the processed request message back to the original user (
player
).- player
the player who sent this request message
- msg
the original packet carrying the request
- response
the result of the processed request
- sealed trait Exchange extends AnyRef
A basic
Trait
connecting all of the actionableDoor
response messages. - type LockingMechanismLogic = (PlanetSideServerObject, Door) => Boolean
- final case class NoEvent() extends Exchange with Product with Serializable
This door will do nothing.
- final case class OpenEvent() extends Exchange with Product with Serializable
This door will open.
- final case class UpdateMechanism(mechanism: LockingMechanismLogic) extends Exchange with Product with Serializable
- final case class Use(player: Player, msg: UseItemMessage) extends Product with Serializable
Entry message into this
Door
that carries the request.Entry message into this
Door
that carries the request.- player
the player who sent this request message
- msg
the original packet carrying the request
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 Constructor(pos: Vector3, ddef: DoorDefinition)(id: Int, context: ActorContext): Door
Instantiate and configure a
Door
object that has knowledge of both its position and outwards-facing direction.Instantiate and configure a
Door
object that has knowledge of both its position and outwards-facing direction. The assumption is that this door will be paired with an IFF Lock, thus, has conditions for opening.- pos
the position of the door
- ddef
the definition for this specific type of door
- id
the unique id that will be assigned to this entity
- context
a context to allow the object to properly set up
ActorSystem
functionality- returns
the
Door
object
- def Constructor(pos: Vector3)(id: Int, context: ActorContext): Door
Instantiate and configure a
Door
object that has knowledge of both its position and outwards-facing direction.Instantiate and configure a
Door
object that has knowledge of both its position and outwards-facing direction. The assumption is that this door will be paired with an IFF Lock, thus, has conditions for opening.- pos
the position of the door
- id
the unique id that will be assigned to this entity
- context
a context to allow the object to properly set up
ActorSystem
functionality- returns
the
Door
object
- def Constructor(id: Int, context: ActorContext): Door
Instantiate and configure a
Door
object.Instantiate and configure a
Door
object.- id
the unique id that will be assigned to this entity
- context
a context to allow the object to properly set up
ActorSystem
functionality- returns
the
Door
object
- def apply(tdef: DoorDefinition): Door
Overloaded constructor.
Overloaded constructor.
- tdef
the
ObjectDefinition
that constructs this object and maintains some of its immutable fields
- 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()
- 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()
- case object Lock extends Exchange with Product with Serializable
- case object Unlock extends Exchange with Product with Serializable