object Terminal
- Source
- Terminal.scala
- Alphabetic
- By Inheritance
- Terminal
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final case class BuyEquipment(item: Equipment) extends Exchange with Product with Serializable
A single piece of
Equipment
has been selected and will be given to thePlayer
.A single piece of
Equipment
has been selected and will be given to thePlayer
. ThePlayer
must decide what to do with it once it is in their control. A result of a processed request.- item
the
Equipment
being given to the player
- final case class BuyExosuit(exosuit: types.ExoSuitType.Value, subtype: Int = 0) extends Exchange with Product with Serializable
The
Player
exo-suit will be changed to the prescribed one.The
Player
exo-suit will be changed to the prescribed one. The subtype will be important if the user is swapping to anExoSuitType.MAX
exo-suit. A result of a processed request.- exosuit
the type of exo-suit
- subtype
the exo-suit subtype, if any
- final case class BuyVehicle(vehicle: Vehicle, weapons: List[InventoryItem], inventory: List[InventoryItem]) extends Exchange with Product with Serializable
Provide a vehicle that was constructed for the player.
Provide a vehicle that was constructed for the player.
- vehicle
the vehicle
- weapons
the vehicle's mounted armament
- inventory
the vehicle's trunk contents
- sealed trait Exchange extends AnyRef
A basic
Trait
connecting all of the actionableTerminal
response messages. - final case class InfantryLoadout(exosuit: types.ExoSuitType.Value, subtype: Int = 0, holsters: List[InventoryItem], inventory: List[InventoryItem]) extends Exchange with Product with Serializable
Recover a former exo-suit and
Equipment
configuration that thePlayer
possessed.Recover a former exo-suit and
Equipment
configuration that thePlayer
possessed. A result of a processed request.- exosuit
the type of exo-suit
- subtype
the exo-suit subtype, if any
- holsters
the contents of the
Player
's holsters- inventory
the contents of the
Player
's inventory
- final case class LearnCertification(cert: Certification) extends Exchange with Product with Serializable
Provide the certification type unlocked by the player.
Provide the certification type unlocked by the player.
- cert
the certification unlocked
- final case class LearnImplant(implant: ImplantDefinition) extends Exchange with Product with Serializable
Provide the implant type unlocked by the player.
Provide the implant type unlocked by the player.
- implant
the implant (definition) requested
- final case class NoDeal() extends Exchange with Product with Serializable
No action will result from interacting with this
Terminal
.No action will result from interacting with this
Terminal
. A result of a processed request. - final case class Request(player: Player, msg: ItemTransactionMessage) extends Product with Serializable
Entry message into this
Terminal
that carries the request.Entry message into this
Terminal
that carries the request. Accessing an option in aTerminal
normally always results in this message.- player
the player who sent this request message
- msg
the original packet carrying the request
- final case class SellCertification(cert: Certification) extends Exchange with Product with Serializable
Provide the certification type freed-up by the player.
Provide the certification type freed-up by the player.
- cert
the certification returned
- final case class SellEquipment() extends Exchange with Product with Serializable
A roundabout message oft-times.
A roundabout message oft-times. Most
Terminals
should always allowPlayer
s to dispose of some piece ofEquipment
. A result of a processed request. - final case class SellImplant(implant: ImplantDefinition) extends Exchange with Product with Serializable
Provide the implant type freed-up by the player.
Provide the implant type freed-up by the player.
- implant
the implant (definition) returned
- final case class StartProximityEffect(terminal: Terminal with ProximityUnit) extends Exchange with Product with Serializable
Start the special effects caused by a proximity-base service.
Start the special effects caused by a proximity-base service.
- terminal
the proximity-based unit
- final case class StopProximityEffect(terminal: Terminal with ProximityUnit) extends Exchange with Product with Serializable
Stop the special effects caused by a proximity-base service.
Stop the special effects caused by a proximity-base service.
- terminal
the proximity-based unit
- final case class TerminalMessage(player: Player, msg: ItemTransactionMessage, 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
- final case class VehicleLoadout(vehicle_definition: VehicleDefinition, weapons: List[InventoryItem], inventory: List[InventoryItem]) extends Exchange with Product with Serializable
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, tdef: TerminalDefinition)(id: Int, context: ActorContext): Terminal
Instantiate and configure a
Terminal
objectInstantiate and configure a
Terminal
object- pos
The location of the object
- tdef
the
ObjectDefinition
that constructs this object and maintains some of its immutable fields- 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
Terminal
object
- def apply(tdef: TerminalDefinition): Terminal
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()