Packages

class AvatarActor extends AnyRef

Source
AvatarActor.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AvatarActor
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AvatarActor(context: ActorContext[Command], buffer: StashBuffer[Command], sessionActor: ActorRef[Command])

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. var _avatar: Option[Avatar]
  5. var account: Option[Account]
  6. def actuallyRestoreStamina(stamina: Int, session: Session): Unit
  7. def actuallyRestoreStaminaIfStationary(stamina: Int, session: Session): Unit
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def avatar: Avatar
  10. def avatarCopy(copyAvatar: Avatar): Unit

    na

    na

    copyAvatar

    na

    See also

    replaceCopy(Avatar)

  11. def avatar_=(avatar: Avatar): Unit
  12. def characterSelect(account: Account): Behavior[Command]
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  14. def consumeThisMuchStamina(stamina: Int): Boolean

    Drain at most a given amount of stamina from the player's pool of stamina.

    Drain at most a given amount of stamina from the player's pool of stamina. If the player's reserves become zero in the act, inform the player that he is fatigued meaning that he will only be able to walk, all implants will deactivate, and all exertion that require stamina use will become impossible until a threshold of stamina is regained.

    stamina

    an amount to drain

    returns

    true, as long as the requested amount of stamina can be drained in total; false, otherwise

  15. def createAvatar(account: Account, name: String, sex: CharacterSex, empire: types.PlanetSideEmpire.Value, head: Int, voice: types.CharacterVoice.Value): Unit
  16. def deactivateImplant(implantType: ImplantType): Unit
  17. def defaultStaminaRegen(initialDelay: FiniteDuration): Unit
  18. def deinitializeImplants(): Unit
  19. def doNotStoreLocker(): Unit
  20. implicit val ec: ExecutionContextExecutor
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  23. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  24. def gameplay: Behavior[Command]
  25. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. val implantTimers: Map[Int, Cancellable]
  28. def initializeAllLoadouts(): Future[Seq[Option[Loadout]]]
  29. def initializeImplants(): Unit
  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. def loadFriendList(avatarId: Long): Future[List[Friend]]
  32. def loadIgnoredList(avatarId: Long): Future[List[Ignored]]
  33. def loadLoadouts(): Future[Seq[Option[Loadout]]]
  34. def loadLocker(charId: Long): Future[LockerContainer]
  35. def loadShortcuts(avatarId: Long): Future[Array[Option[Shortcut]]]
  36. def loadVehicleLoadouts(): Future[Seq[Option[Loadout]]]
  37. def login(): Behavior[Command]
  38. def memberActionAddFriend(charId: Long, name: String, faction: Int): Unit

    Add another player's data to the list of friend players and report back whether or not that player is online.

    Add another player's data to the list of friend players and report back whether or not that player is online. Update the database appropriately.

    charId

    unique account identifier

    name

    unique character name

    faction

    a faction affiliation

  39. def memberActionAddIgnored(charId: Long, name: String, faction: Int): Unit

    Add another player's data to the list of ignored players.

    Add another player's data to the list of ignored players. Update the database appropriately. The change affects not only this player but also the player being ignored by denying online visibility of the former to the latter.

    charId

    unique account identifier

    name

    unique character name

    faction

    a faction affiliation

  40. def memberActionListManagement(action: types.MemberAction.Value, listFunc: () => List[Friend]): Unit

    Reload the list of friend players or ignored players for the client.

    Reload the list of friend players or ignored players for the client. This does not update any player's online status, but merely reloads current states.

    action

    nature of the request (either InitializeFriendList or InitializeIgnoreList, hopefully)

    listFunc

    transformation function that produces data suitable for a game paket

  41. def memberActionRemoveFriend(charId: Long, name: String): Unit

    Remove another player's data from the list of friend players.

    Remove another player's data from the list of friend players. Update the database appropriately.

    charId

    unique account identifier

    name

    unique character name

  42. def memberActionRemoveIgnored(charId: Long, name: String): Unit

    Remove another player's data from the list of ignored players.

    Remove another player's data from the list of ignored players. Update the database appropriately. The change affects not only this player but also the player formerly being ignored by restoring online visibility of the former to the latter.

    charId

    unique account identifier

    name

    unique character name

  43. def memberActionUpdateFriend(name: String): Option[(Long, types.PlanetSideEmpire.Value)]

    name

    unique character name

    returns

    if the avatar is found, that avatar's unique identifier and the avatar's faction affiliation

  44. def memberListAction(action: types.MemberAction.Value, name: String): Unit

    Branch based on behavior of the request for the friends list or the ignored people list.

    Branch based on behavior of the request for the friends list or the ignored people list.

    action

    nature of the request

    name

    other player's name (can not be our name)

  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 performAvatarLogin(avatarId: Long, accountId: Long, replyTo: ActorRef[AvatarLoginResponse]): Unit
  49. def postCharacterSelectBehaviour(): Behavior[Command]
  50. def postLoginBehaviour(): Behavior[Command]
  51. def pushLockerClobToDataBase(items: String): io.getquill.PostgresJAsyncContext.Result[io.getquill.PostgresJAsyncContext.RunActionResult]
  52. def refreshLoadout(line: Int): Unit
  53. def refreshLoadouts(loadouts: Iterable[(Option[Loadout], Int)]): Unit
  54. def refreshPurchaseTimes(keys: Set[String]): Unit
  55. def replaceAvatar(newAvatar: Avatar): Unit

    na

    na

    newAvatar

    na

    See also

    avatarCopy(Avatar)

  56. def resetAnImplant(implantType: ImplantType): Unit
  57. def restoreStaminaPeriodically(stamina: Int): Unit
  58. var saveLockerFunc: () => Unit
  59. def sendAvatars(account: Account): Unit

    Send list of avatars to client (show character selection screen)

  60. var session: Option[Session]
  61. def setBep(bep: Long, modifier: ExperienceType): Unit
  62. def setCep(cep: Long): Unit
  63. def setCosmetics(cosmetics: Set[Cosmetic]): Future[Unit]
  64. var staminaRegenTimer: Cancellable
  65. def startIfStoppedStaminaRegen(initialDelay: FiniteDuration): Unit
  66. def storeLoadout(owner: Player, label: String, line: Int): Future[Loadout]
  67. def storeLocker(): Unit
  68. def storeNewLocker(): Unit
  69. def storeVehicleLoadout(owner: Player, label: String, line: Int, vehicle: Vehicle): Future[Loadout]
  70. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  71. def throwLoadoutFailure(ex: Throwable): Future[Loadout]
  72. def throwLoadoutFailure(msg: String): Future[Loadout]
  73. def toString(): String
    Definition Classes
    AnyRef → Any
  74. def transformFriendsList(): List[Friend]

    Transform the friends list in a list of packet entities.

    Transform the friends list in a list of packet entities.

    returns

    a list of Friends suitable for putting into a packet

  75. def transformIgnoredList(): List[Friend]

    Transform the ignored players list in a list of packet entities.

    Transform the ignored players list in a list of packet entities.

    returns

    a list of Friends suitable for putting into a packet

  76. def tryRestoreStaminaForSession(stamina: Int): Option[Session]
  77. def updateDeployableUIElements(list: List[(Int, Int, Int, Int)]): Unit
  78. def updateKillsDeathsAssists(kdaStat: KDAStat): Unit
  79. def updatePurchaseTimer(name: String, time: Long, isNotAMedKit: Boolean): Unit
  80. def updateToolDischarge(stats: EquipmentStat): Unit
  81. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  82. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  83. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped