class PlayerControl extends Actor with JammableBehavior with Damageable with ContainableBehavior
- Source
- PlayerControl.scala
- Alphabetic
- By Inheritance
- PlayerControl
- ContainableBehavior
- Damageable
- JammableBehavior
- Actor
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 CancelJammeredSound(target: Any): Unit
Stop the jammered buzzing.
Stop the jammered buzzing.
- target
an object that can be affected by the jammered status
- Definition Classes
- PlayerControl → JammableBehavior
- See also
JammableBehavior.CancelJammeredSound
- def CancelJammeredStatus(target: Any): Unit
Deactivate the effects of the jammered status.
Deactivate the effects of the jammered status. Due to considerations of the object that is the target, this is left to be implemented by a subclass. We merely stop the timer.
- target
an object that can be affected by the jammered status
- Definition Classes
- PlayerControl → JammableBehavior
- def ContainerObject: Player
- Definition Classes
- PlayerControl → ContainableBehavior
- def DamageAwareness(target: Player, cause: ResolvedProjectile): Unit
na
na
- target
na
- cause
na
- def DamageableObject: Player
Contextual access to the object being the target of this damage.
Contextual access to the object being the target of this damage. Needs declaration in lowest implementing code.
- returns
the entity controlled by this actor
- Definition Classes
- PlayerControl → Damageable
- def DestructionAwareness(target: Player, cause: Option[ResolvedProjectile]): Unit
The player has lost all his vitality and must be killed.
Shift directly into a state of being dead on the client by setting health to zero points, whereupon the player will perform a dramatic death animation.The player has lost all his vitality and must be killed.
Shift directly into a state of being dead on the client by setting health to zero points, whereupon the player will perform a dramatic death animation. Stamina is also set to zero points. If the player was in a vehicle at the time of demise, special conditions apply and the model must be manipulated so it behaves correctly. Do not move or completely destroy thePlayerobject as its coordinates of death will be important.
A maximum revive waiting timer is started. When this timer reaches zero, the avatar will attempt to spawn back on its faction-specific sanctuary continent.- target
na
- cause
na
- def HandleDamage(target: Player, cause: ResolvedProjectile, damageToHealth: Int, damageToArmor: Int, damageToStamina: Int, damageToCapacitor: Int): Unit
na
na
- target
na
- def JammableObject: Player
ZoneAwareis used for callback to the event systemsZoneAwareis used for callback to the event systems- Definition Classes
- PlayerControl → JammableBehavior
- def MessageDeferredCallback(msg: Any): Unit
Reaction to the initial deferrence of a message that should handle the visual aspects of not immediately addressing the message.
Reaction to the initial deferrence of a message that should handle the visual aspects of not immediately addressing the message. To be implemented.
- msg
the deferred message
- Definition Classes
- PlayerControl → ContainableBehavior
- def PutItemInSlotCallback(item: Equipment, slot: Int): Unit
Reaction to an item being placed into a container.
Reaction to an item being placed into a container. To be implemented.
- item
the item that was removed
- slot
the slot from which is was removed
- Definition Classes
- PlayerControl → ContainableBehavior
- def RemoveItemFromSlotCallback(item: Equipment, slot: Int): Unit
Reaction to an item being removed a container.
Reaction to an item being removed a container. To be implemented.
- item
the item that was removed
- slot
the slot from which is was removed
- Definition Classes
- PlayerControl → ContainableBehavior
- def RepairValue(item: Tool): Int
- def RepeatMessageLater(msg: Any): Unit
Defer a message until later.
Defer a message until later.
- msg
the message to defer
- Definition Classes
- ContainableBehavior
- See also
ContainableBehavior.DeferDeferrableMsg
- def Reset(): Unit
Stop blocking messages.
Stop blocking messages.
- Definition Classes
- ContainableBehavior
- def Resume(): Unit
Decrement the flag for blocking messages.
Decrement the flag for blocking messages.
- Definition Classes
- ContainableBehavior
- def StartJammeredSound(target: Any, dur: Int): Unit
Start the jammered buzzing.
Start the jammered buzzing. Although, as a rule, the jammering sound effect should last as long as the jammering status, Infantry seem to hear the sound for a bit longer than the effect.
- target
an object that can be affected by the jammered status
- dur
the duration of the timer, in milliseconds; by default, 30000
- Definition Classes
- PlayerControl → JammableBehavior
- See also
JammableBehavior.StartJammeredSound
- def StartJammeredStatus(target: Any, dur: Int): Unit
Perform a variety of tasks to indicate being jammered.
Perform a variety of tasks to indicate being jammered. Deactivate implants (should also uninitialize them), delay stamina regeneration for a certain number of turns, and set the jammered status on specific holstered equipment.
- target
an object that can be affected by the jammered status
- dur
the duration of the timer, in milliseconds
- Definition Classes
- PlayerControl → JammableBehavior
- See also
JammableBehavior.StartJammeredStatus
- def SwapItemCallback(item: Equipment, fromSlot: Int): Unit
Reaction to the existence of a swap item being produced from a container into the environment.
Reaction to the existence of a swap item being produced from a container into the environment. To be implemented.
- item
the item that was removed
- fromSlot
the slot from where the item was removed (where it previous was)
- Definition Classes
- PlayerControl → ContainableBehavior
- def TakesDamage: Receive
Implementation of the mixin hook will be provided by a child class.
Implementation of the mixin hook will be provided by a child class. Override this method only when directly implementing.
- Attributes
- protected
- Definition Classes
- PlayerControl → Damageable
- See also
takesDamageDamageableAmenity.PerformDamage
- def TryJammerEffectActivate(target: Any, cause: ResolvedProjectile): Unit
If the target can be validated against, affect it with the jammered status.
If the target can be validated against, affect it with the jammered status.
- target
the objects to be determined if affected by the source's jammering
- cause
the source of the "jammered" status
- Definition Classes
- JammableBehavior
- def Wait(): Unit
Increment the flag for blocking messages.
Increment the flag for blocking messages.
- Definition Classes
- ContainableBehavior
- 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()
- final val containerBehavior: Receive
- Definition Classes
- ContainableBehavior
- 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
- val jammableBehavior: Receive
- Definition Classes
- JammableBehavior
- val jammedSound: Boolean
flag for jammed sound
flag for jammed sound
- Attributes
- protected
- Definition Classes
- JammableBehavior
- val jammeredSoundTimer: Cancellable
the sound timer
the sound timer
- Attributes
- protected
- Definition Classes
- JammableBehavior
- val jammeredStatusTimer: Cancellable
the effect timer
the effect timer
- Attributes
- protected
- Definition Classes
- JammableBehavior
- val lockerControlAgent: ActorRef
control agency for the player's locker container (dedicated inventory slot #5)
- 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
- PlayerControl → Actor
- 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
- PlayerControl → 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
- final val takesDamage: akka.actor.Actor.Receive
the official mixin hook;
orElseonto the "control"Actorreceivethe official mixin hook;
orElseonto the "control"Actorreceive- Definition Classes
- Damageable
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unhandled(message: Any): Unit
- Definition Classes
- Actor
- 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()