Свойство | Тип | Описание | |
---|---|---|---|
HandlePlayerDisconnect | void | ||
HandlePlayerJoin | void | ||
RaisePlayerListAdditionEvent | void | ||
RaisePlayerListChangedEvent | void | ||
RaisePlayerListDeletionEvent | void |
Метод | Описание | |
---|---|---|
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
|
Метод | Описание | |
---|---|---|
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 |
Результат | void |
public static GetOnlinePlayerByName ( String name ) : Net.Bertware.Bukkitgui2.MinecraftInterop.PlayerHandler.Player | ||
name | String | |
Результат | Net.Bertware.Bukkitgui2.MinecraftInterop.PlayerHandler.Player |
public static GetOnlinePlayerCount ( ) : int | ||
Результат | int |
public static GetOnlinePlayerNames ( ) : IEnumerable |
||
Результат | IEnumerable |
public static GetOnlinePlayers ( ) : IEnumerable |
||
Результат | IEnumerable |
public static IsPlayerListed ( String name ) : System.Boolean | ||
name | String | The name of the player to check |
Результат | System.Boolean |
public static RemovePlayer ( Net.Bertware.Bukkitgui2.MinecraftInterop.PlayerHandler.Player player ) : void | ||
player | Net.Bertware.Bukkitgui2.MinecraftInterop.PlayerHandler.Player | The player to remove |
Результат | void |