Islands.Engine.GameServer.ReplyTuple (Islands Engine v0.2.65)

View Source

Summary

Types

Action like :add_player or reason like :duplicate_player_name

t()

Types

action_or_reason()

@type action_or_reason() :: atom()

Action like :add_player or reason like :duplicate_player_name

t()

@type t() :: {:reply, Islands.Tally.t(), Islands.Game.t(), timeout()}

Functions

new(game, player_id)

@spec new(Islands.Game.t(), Islands.PlayerID.t()) :: t()

new(action, game, request, player_id)