C# 클래스 SanderVantEinde.SecretHitlerBot.GameRegistry

파일 보기 프로젝트 열기: sandervanteinde/TelegramBot

공개 프로퍼티들

프로퍼티 타입 설명
PlayerRoles SanderVantEinde.SecretHitlerBot.PlayerRole[]

Private Properties

프로퍼티 타입 설명
GetGameForHost Game

공개 메소드들

메소드 설명
GetGames ( ) : Game[]
HostGame ( User host ) : Game
IsInGame ( User user ) : bool
IsInGame ( User user, Game &game ) : bool
JoinGame ( User host, User join ) : int
RemoveGame ( Game game ) : void

비공개 메소드들

메소드 설명
GetGameForHost ( User from ) : Game

메소드 상세

GetGames() 공개 정적인 메소드

public static GetGames ( ) : Game[]
리턴 Game[]

HostGame() 공개 정적인 메소드

public static HostGame ( User host ) : Game
host SanderVantEinde.TelegramBot.User
리턴 Game

IsInGame() 공개 정적인 메소드

public static IsInGame ( User user ) : bool
user SanderVantEinde.TelegramBot.User
리턴 bool

IsInGame() 공개 정적인 메소드

public static IsInGame ( User user, Game &game ) : bool
user SanderVantEinde.TelegramBot.User
game Game
리턴 bool

JoinGame() 공개 정적인 메소드

public static JoinGame ( User host, User join ) : int
host SanderVantEinde.TelegramBot.User
join SanderVantEinde.TelegramBot.User
리턴 int

RemoveGame() 공개 정적인 메소드

public static RemoveGame ( Game game ) : void
game Game
리턴 void

프로퍼티 상세

PlayerRoles 공개적으로 정적으로 프로퍼티

public static PlayerRole[],SanderVantEinde.SecretHitlerBot PlayerRoles
리턴 SanderVantEinde.SecretHitlerBot.PlayerRole[]