class SquadSwitchboard extends Actor
The dedicated messaging switchboard for members and observers of a given squad.
It almost always dispatches messages to SessionActor
instances, much like any other Service
.
The sole purpose of this ActorBus
container is to manage a subscription model
that can involuntarily drop subscribers without informing them explicitly
or can just vanish without having to properly clean itself up.
- Source
- SquadSwitchboard.scala
- Alphabetic
- By Inheritance
- SquadSwitchboard
- Actor
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SquadSwitchboard(features: SquadFeatures, subscriptions: SquadSubscriptionEntity)
- features
squad and associated information about the squad
- subscriptions
individually-connected subscription service
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 InitWaypoints(toCharId: Long, features: SquadFeatures): Unit
Dispatch all of the information about a given squad's waypoints to a user.
Dispatch all of the information about a given squad's waypoints to a user.
- toCharId
the player to whom the waypoint data will be dispatched
- features
the squad
- def JoinSquad(player: Player, position: Int, sendTo: ActorRef): Unit
Behaviors and exchanges necessary to complete the fulfilled recruitment process for the squad role.
This operation is fairly safe to call whenever a player is to be inducted into a squad.Behaviors and exchanges necessary to complete the fulfilled recruitment process for the squad role.
This operation is fairly safe to call whenever a player is to be inducted into a squad. The aforementioned player must have a callback retained insubs.UserEvents
and conditions imposed by both the role and the player must be satisfied.- player
the new squad member; this player is NOT the squad leader
- position
the squad member role that the player will be filling
- sendTo
a specific client callback
- See also
InitialAssociation
InitSquadDetail
InitWaypoints
Publish
CleanUpAllInvitesWithPlayer
SquadDetail
SquadInfo
SquadPositionDetail
SquadPositionEntry
SquadResponse.Join
StatConverter.Health
UpdateSquadListWhenListed
- def LeaveSquad(charId: Long): Boolean
Behaviors and exchanges necessary to undo the recruitment process for the squad role.
Behaviors and exchanges necessary to undo the recruitment process for the squad role.
- charId
the player
- returns
true
, if the player, formerly a normal member of the squad, has been ejected from the squad;false
, otherwise
- See also
PanicLeaveSquad
Publish
- def SquadActionDefinition(tplayer: Player, line: Int, action: packet.game.SquadAction, sendTo: ActorRef): Unit
- def SquadActionDefinitionAddSquadMemberPosition(tplayer: Player, position: Int): Unit
- def SquadActionDefinitionAssignSquadMemberToRole(char_id: Long, position: Int): Unit
- def SquadActionDefinitionAutoApproveInvitationRequests(tplayer: Player, state: Boolean): Unit
- def SquadActionDefinitionChangeSquadMemberRequirementsCertifications(tplayer: Player, position: Int, certs: Set[Certification]): Unit
- def SquadActionDefinitionChangeSquadMemberRequirementsDetailedOrders(tplayer: Player, position: Int, orders: String): Unit
- def SquadActionDefinitionChangeSquadMemberRequirementsRole(tplayer: Player, position: Int, role: String): Unit
- def SquadActionDefinitionChangeSquadPurpose(tplayer: Player, purpose: String): Unit
- def SquadActionDefinitionChangeSquadZone(tplayer: Player, zone_id: PlanetSideZoneID, sendTo: ActorRef): Unit
- def SquadActionDefinitionCloseSquadMemberPosition(tplayer: Player, position: Int): Unit
- def SquadActionDefinitionDeleteSquadFavorite(tplayer: Player, line: Int, sendTo: ActorRef): Unit
- def SquadActionDefinitionDisplaySquad(sendTo: ActorRef): Unit
- def SquadActionDefinitionLoadSquadFavorite(tplayer: Player, line: Int, sendTo: ActorRef): Unit
- def SquadActionDefinitionLocationFollowsSquadLead(tplayer: Player, state: Boolean): Unit
- def SquadActionDefinitionRequestListSquad(tplayer: Player, sendTo: ActorRef): Unit
- def SquadActionDefinitionResetAll(tplayer: Player): Unit
- def SquadActionDefinitionSaveSquadFavorite(tplayer: Player, line: Int, sendTo: ActorRef): Unit
- def SquadActionDefinitionSelectRoleForYourself(tplayer: Player, position: Int): Unit
- def SquadActionDefinitionStopListSquad(tplayer: Player, sendTo: ActorRef): Unit
- def SquadActionMembership(action: Any): Unit
- def SquadActionMembershipPromote(sponsoringPlayer: Long, promotedPlayer: Long): Unit
- def SquadActionUpdate(charId: Long, guid: PlanetSideGUID, health: Int, maxHealth: Int, armor: Int, maxArmor: Int, certifications: Set[Certification], pos: Vector3, zoneNumber: Int, player: Player, sendTo: ActorRef): Unit
- def SquadActionWaypoint(playerCharId: Long, waypointType: SquadWaypoint, info: Option[WaypointInfo]): Unit
- def SquadActionWaypoint(tplayer: Player, waypointType: SquadWaypoint, info: Option[WaypointInfo]): Unit
- def TryBlankLazeWaypoints(): Unit
- 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()
- 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
- 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
- SquadSwitchboard → 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
- SquadSwitchboard → 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
- 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()