C# 클래스 PathfindingTest.UI.Menus.Multiplayer.MultiplayerLobby

상속: XNAInterfaceComponents.Components.XNAPanel
파일 보기 프로젝트 열기: Wotuu/RTS_XNA_v2

공개 프로퍼티들

프로퍼티 타입 설명
gameList CustomArrayList

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
AddGame ( MultiplayerGame toAdd ) : void

Adds a game to the lobby list

AddMessageToLog ( String message ) : void

Adds a message to the log.

AddUser ( SocketLibrary.Users.User toAdd ) : void

Adds a user to the user log.

CreateGame ( XNAButton source ) : void

User entered a game name and pressed OK

CreateGameBtnClicked ( XNAButton source ) : void

User wants to create a game.

DisconnectBtnClicked ( XNAButton source ) : void

The user wants to disconnect.

GetGameByID ( int gameID ) : MultiplayerGame

Gets a game by ID.

GetGameDisplayPanelByIndex ( int index ) : GameDisplayPanel

Gets a display panel by index.

MultiplayerLobby ( ) : System
OnKeyPressed ( XNAInputLibrary.KeyboardInput.KeyEvent e ) : void

User pressed a key in the message textfield.

RemoveGame ( MultiplayerGame toRemove ) : void

Removes a game from the game list.

RemoveGameByID ( int id ) : void

Removes a game by game ID.

RemoveUser ( SocketLibrary.Users.User toRemove ) : void

Removes a user from the list.

Unload ( ) : void

메소드 상세

AddGame() 공개 메소드

Adds a game to the lobby list
public AddGame ( MultiplayerGame toAdd ) : void
toAdd SocketLibrary.Multiplayer.MultiplayerGame The game to add
리턴 void

AddMessageToLog() 공개 메소드

Adds a message to the log.
public AddMessageToLog ( String message ) : void
message String The message to add
리턴 void

AddUser() 공개 메소드

Adds a user to the user log.
public AddUser ( SocketLibrary.Users.User toAdd ) : void
toAdd SocketLibrary.Users.User
리턴 void

CreateGame() 공개 메소드

User entered a game name and pressed OK
public CreateGame ( XNAButton source ) : void
source XNAInterfaceComponents.AbstractComponents.XNAButton The source
리턴 void

CreateGameBtnClicked() 공개 메소드

User wants to create a game.
public CreateGameBtnClicked ( XNAButton source ) : void
source XNAInterfaceComponents.AbstractComponents.XNAButton Bla
리턴 void

DisconnectBtnClicked() 공개 메소드

The user wants to disconnect.
public DisconnectBtnClicked ( XNAButton source ) : void
source XNAInterfaceComponents.AbstractComponents.XNAButton
리턴 void

GetGameByID() 공개 메소드

Gets a game by ID.
public GetGameByID ( int gameID ) : MultiplayerGame
gameID int The game ID.
리턴 SocketLibrary.Multiplayer.MultiplayerGame

GetGameDisplayPanelByIndex() 공개 메소드

Gets a display panel by index.
public GetGameDisplayPanelByIndex ( int index ) : GameDisplayPanel
index int The index.
리턴 PathfindingTest.UI.Menus.Multiplayer.Panels.GameDisplayPanel

MultiplayerLobby() 공개 메소드

public MultiplayerLobby ( ) : System
리턴 System

OnKeyPressed() 공개 메소드

User pressed a key in the message textfield.
public OnKeyPressed ( XNAInputLibrary.KeyboardInput.KeyEvent e ) : void
e XNAInputLibrary.KeyboardInput.KeyEvent The event
리턴 void

RemoveGame() 공개 메소드

Removes a game from the game list.
public RemoveGame ( MultiplayerGame toRemove ) : void
toRemove SocketLibrary.Multiplayer.MultiplayerGame What game to remove!
리턴 void

RemoveGameByID() 공개 메소드

Removes a game by game ID.
public RemoveGameByID ( int id ) : void
id int The game ID to remove.
리턴 void

RemoveUser() 공개 메소드

Removes a user from the list.
public RemoveUser ( SocketLibrary.Users.User toRemove ) : void
toRemove SocketLibrary.Users.User
리턴 void

Unload() 공개 메소드

public Unload ( ) : void
리턴 void

프로퍼티 상세

gameList 공개적으로 프로퍼티

public CustomArrayList gameList
리턴 CustomArrayList