C# Class PathfindingTest.UI.Menus.Multiplayer.MultiplayerLobby

Inheritance: XNAInterfaceComponents.Components.XNAPanel
Afficher le fichier Open project: Wotuu/RTS_XNA_v2

Méthodes publiques

Свойство Type Description
gameList CustomArrayList

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
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

Method Details

AddGame() public méthode

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

AddMessageToLog() public méthode

Adds a message to the log.
public AddMessageToLog ( String message ) : void
message String The message to add
Résultat void

AddUser() public méthode

Adds a user to the user log.
public AddUser ( SocketLibrary.Users.User toAdd ) : void
toAdd SocketLibrary.Users.User
Résultat void

CreateGame() public méthode

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

CreateGameBtnClicked() public méthode

User wants to create a game.
public CreateGameBtnClicked ( XNAButton source ) : void
source XNAInterfaceComponents.AbstractComponents.XNAButton Bla
Résultat void

DisconnectBtnClicked() public méthode

The user wants to disconnect.
public DisconnectBtnClicked ( XNAButton source ) : void
source XNAInterfaceComponents.AbstractComponents.XNAButton
Résultat void

GetGameByID() public méthode

Gets a game by ID.
public GetGameByID ( int gameID ) : MultiplayerGame
gameID int The game ID.
Résultat SocketLibrary.Multiplayer.MultiplayerGame

GetGameDisplayPanelByIndex() public méthode

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

MultiplayerLobby() public méthode

public MultiplayerLobby ( ) : System
Résultat System

OnKeyPressed() public méthode

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

RemoveGame() public méthode

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

RemoveGameByID() public méthode

Removes a game by game ID.
public RemoveGameByID ( int id ) : void
id int The game ID to remove.
Résultat void

RemoveUser() public méthode

Removes a user from the list.
public RemoveUser ( SocketLibrary.Users.User toRemove ) : void
toRemove SocketLibrary.Users.User
Résultat void

Unload() public méthode

public Unload ( ) : void
Résultat void

Property Details

gameList public_oe property

public CustomArrayList gameList
Résultat CustomArrayList