Packages

package account

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. class AccountIntermediaryService extends Actor

    This actor is essentially a bridge between the LoginSessionActor and WorldSessionActor.

    This actor is essentially a bridge between the LoginSessionActor and WorldSessionActor. When a player connects, the LoginSessionActor handles the account login by querying the database, comparing passwords etc, and then by inserting the account information into this actor by a token that is also sent to the player's client in the LoginRespMessage packet. The token is just like a browser cookie session token.

    When the player's client has processed the LoginRespMessage packet, it attempts to connect to the game world by sending a ConnectToWorldRequestMessage with the token which is used by the WorldSessionActor to lookup the player's account info from this actor.

    So this actor is a temporary store of account data for players logging into the login server and crossing over to the world server.

  2. class AccountPersistenceService extends Actor

    A global service that manages user behavior as divided into the following three categories: persistence (ongoing participation in the game world), relogging (short-term client connectivity issue resolution), and logout (end-of-life conditions involving the separation of a user from the game world).

    A user polls this service and the service either creates a new PersistenceMonitor entity or returns whatever PersistenceMonitor entity currently exists.

    A global service that manages user behavior as divided into the following three categories: persistence (ongoing participation in the game world), relogging (short-term client connectivity issue resolution), and logout (end-of-life conditions involving the separation of a user from the game world).

    A user polls this service and the service either creates a new PersistenceMonitor entity or returns whatever PersistenceMonitor entity currently exists. Performing informative updates to the monitor about the user's eventual player avatar instance (which can be performed by messaging the service indirectly, though sending directly to the monitor is recommended) facilitate the management of persistence. If connectivity issues with the client are encountered by the user, within a reasonable amount of time to connection restoration, the user may regain control of their existing persistence monitor and, thus, the same player avatar. End of life is mainly managed by the monitors internally and the monitors only communicate up to this service when executing their "end-of-life" operations.

  3. class IPAddress extends AnyRef
  4. class PersistenceMonitor extends Actor

    Observe and manage the persistence of a single named player avatar entity in the game world, with special care to the conditions of short interruption in connectivity (relogging) and end-of-life operations.

    Observe and manage the persistence of a single named player avatar entity in the game world, with special care to the conditions of short interruption in connectivity (relogging) and end-of-life operations. Upon login, the monitor will echo all of the current information about the user's (recent) login back to the sender. With a zone and a coordinate position in that zone, a user's player avatar can be properly reconnected or can be reconstructed. Without actual recent activity, the default information about the zone is an indication that the user must start this player avatar from scratch. The monitor expects a reliable update messaging (heartbeat) to keep track of the important information and to determine the conditions for end-of-life activity.

  5. final case class ReceiveAccountData(account: Account) extends Product with Serializable
  6. final case class ReceiveIPAddress(address: IPAddress) extends Product with Serializable
  7. final case class RetrieveAccountData(token: String) extends Product with Serializable
  8. final case class RetrieveIPAddress(sessionID: Long) extends Product with Serializable
  9. final case class StoreAccountData(token: String, account: Account) extends Product with Serializable
  10. final case class StoreIPAddress(sessionID: Long, address: IPAddress) extends Product with Serializable

Value Members

  1. object AccountPersistenceService
  2. object PlayerToken

Ungrouped