public GetGameCheat(GameCheat gameCheat) { CheatCallSuccessful = gameCheat.CheatCallSuccessful; CheatCaller = new GetGameUser(gameCheat.CheatCaller); LastClaimUser = new GetGameUser(gameCheat.LastClaimUser); PreCheatClaims = gameCheat.PreCheatClaims.ApiGetGameClaims(); }
public GetGameState(GameState gameState) { UserTurn = new GetGameUser(gameState.UserTurn); Hand = gameState.User.Hand.ApiGetGameCard(); Players = gameState.Players.ApiGetGameUsers(); Claims = gameState.Claims.ApiGetGameClaims(); LowerBoundRank = gameState.LowerBoundRank; UpperBoundRank = gameState.UpperBoundRank; MiddleBoundRank = gameState.MiddleBoundRank; CurrentGamePhase = (int)gameState.CurrentGamePhase; TurnPhaseDuration = gameState.TurnPhaseDuration; CallPhaseDuration = gameState.CallPhaseDuration; PreparationPhaseDuration = gameState.PreparationPhaseDuration; ActionHistory = gameState.ActionHistory; }
public GetGameClaim(GameClaim gameClaim) { Claims = gameClaim.Claims.ApiGetGameCard(); Actual = gameClaim.Actual.ApiGetGameCard(); ClaimUser = new GetGameUser(gameClaim.ClaimUser); }