Свойство | Type | Description | |
---|---|---|---|
HandlePlayerDisconnect | void | ||
HandlePlayerJoin | void | ||
RaisePlayerListAdditionEvent | void | ||
RaisePlayerListChangedEvent | void | ||
RaisePlayerListDeletionEvent | void |
Méthode | Description | |
---|---|---|
AddPlayer ( Net.Bertware.Bukkitgui2.MinecraftInterop.PlayerHandler.Player player ) : void |
Add a player to the online players list and raise the according events
|
|
GetOnlinePlayerByName ( String name ) : Net.Bertware.Bukkitgui2.MinecraftInterop.PlayerHandler.Player |
Get an online player by their name
|
|
GetOnlinePlayerCount ( ) : int |
Get the amount of online players
|
|
GetOnlinePlayerNames ( ) : IEnumerable |
Get the online players
|
|
GetOnlinePlayers ( ) : IEnumerable |
Get the online players
|
|
Initialize ( ) : void |
Initialize the PlayerHandler class
|
|
IsPlayerListed ( String name ) : System.Boolean |
Check if a player is listed in the dictionarry of online players
|
|
RemovePlayer ( Net.Bertware.Bukkitgui2.MinecraftInterop.PlayerHandler.Player player ) : void |
Remove a player from the online players list and raise the according events
|
Méthode | Description | |
---|---|---|
HandlePlayerDisconnect ( string text, Net.Bertware.Bukkitgui2.MinecraftInterop.OutputHandler.OutputParseResult outputParseResult, IPlayerAction playeraction ) : void |
Handle a player disconnect event
|
|
HandlePlayerJoin ( string text, Net.Bertware.Bukkitgui2.MinecraftInterop.OutputHandler.OutputParseResult outputparseresult, IPlayerAction playeraction ) : void |
Handle a player join event
|
|
RaisePlayerListAdditionEvent ( Net.Bertware.Bukkitgui2.MinecraftInterop.PlayerHandler.Player player ) : void |
Raise a PlayerListAddition event
|
|
RaisePlayerListChangedEvent ( ) : void | ||
RaisePlayerListDeletionEvent ( Net.Bertware.Bukkitgui2.MinecraftInterop.PlayerHandler.Player player ) : void |
Raise a PlayerListDeletion event
|
public static AddPlayer ( Net.Bertware.Bukkitgui2.MinecraftInterop.PlayerHandler.Player player ) : void | ||
player | Net.Bertware.Bukkitgui2.MinecraftInterop.PlayerHandler.Player | The player to add |
Résultat | void |
public static GetOnlinePlayerByName ( String name ) : Net.Bertware.Bukkitgui2.MinecraftInterop.PlayerHandler.Player | ||
name | String | |
Résultat | Net.Bertware.Bukkitgui2.MinecraftInterop.PlayerHandler.Player |
public static GetOnlinePlayerCount ( ) : int | ||
Résultat | int |
public static GetOnlinePlayerNames ( ) : IEnumerable |
||
Résultat | IEnumerable |
public static GetOnlinePlayers ( ) : IEnumerable |
||
Résultat | IEnumerable |
public static IsPlayerListed ( String name ) : System.Boolean | ||
name | String | The name of the player to check |
Résultat | System.Boolean |
public static RemovePlayer ( Net.Bertware.Bukkitgui2.MinecraftInterop.PlayerHandler.Player player ) : void | ||
player | Net.Bertware.Bukkitgui2.MinecraftInterop.PlayerHandler.Player | The player to remove |
Résultat | void |