Метод | Описание | |
---|---|---|
AllPlayersAnswered ( ) : System.Boolean |
Check to see if all players have answered
|
|
GameRound ( ) : System | ||
GameRound ( IDataReader idr ) : System | ||
GroupedAnswers ( ) : Entities.GameRoundCard>>.List |
Return grouped answers based on who played them
|
|
HasAnswer ( |
Check to see if user has answered the question already
|
|
HasWinner ( ) : System.Boolean |
The round has a winner
|
|
IsCommander ( |
Determine if the user is the card commander
|
|
ValidateCardPlayedCount ( |
Validate the right number of cards were played for the question
|
|
ValidateWinnerSelection ( List |
Validate that the selected winner was in fact played during the round
|
|
Winner ( ) : Entities.User |
Get the next commander based round winner
|
public AllPlayersAnswered ( ) : System.Boolean | ||
Результат | System.Boolean |
public GameRound ( IDataReader idr ) : System | ||
idr | IDataReader | |
Результат | System |
public GroupedAnswers ( ) : Entities.GameRoundCard>>.List |
||
Результат | Entities.GameRoundCard>>.List |
public HasAnswer ( |
||
userId | The user Id to check | |
Результат | System.Boolean |
public IsCommander ( |
||
userId | The user Id to check | |
Результат | System.Boolean |
public ValidateCardPlayedCount ( |
||
cardsCount | The number of cards played | |
Результат | System.Boolean |
public ValidateWinnerSelection ( List |
||
cardIDs | List |
The IDs of winning cards |
Результат | List |