Packages

class PlayerControl extends Actor with JammableBehavior with Damageable with ContainableBehavior

Source
PlayerControl.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PlayerControl
  2. ContainableBehavior
  3. Damageable
  4. JammableBehavior
  5. Actor
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PlayerControl(player: Player, avatarActor: ActorRef[Command])

Type Members

  1. type Receive = PartialFunction[Any, Unit]
    Definition Classes
    Actor

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. 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
    PlayerControlJammableBehavior
    See also

    JammableBehavior.CancelJammeredSound

  5. 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
    PlayerControlJammableBehavior
  6. def ContainerObject: Player
    Definition Classes
    PlayerControlContainableBehavior
  7. def DamageAwareness(target: Player, cause: ResolvedProjectile): Unit

    na

    na

    target

    na

    cause

    na

  8. 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
    PlayerControlDamageable
  9. 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 the Player object 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

  10. def HandleDamage(target: Player, cause: ResolvedProjectile, damageToHealth: Int, damageToArmor: Int, damageToStamina: Int, damageToCapacitor: Int): Unit

    na

    na

    target

    na

  11. def JammableObject: Player

    ZoneAware is used for callback to the event systems

    ZoneAware is used for callback to the event systems

    Definition Classes
    PlayerControlJammableBehavior
  12. 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
    PlayerControlContainableBehavior
  13. 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
    PlayerControlContainableBehavior
  14. 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
    PlayerControlContainableBehavior
  15. def RepairValue(item: Tool): Int
  16. 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.Defer

    DeferrableMsg

  17. def Reset(): Unit

    Stop blocking messages.

    Stop blocking messages.

    Definition Classes
    ContainableBehavior
  18. def Resume(): Unit

    Decrement the flag for blocking messages.

    Decrement the flag for blocking messages.

    Definition Classes
    ContainableBehavior
  19. 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
    PlayerControlJammableBehavior
    See also

    JammableBehavior.StartJammeredSound

  20. 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
    PlayerControlJammableBehavior
    See also

    JammableBehavior.StartJammeredStatus

  21. 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
    PlayerControlContainableBehavior
  22. 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
    PlayerControlDamageable
    See also

    takesDamage

    DamageableAmenity.PerformDamage

  23. 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
  24. def Wait(): Unit

    Increment the flag for blocking messages.

    Increment the flag for blocking messages.

    Definition Classes
    ContainableBehavior
  25. def aroundPostRestart(reason: Throwable): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  26. def aroundPostStop(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  27. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  28. def aroundPreStart(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  29. def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  30. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  31. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  32. final val containerBehavior: Receive
    Definition Classes
    ContainableBehavior
  33. implicit val context: ActorContext
    Definition Classes
    Actor
  34. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  36. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  37. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  38. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  39. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  40. val jammableBehavior: Receive
    Definition Classes
    JammableBehavior
  41. val jammedSound: Boolean

    flag for jammed sound

    flag for jammed sound

    Attributes
    protected
    Definition Classes
    JammableBehavior
  42. val jammeredSoundTimer: Cancellable

    the sound timer

    the sound timer

    Attributes
    protected
    Definition Classes
    JammableBehavior
  43. val jammeredStatusTimer: Cancellable

    the effect timer

    the effect timer

    Attributes
    protected
    Definition Classes
    JammableBehavior
  44. val lockerControlAgent: ActorRef

    control agency for the player's locker container (dedicated inventory slot #5)

  45. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  46. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  47. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  48. def postRestart(reason: Throwable): Unit
    Definition Classes
    Actor
    Annotations
    @throws(classOf[java.lang.Exception])
  49. def postStop(): Unit
    Definition Classes
    PlayerControl → Actor
  50. def preRestart(reason: Throwable, message: Option[Any]): Unit
    Definition Classes
    Actor
    Annotations
    @throws(classOf[java.lang.Exception])
  51. def preStart(): Unit
    Definition Classes
    Actor
    Annotations
    @throws(classOf[java.lang.Exception])
  52. def receive: Receive
    Definition Classes
    PlayerControl → Actor
  53. implicit final val self: ActorRef
    Definition Classes
    Actor
  54. final def sender(): ActorRef
    Definition Classes
    Actor
  55. def supervisorStrategy: SupervisorStrategy
    Definition Classes
    Actor
  56. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  57. final val takesDamage: akka.actor.Actor.Receive

    the official mixin hook; orElse onto the "control" Actor receive

    the official mixin hook; orElse onto the "control" Actor receive

    Definition Classes
    Damageable
  58. def toString(): String
    Definition Classes
    AnyRef → Any
  59. def unhandled(message: Any): Unit
    Definition Classes
    Actor
  60. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  61. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  62. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from ContainableBehavior

Inherited from Damageable

Inherited from JammableBehavior

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped