프로퍼티 | 타입 | 설명 | |
---|---|---|---|
userDisplayPanels | CustomArrayList |
프로퍼티 | 타입 | 설명 |
---|
메소드 | 설명 | |
---|---|---|
AddMessageToLog ( String message ) : void |
Adds a message to the log.
|
|
GameLobby ( ) : System | ||
GetDisplayPanel ( int index ) : |
Gets a user display panel by index.
|
|
GetDisplayPanelByUserId ( int userID ) : |
Gets a display panel by user ID.
|
|
GetDisplayPanelCount ( ) : int |
Gets the amount of display panels in this lobby.
|
|
GetDisplayPanelIndexByUserID ( int userID ) : int |
Gets the index of a dispaly panel by user.
|
|
IsCurrentUserHost ( ) : System.Boolean |
Checks whether the current user is host or not.
|
|
IsFull ( ) : System.Boolean |
Whether the game is full or not.
|
|
LeaveGame ( |
Leave the game.
|
|
OnKeyPressed ( XNAInputLibrary.KeyboardInput.KeyEvent e ) : void |
User pressed a key in the message textfield.
|
|
StartGame ( |
Pressed the start game button!
|
|
UserExists ( SocketLibrary.Users.User user ) : System.Boolean |
Checks whether the user exists in this lobby.
|
|
UserExists ( int userID ) : System.Boolean |
Checks whether the user exists in this lobby.
|
|
UserJoined ( SocketLibrary.Users.User user ) : void |
When a player joined, call this one.
|
|
UserLeft ( SocketLibrary.Users.User user ) : void |
Call this when a player left.
|
public AddMessageToLog ( String message ) : void | ||
message | String | The message to add |
리턴 | void |
public GetDisplayPanel ( int index ) : |
||
index | int | The index to get. |
리턴 |
public GetDisplayPanelByUserId ( int userID ) : |
||
userID | int | The user ID to get the panel from. |
리턴 |
public GetDisplayPanelIndexByUserID ( int userID ) : int | ||
userID | int | The user id |
리턴 | int |
public LeaveGame ( |
||
source | The button source | |
리턴 | void |
public OnKeyPressed ( XNAInputLibrary.KeyboardInput.KeyEvent e ) : void | ||
e | XNAInputLibrary.KeyboardInput.KeyEvent | The event |
리턴 | void |
public StartGame ( |
||
source | ||
리턴 | void |
public UserExists ( SocketLibrary.Users.User user ) : System.Boolean | ||
user | SocketLibrary.Users.User | The user to check |
리턴 | System.Boolean |
public UserJoined ( SocketLibrary.Users.User user ) : void | ||
user | SocketLibrary.Users.User | The user that joined. |
리턴 | void |
public UserLeft ( SocketLibrary.Users.User user ) : void | ||
user | SocketLibrary.Users.User | The user that left. |
리턴 | void |