Packages

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
Linear Supertypes
Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SquadSwitchboard
  2. Actor
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SquadSwitchboard(features: SquadFeatures, subscriptions: SquadSubscriptionEntity)

    features

    squad and associated information about the squad

    subscriptions

    individually-connected subscription service

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

  5. 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 in subs.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

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

  7. def SquadActionDefinition(tplayer: Player, line: Int, action: packet.game.SquadAction, sendTo: ActorRef): Unit
  8. def SquadActionDefinitionAddSquadMemberPosition(tplayer: Player, position: Int): Unit
  9. def SquadActionDefinitionAssignSquadMemberToRole(char_id: Long, position: Int): Unit
  10. def SquadActionDefinitionAutoApproveInvitationRequests(tplayer: Player, state: Boolean): Unit
  11. def SquadActionDefinitionChangeSquadMemberRequirementsCertifications(tplayer: Player, position: Int, certs: Set[Certification]): Unit
  12. def SquadActionDefinitionChangeSquadMemberRequirementsDetailedOrders(tplayer: Player, position: Int, orders: String): Unit
  13. def SquadActionDefinitionChangeSquadMemberRequirementsRole(tplayer: Player, position: Int, role: String): Unit
  14. def SquadActionDefinitionChangeSquadPurpose(tplayer: Player, purpose: String): Unit
  15. def SquadActionDefinitionChangeSquadZone(tplayer: Player, zone_id: PlanetSideZoneID, sendTo: ActorRef): Unit
  16. def SquadActionDefinitionCloseSquadMemberPosition(tplayer: Player, position: Int): Unit
  17. def SquadActionDefinitionDeleteSquadFavorite(tplayer: Player, line: Int, sendTo: ActorRef): Unit
  18. def SquadActionDefinitionDisplaySquad(sendTo: ActorRef): Unit
  19. def SquadActionDefinitionLoadSquadFavorite(tplayer: Player, line: Int, sendTo: ActorRef): Unit
  20. def SquadActionDefinitionLocationFollowsSquadLead(tplayer: Player, state: Boolean): Unit
  21. def SquadActionDefinitionRequestListSquad(tplayer: Player, sendTo: ActorRef): Unit
  22. def SquadActionDefinitionResetAll(tplayer: Player): Unit
  23. def SquadActionDefinitionSaveSquadFavorite(tplayer: Player, line: Int, sendTo: ActorRef): Unit
  24. def SquadActionDefinitionSelectRoleForYourself(tplayer: Player, position: Int): Unit
  25. def SquadActionDefinitionStopListSquad(tplayer: Player, sendTo: ActorRef): Unit
  26. def SquadActionMembership(action: Any): Unit
  27. def SquadActionMembershipPromote(sponsoringPlayer: Long, promotedPlayer: Long): Unit
  28. 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
  29. def SquadActionWaypoint(playerCharId: Long, waypointType: SquadWaypoint, info: Option[WaypointInfo]): Unit
  30. def SquadActionWaypoint(tplayer: Player, waypointType: SquadWaypoint, info: Option[WaypointInfo]): Unit
  31. def TryBlankLazeWaypoints(): Unit
  32. def aroundPostRestart(reason: Throwable): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  33. def aroundPostStop(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  34. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  35. def aroundPreStart(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  36. def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  37. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  38. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  39. implicit val context: ActorContext
    Definition Classes
    Actor
  40. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  41. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  42. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  43. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  44. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  45. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  46. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  47. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  48. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  49. def postRestart(reason: Throwable): Unit
    Definition Classes
    Actor
    Annotations
    @throws(classOf[java.lang.Exception])
  50. def postStop(): Unit
    Definition Classes
    SquadSwitchboard → Actor
  51. def preRestart(reason: Throwable, message: Option[Any]): Unit
    Definition Classes
    Actor
    Annotations
    @throws(classOf[java.lang.Exception])
  52. def preStart(): Unit
    Definition Classes
    Actor
    Annotations
    @throws(classOf[java.lang.Exception])
  53. def receive: Receive
    Definition Classes
    SquadSwitchboard → Actor
  54. implicit final val self: ActorRef
    Definition Classes
    Actor
  55. final def sender(): ActorRef
    Definition Classes
    Actor
  56. def supervisorStrategy: SupervisorStrategy
    Definition Classes
    Actor
  57. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  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 Actor

Inherited from AnyRef

Inherited from Any

Ungrouped