메소드 | 설명 | |
---|---|---|
CardPlayed ( Entities game, System.Boolean sendToSpectators ) : void |
Update the game view when a card is played
|
|
CommanderLeft ( Entities game, String commanderName ) : void |
Alert the users that the round has been lost because the commander has left
|
|
SendMessage ( ActiveConnection selectActiveConnection ) : System | ||
SendWinnerSelected ( Entities game, Entities round, System.Boolean sendToSpectators ) : void |
Update the game view when the commander has selected the winner of the round
|
|
UpdateGame ( Entities game, System.Boolean sendToSpectators ) : void |
Update most of the game view
|
|
UpdateGame ( Entities game, System.Boolean sendToSpectators, |
Update most of the game view
|
|
UpdateLobby ( Entities game, System.Boolean sendToSpectators ) : void |
Update the lobby
|
|
UpdateWaiting ( Entities game, System.Boolean sendToSpectators ) : void |
Update the waiting screen for the game
|
|
VoteComplete ( |
Alert the users a vote to kick has completed
|
|
Voted ( |
Alert the users a vote to kick has been placed
|
메소드 | 설명 | |
---|---|---|
Execute ( Entities game, Entities action, System.Boolean sendToSpectators, |
||
ExecuteAction ( Entities game, Entities action, IEnumerable |
||
GetConnections ( |
||
GetGameBoardModal ( Entities connection, Entities game ) : Entities.Models.Game.Board.GameBoard |
Get a gameboard model
|
|
GetGameLobbyViewModel ( Entities connection, Entities game ) : Entities.Models.Game.Board.Lobby | ||
GetPlayerType ( Entities connection ) : Entities.Enums.GamePlayerType | ||
SendWinnerSelected ( Entities game, Entities round, IEnumerable |
public CardPlayed ( Entities game, System.Boolean sendToSpectators ) : void | ||
game | Entities | The game to update |
sendToSpectators | System.Boolean | Should this update go to the spectators |
리턴 | void |
public CommanderLeft ( Entities game, String commanderName ) : void | ||
game | Entities | The game |
commanderName | String | The commander's name |
리턴 | void |
public SendMessage ( ActiveConnection selectActiveConnection ) : System | ||
selectActiveConnection | ActiveConnection | |
리턴 | System |
public SendWinnerSelected ( Entities game, Entities round, System.Boolean sendToSpectators ) : void | ||
game | Entities | The game to update |
round | Entities | The game's current round |
sendToSpectators | System.Boolean | Should this update go to spectators |
리턴 | void |
public UpdateGame ( Entities game, System.Boolean sendToSpectators ) : void | ||
game | Entities | The game to update |
sendToSpectators | System.Boolean | Should this update go to the spectators |
리턴 | void |
public UpdateGame ( Entities game, System.Boolean sendToSpectators, |
||
game | Entities | The game to update |
sendToSpectators | System.Boolean | Should this update go to the spectators |
forcedToLeaveUserId | The player was forced to leave | |
리턴 | void |
public UpdateLobby ( Entities game, System.Boolean sendToSpectators ) : void | ||
game | Entities | The game to update |
sendToSpectators | System.Boolean | Should this update go to the spectators |
리턴 | void |
public UpdateWaiting ( Entities game, System.Boolean sendToSpectators ) : void | ||
game | Entities | The game to update |
sendToSpectators | System.Boolean | Should this update go to the spectators |
리턴 | void |
public VoteComplete ( |
||
gameID | The game ID | |
kickedUser | Entities | The user that was being voted on |
votesToKick | The number of votes to kick | |
votesNotToKick | The number votes not to kick | |
isKicked | System.Boolean | Was the user kicked based on the votes |
리턴 | void |
public Voted ( |
||
gameID | The game ID | |
kickedUser | Entities | The user that was being voted on |
votesToKick | The number of votes to kick | |
votesNotToKick | The number votes not to kick | |
alreadyVoted | List |
UserIds for users that have already voted |
리턴 | void |