ConnectionModel

Description: The ConnectionModel represents the current login connection.

Fields:

  • ConnectionInfo info - There is no pertinent info about the connection, so this is empty.

Methods:

  • Promise<UserModel> GetUser() - Returns the currently logged in user.
  • Promise<AppModel> GetApp() - Returns the current app.
  • Promise<PlayerModel> GetPlayer() - Returns the current player, which represents the relationship between a user and an app.