C# Class ctac.GamePlayersModel

Afficher le fichier Open project: dshook/centauri-tac

Méthodes publiques

Свойство Type Description
players List

Méthodes publiques

Méthode Description
AddOrUpdate ( PlayerModel player ) : void
GetByClientId ( System.Guid clientId ) : PlayerModel
GetByPlayerId ( int playerId ) : PlayerModel
OpponentId ( int currentTurnPlayerId ) : int

Method Details

AddOrUpdate() public méthode

public AddOrUpdate ( PlayerModel player ) : void
player PlayerModel
Résultat void

GetByClientId() public méthode

public GetByClientId ( System.Guid clientId ) : PlayerModel
clientId System.Guid
Résultat PlayerModel

GetByPlayerId() public méthode

public GetByPlayerId ( int playerId ) : PlayerModel
playerId int
Résultat PlayerModel

OpponentId() public méthode

public OpponentId ( int currentTurnPlayerId ) : int
currentTurnPlayerId int
Résultat int

Property Details

players public_oe property

public List players
Résultat List