C# 클래스 ctac.GamePlayersModel

파일 보기 프로젝트 열기: dshook/centauri-tac

공개 프로퍼티들

프로퍼티 타입 설명
players List

공개 메소드들

메소드 설명
AddOrUpdate ( PlayerModel player ) : void
GetByClientId ( System.Guid clientId ) : PlayerModel
GetByPlayerId ( int playerId ) : PlayerModel
OpponentId ( int currentTurnPlayerId ) : int

메소드 상세

AddOrUpdate() 공개 메소드

public AddOrUpdate ( PlayerModel player ) : void
player PlayerModel
리턴 void

GetByClientId() 공개 메소드

public GetByClientId ( System.Guid clientId ) : PlayerModel
clientId System.Guid
리턴 PlayerModel

GetByPlayerId() 공개 메소드

public GetByPlayerId ( int playerId ) : PlayerModel
playerId int
리턴 PlayerModel

OpponentId() 공개 메소드

public OpponentId ( int currentTurnPlayerId ) : int
currentTurnPlayerId int
리턴 int

프로퍼티 상세

players 공개적으로 프로퍼티

public List players
리턴 List