object AvatarActor
- Source
- AvatarActor.scala
- Alphabetic
- By Inheritance
- AvatarActor
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final case class ActivateImplant(implantType: ImplantType) extends Command with Product with Serializable
Activate an implant (must already be initialized)
- final case class AddFirstTimeEvent(event: String) extends Command with Product with Serializable
Add a first time event (help text)
- final case class AvatarLoginResponse(avatar: Avatar) extends Product with Serializable
- final case class AvatarResponse(avatar: Avatar) extends Product with Serializable
- final case class AwardBep(bep: Long) extends Command with Product with Serializable
Award battle experience points
- final case class AwardCep(bep: Long) extends Command with Product with Serializable
Award command experience points
- sealed trait Command extends AnyRef
- final case class ConsumeStamina(stamina: Int) extends Command with Product with Serializable
Consume up to the given stamina amount
- final case class CreateAvatar(name: String, head: Int, voice: types.CharacterVoice.Value, gender: CharacterSex, empire: types.PlanetSideEmpire.Value) extends Command with Product with Serializable
Create avatar
- final case class CreateImplants() extends Command with Product with Serializable
Send implants to client - TODO this can be done better using a event system on SessionActor
- final case class DeactivateActiveImplants() extends Command with Product with Serializable
Deactivate all non-passive implants that are in use
- final case class DeactivateImplant(implantType: ImplantType) extends Command with Product with Serializable
Deactivate an implant
- final case class DeinitializeImplants() extends Command with Product with Serializable
Deinitialize implants (before zoning or respawning)
- final case class DeleteAvatar(charId: Int) extends Command with Product with Serializable
Delete avatar
- final case class DeleteLoadout(player: Player, loadoutType: types.LoadoutType.Value, number: Int) extends Command with Product with Serializable
Delete a loadout
- final case class InitializeImplants() extends Command with Product with Serializable
Start implant initialization timers (after zoning or respawn)
- final case class LearnCertification(terminalGuid: PlanetSideGUID, certification: Certification) extends Command with Product with Serializable
Add a certification using a terminal
- final case class LearnImplant(terminalGuid: PlanetSideGUID, definition: ImplantDefinition) extends Command with Product with Serializable
Add a implant using a terminal
- final case class LoginAvatar(replyTo: ActorRef[AvatarLoginResponse]) extends Command with Product with Serializable
Log in the currently selected avatar.
Log in the currently selected avatar. Must have first sent SelectAvatar.
- final case class RefreshLoadouts() extends Command with Product with Serializable
Refresh the client's loadouts
- final case class RefreshPurchaseTimes() extends Command with Product with Serializable
Force refresh the client's item purchase times
- final case class ReplaceAvatar(avatar: Avatar) extends Command with Product with Serializable
Replace avatar instance with the provided one
- final case class ResetImplants() extends Command with Product with Serializable
Shorthand for DeinitializeImplants and InitializeImplants
- final case class RestoreStamina(stamina: Int) extends Command with Product with Serializable
Restore up to the given stamina amount
- final case class SaveLoadout(player: Player, loadoutType: types.LoadoutType.Value, label: Option[String], number: Int) extends Command with Product with Serializable
Save a loadout
- final case class SelectAvatar(charId: Int, replyTo: ActorRef[AvatarResponse]) extends Command with Product with Serializable
Load basic avatar info
- final case class SellCertification(terminalGuid: PlanetSideGUID, certification: Certification) extends Command with Product with Serializable
Remove a certification using a terminal
- final case class SellImplant(terminalGuid: PlanetSideGUID, definition: ImplantDefinition) extends Command with Product with Serializable
Remove a implant using a terminal
- final case class SetAccount(account: Account) extends Command with Product with Serializable
Set account this avatar belongs to.
Set account this avatar belongs to. Required for handling most other messages.
- final case class SetBep(bep: Long) extends Command with Product with Serializable
Set total battle experience points
- final case class SetCep(bep: Long) extends Command with Product with Serializable
Set total command experience points
- final case class SetCertifications(certifications: Set[Certification]) extends Command with Product with Serializable
Force-set certifications
- final case class SetCosmetics(personalStyles: Set[Cosmetic]) extends Command with Product with Serializable
Set cosmetics.
Set cosmetics. Only allowed for BR24 or higher.
- final case class SetLookingForSquad(lfs: Boolean) extends Command with Product with Serializable
Set the avatar's lookingForSquad
- final case class SetSession(session: Session) extends Command with Product with Serializable
- final case class SetVehicle(vehicle: Option[PlanetSideGUID]) extends Command with Product with Serializable
Set vehicle
- final case class Subscribe(actor: ActorRef[Avatar]) extends Command with Product with Serializable
Subscribe to avatar updates
- final case class SuspendStaminaRegeneration(duration: FiniteDuration) extends Command with Product with Serializable
Suspend stamina regeneration for a given time
- final case class Unsubscribe(actor: ActorRef[Avatar]) extends Command with Product with Serializable
Unsubscribe from avatar updates
- final case class UpdatePurchaseTime(definition: BasicDefinition, time: LocalDateTime = LocalDateTime.now()) extends Command with Product with Serializable
Set purchase time for the use of calculating cooldowns
- final case class UpdateUseTime(definition: BasicDefinition, time: LocalDateTime = LocalDateTime.now()) extends Command with Product with Serializable
Set use time for the use of calculating cooldowns
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 apply(sessionActor: ActorRef[SessionActor.Command]): Behavior[Command]
- 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()