See Soulless.Websocket.Client.fetch/2.
Soulless.Websocket.Client.fetch/2
See Soulless.Websocket.Client.fetch/3.
Soulless.Websocket.Client.fetch/3
Current game players and rules
@spec auth_game( client :: pid(), payload :: Soulless.Game.Lq.ReqAuthGame.t(), timeout() | nil ) :: {:ok, Soulless.Game.Lq.ResAuthGame.t()} | {:error, term()}
@spec auth_observe( client :: pid(), payload :: Soulless.Game.Lq.ReqAuthObserve.t(), timeout() | nil ) :: {:ok, Soulless.Game.Lq.ResCommon.t()} | {:error, term()}
@spec broadcast_in_game( client :: pid(), payload :: Soulless.Game.Lq.ReqBroadcastInGame.t(), timeout() | nil ) :: {:ok, Soulless.Game.Lq.ResCommon.t()} | {:error, term()}
@spec check_network_delay(client :: pid(), timeout() | nil) :: {:ok, Soulless.Game.Lq.ResCommon.t()} | {:error, term()}
@spec clear_leaving(client :: pid(), timeout() | nil) :: {:ok, Soulless.Game.Lq.ResCommon.t()} | {:error, term()}
@spec confirm_new_round(client :: pid(), timeout() | nil) :: {:ok, Soulless.Game.Lq.ResCommon.t()} | {:error, term()}
@spec enter_game(client :: pid(), timeout() | nil) :: {:ok, Soulless.Game.Lq.ResEnterGame.t()} | {:error, term()}
@spec fetch_game_player_state(client :: pid(), timeout() | nil) :: {:ok, Soulless.Game.Lq.ResGamePlayerState.t()} | {:error, term()}
@spec finish_sync_game(client :: pid(), timeout() | nil) :: {:ok, Soulless.Game.Lq.ResCommon.t()} | {:error, term()}
@spec input_chi_peng_gang( client :: pid(), payload :: Soulless.Game.Lq.ReqChiPengGang.t(), timeout() | nil ) :: {:ok, Soulless.Game.Lq.ResCommon.t()} | {:error, term()}
@spec input_game_gm_command( client :: pid(), payload :: Soulless.Game.Lq.ReqGMCommandInGaming.t(), timeout() | nil ) :: {:ok, Soulless.Game.Lq.ResCommon.t()} | {:error, term()}
@spec input_operation( client :: pid(), payload :: Soulless.Game.Lq.ReqSelfOperation.t(), timeout() | nil ) :: {:ok, Soulless.Game.Lq.ResCommon.t()} | {:error, term()}
@spec start_observe(client :: pid(), timeout() | nil) :: {:ok, Soulless.Game.Lq.ResStartObserve.t()} | {:error, term()}
@spec stop_observe(client :: pid(), timeout() | nil) :: {:ok, Soulless.Game.Lq.ResCommon.t()} | {:error, term()}
@spec sync_game( client :: pid(), payload :: Soulless.Game.Lq.ReqSyncGame.t(), timeout() | nil ) :: {:ok, Soulless.Game.Lq.ResSyncGame.t()} | {:error, term()}
@spec terminate_game(client :: pid(), timeout() | nil) :: {:ok, Soulless.Game.Lq.ResCommon.t()} | {:error, term()}
@spec vote_game_end( client :: pid(), payload :: Soulless.Game.Lq.ReqVoteGameEnd.t(), timeout() | nil ) :: {:ok, Soulless.Game.Lq.ResGameEndVote.t()} | {:error, term()}