Packages

class PlayerControl extends Actor with JammableBehavior with Damageable with ContainableBehavior with AggravatedBehavior with AuraEffectBehavior

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PlayerControl
  2. AuraEffectBehavior
  3. AggravatedBehavior
  4. ContainableBehavior
  5. Damageable
  6. JammableBehavior
  7. Actor
  8. AnyRef
  9. 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 AggravatedObject: Player
    Definition Classes
    PlayerControlAggravatedBehavior
  5. def AggravatedReaction: Boolean
    Definition Classes
    AggravatedBehavior
  6. def AggravationCleanup(id: Long): Unit
    Definition Classes
    AggravatedBehavior
  7. def ApplicableEffect(effect: Aura): Unit

    Only pre-apporved aura effects will be emitted by this target.

    Only pre-apporved aura effects will be emitted by this target.

    effect

    the aura effect

    Definition Classes
    AuraEffectBehavior
  8. def AuraTargetObject: Player
    Definition Classes
    PlayerControlAuraEffectBehavior
  9. 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

  10. 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
  11. def CleanupAggravationTimer(id: Long): Unit
    Definition Classes
    AggravatedBehavior
  12. def ContainerObject: Player
    Definition Classes
    PlayerControlContainableBehavior
  13. def DamageAwareness(target: Player, cause: ResolvedProjectile, damageToHealth: Int, damageToArmor: Int, damageToStamina: Int, damageToCapacitor: Int): Unit
  14. 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
  15. 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

  16. def EndAllAggravation(): Unit
    Definition Classes
    AggravatedBehavior
  17. def EndAllEffects(): Unit

    Stop the target entity from emitting all aura particle effects.

    Stop the target entity from emitting all aura particle effects.

    Definition Classes
    AuraEffectBehavior
  18. def EndAllEffectsAndUpdate(): Unit

    Stop the target entity from emitting all aura particle effects.

    Stop the target entity from emitting all aura particle effects. Animate the new particle effect state.

    Definition Classes
    AuraEffectBehavior
  19. def EndAuraEffect(effect: Aura): Boolean

    Stop the target entity from emitting the aura particle effect, if it currently is.

    Stop the target entity from emitting the aura particle effect, if it currently is.

    effect

    the target effect

    returns

    true, if the effect was being emitted but has been stopped false, if the effect was not approved or is not being emitted

    Definition Classes
    AuraEffectBehavior
  20. def EndAuraEffectAndUpdate(effect: Aura): Unit

    Stop the target entity from emitting the aura particle effect, if it currently is.

    Stop the target entity from emitting the aura particle effect, if it currently is. If the effect has been stopped, animate the new particle effect state.

    Definition Classes
    AuraEffectBehavior
  21. def HandleDamage(target: Player, cause: ResolvedProjectile, damageToHealth: Int, damageToArmor: Int, damageToStamina: Int, damageToCapacitor: Int): Unit

    na

    na

    target

    na

  22. def JammableObject: Player

    ZoneAware is used for callback to the event systems

    ZoneAware is used for callback to the event systems

    Definition Classes
    PlayerControlJammableBehavior
  23. 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
  24. def PerformDamage(target: Target, applyDamageTo: Output): Unit

    Assess the vital statistics of the target, apply the damage, and determine if any of those statistics changed.

    Assess the vital statistics of the target, apply the damage, and determine if any of those statistics changed. By default, only take an interest in the change of "health". If implementing custom damage with no new message handling, override this method.

    target

    the entity to be damaged

    applyDamageTo

    the function that applies the damage to the target in a target-tailored fashion

    Attributes
    protected
    Definition Classes
    PlayerControlDamageable
    See also

    ResolutionCalculations.Output

  25. 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
  26. def RemoveAggravatedEntry(id: Long): Aura
    Definition Classes
    AggravatedBehavior
  27. 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
  28. def RepairValue(item: Tool): Int
  29. 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

  30. def Reset(): Unit

    Stop blocking messages.

    Stop blocking messages.

    Definition Classes
    ContainableBehavior
  31. def Resume(): Unit

    Decrement the flag for blocking messages.

    Decrement the flag for blocking messages.

    Definition Classes
    ContainableBehavior
  32. def StartAuraEffect(effect: Aura, duration: Long): Unit

    An aura particle effect is to be emitted by the target.

    An aura particle effect is to be emitted by the target. If the effect was not previously applied to the target in an ongoing manner, animate it appropriately.

    effect

    the effect to be emitted

    duration

    for how long the effect will be emitted

    returns

    the active effect index number

    Definition Classes
    AuraEffectBehavior
  33. 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

  34. 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

  35. 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
  36. def TestForEffect(effect: Aura): Boolean

    Is the target entity emitting the aura effect?

    Is the target entity emitting the aura effect?

    effect

    the effect being tested

    returns

    true, if the effect is currently being emitted; false, otherwise

    Definition Classes
    AuraEffectBehavior
  37. def TryAggravationEffectActivate(data: ResolvedProjectile): Option[AggravatedDamage]
    Definition Classes
    AggravatedBehavior
  38. 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
  39. def UpdateAuraEffect(target: Target): Unit

    An override callback to display aura effects emitted.

    An override callback to display aura effects emitted.

    target

    the entity from which the aura effects are being emitted

    Definition Classes
    PlayerControlAuraEffectBehavior
  40. def Wait(): Unit

    Increment the flag for blocking messages.

    Increment the flag for blocking messages.

    Definition Classes
    ContainableBehavior
  41. val aggravatedBehavior: Receive
    Definition Classes
    AggravatedBehavior
  42. def aroundPostRestart(reason: Throwable): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  43. def aroundPostStop(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  44. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  45. def aroundPreStart(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  46. def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  47. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  48. val auraBehavior: Receive
    Definition Classes
    AuraEffectBehavior
  49. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  50. final val containerBehavior: Receive
    Definition Classes
    ContainableBehavior
  51. implicit val context: ActorContext
    Definition Classes
    Actor
  52. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  53. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  54. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  55. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  56. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  57. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  58. val jammableBehavior: Receive
    Definition Classes
    JammableBehavior
  59. val jammedSound: Boolean

    flag for jammed sound

    flag for jammed sound

    Attributes
    protected
    Definition Classes
    JammableBehavior
  60. val jammeredSoundTimer: Cancellable

    the sound timer

    the sound timer

    Attributes
    protected
    Definition Classes
    JammableBehavior
  61. val jammeredStatusTimer: Cancellable

    the effect timer

    the effect timer

    Attributes
    protected
    Definition Classes
    JammableBehavior
  62. val lockerControlAgent: ActorRef

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

  63. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  64. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  65. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  66. final val originalTakesDamage: akka.actor.Actor.Receive

    a duplicate of the core implementation for the default mixin hook, for use in overriding

    a duplicate of the core implementation for the default mixin hook, for use in overriding

    Definition Classes
    Damageable
  67. def postRestart(reason: Throwable): Unit
    Definition Classes
    Actor
    Annotations
    @throws(classOf[java.lang.Exception])
  68. def postStop(): Unit
    Definition Classes
    PlayerControl → Actor
  69. def preRestart(reason: Throwable, message: Option[Any]): Unit
    Definition Classes
    Actor
    Annotations
    @throws(classOf[java.lang.Exception])
  70. def preStart(): Unit
    Definition Classes
    Actor
    Annotations
    @throws(classOf[java.lang.Exception])
  71. def receive: Receive
    Definition Classes
    PlayerControl → Actor
  72. implicit final val self: ActorRef
    Definition Classes
    Actor
  73. final def sender(): ActorRef
    Definition Classes
    Actor
  74. def supervisorStrategy: SupervisorStrategy
    Definition Classes
    Actor
  75. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  76. val takesDamage: akka.actor.Actor.Receive

    the official mixin hook; orElse onto the "control" Actor receive; or, cite the originalTakesDamage protocol during inheritance overrides

    the official mixin hook; orElse onto the "control" Actor receive; or, cite the originalTakesDamage protocol during inheritance overrides

    Definition Classes
    Damageable
  77. def toString(): String
    Definition Classes
    AnyRef → Any
  78. def unhandled(message: Any): Unit
    Definition Classes
    Actor
  79. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  80. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  81. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AuraEffectBehavior

Inherited from AggravatedBehavior

Inherited from ContainableBehavior

Inherited from Damageable

Inherited from JammableBehavior

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped