Méthode | Description | |
---|---|---|
AddUser ( SocketLibrary.Users.User user ) : void |
Adds a user to this game.
|
|
GetUser ( int index ) : SocketLibrary.Users.User |
Gets a user at an index.
|
|
GetUserByID ( int userID ) : SocketLibrary.Users.User |
Gets a user by its ID.
|
|
GetUserCount ( ) : int |
Gets the amount of users in this multiplayer game.
|
|
MultiplayerGame ( int gameID, String gamename, String mapname ) : System | ||
RemoveUser ( SocketLibrary.Users.User user ) : void |
Removes a user from the list.
|
public AddUser ( SocketLibrary.Users.User user ) : void | ||
user | SocketLibrary.Users.User | The user to add |
Résultat | void |
public GetUser ( int index ) : SocketLibrary.Users.User | ||
index | int | The index. |
Résultat | SocketLibrary.Users.User |
public GetUserByID ( int userID ) : SocketLibrary.Users.User | ||
userID | int | The ID of the user. |
Résultat | SocketLibrary.Users.User |
public MultiplayerGame ( int gameID, String gamename, String mapname ) : System | ||
gameID | int | |
gamename | String | |
mapname | String | |
Résultat | System |
public RemoveUser ( SocketLibrary.Users.User user ) : void | ||
user | SocketLibrary.Users.User | The user to remove. |
Résultat | void |