mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
ConsoleIcon support Windows 10 on new Console & OnLatencyUpdate Event (#1044)
* new ConsoleIcon support * Update ChatBot.cs + OnLatencyUpdate * Update McTcpClient.cs + OnLatencyUpdate * Update Protocol18.cs + OnLatencyUpdate * Update IMinecraftComHandler.cs + OnLatencyUpdate * Update Protocol18.cs + BugFix * Update ConsoleIcon.cs
This commit is contained in:
parent
85f5117833
commit
b800bbcb37
5 changed files with 65 additions and 4 deletions
|
|
@ -212,6 +212,14 @@ namespace MinecraftClient
|
|||
/// <param name="uuid">Player UUID</param>
|
||||
/// <param name="gamemode">New Game Mode (0: Survival, 1: Creative, 2: Adventure, 3: Spectator).</param>
|
||||
public virtual void OnGamemodeUpdate(string playername, Guid uuid, int gamemode) { }
|
||||
|
||||
/// <summary>
|
||||
/// Called when the Latency has been updated for a player
|
||||
/// </summary>
|
||||
/// <param name="playername">Player Name</param>
|
||||
/// <param name="uuid">Player UUID</param>
|
||||
/// <param name="latency">Latency.</param>
|
||||
public virtual void OnLatencyUpdate(string playername, Guid uuid, int latency) { }
|
||||
|
||||
/* =================================================================== */
|
||||
/* ToolBox - Methods below might be useful while creating your bot. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue