View Source Teiserver.Connections.Client (Teiserver v0.0.1)
A client represents the logged in instance of a user. Clients are not persisted in the database
Summary
Types
@type t() :: %Teiserver.Connections.Client{ afk?: boolean(), connections: list(), id: Teiserver.user_id(), in_game?: boolean(), lobby_host?: boolean(), lobby_id: Teiserver.lobby_id() | nil, party_id: Teiserver.party_id() | nil, player?: boolean(), player_number: non_neg_integer() | nil, ready?: boolean(), sync: map() | nil, team_colour: String.t() | nil, team_number: non_neg_integer() | nil }
Functions
@spec new(Teiserver.user_id()) :: t()