net.psforever.objects.serverobject.pad.process
VehicleSpawnControlSeatDriver
Companion object VehicleSpawnControlSeatDriver
class VehicleSpawnControlSeatDriver extends VehicleSpawnControlBase
An Actor
that handles vehicle spawning orders for a VehicleSpawnPad
.
The basic VehicleSpawnControl
is the root of a simple tree of "spawn control" objects that chain to each other.
Each object performs on (or more than one related) actions upon the vehicle order that was submitted.
This object forces the prospective driver to take the driver mount.
Multiple separate but sequentially significant steps occur within the scope of this object.
First, this step waits for the vehicle to be completely ready to accept the driver.
Second, this step triggers the player to actually be moved into the driver mount.
Finally, this step waits until the driver is properly in the driver mount.
It has failure cases should the driver or the vehicle be in an incorrect state.
- Source
- VehicleSpawnControlSeatDriver.scala
- See also
ZonePopulationActor
- Alphabetic
- By Inheritance
- VehicleSpawnControlSeatDriver
- VehicleSpawnControlBase
- Actor
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new VehicleSpawnControlSeatDriver(pad: VehicleSpawnPad)
- pad
the
VehicleSpawnPad
object being governed
Type Members
- type Receive = PartialFunction[Any, Unit]
- Definition Classes
- Actor
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 LogId: String
Implement this to add a suffix to the identifying name of the logger.
Implement this to add a suffix to the identifying name of the logger.
- returns
a special identifier that distinguishes a logger whose name is built of common features
- Definition Classes
- VehicleSpawnControlSeatDriver → VehicleSpawnControlBase
- def aroundPostRestart(reason: Throwable): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
- def aroundPostStop(): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
- def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
- def aroundPreStart(): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
- def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- implicit val context: ActorContext
- Definition Classes
- Actor
- 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
- def log: Logger
Act as if a variable for the logging agent.
Act as if a variable for the logging agent.
- returns
a
Logger
object
- Definition Classes
- VehicleSpawnControlBase
- 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 postRestart(reason: Throwable): Unit
- Definition Classes
- Actor
- Annotations
- @throws(classOf[java.lang.Exception])
- def postStop(): Unit
- Definition Classes
- Actor
- Annotations
- @throws(classOf[java.lang.Exception])
- def preRestart(reason: Throwable, message: Option[Any]): Unit
- Definition Classes
- Actor
- Annotations
- @throws(classOf[java.lang.Exception])
- def preStart(): Unit
- Definition Classes
- Actor
- Annotations
- @throws(classOf[java.lang.Exception])
- def receive: Receive
- Definition Classes
- VehicleSpawnControlSeatDriver → Actor
- implicit final val self: ActorRef
- Definition Classes
- Actor
- final def sender(): ActorRef
- Definition Classes
- Actor
- def supervisorStrategy: SupervisorStrategy
- Definition Classes
- Actor
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def trace(msg: String): Unit
A common manner of utilizing the logging agent such that all messages have the same logging level.
A common manner of utilizing the logging agent such that all messages have the same logging level. The default should be
trace
-level comments. No important messages should processed by this agent; only consume general vehicle spawn status.- msg
the message
- Definition Classes
- VehicleSpawnControlBase
- def unhandled(message: Any): Unit
- Definition Classes
- Actor
- val vehicleOverride: ActorRef
- 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()