mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Close Window & Toggle Setting
This commit is contained in:
parent
5895a4161f
commit
9c0e3f3bcb
6 changed files with 75 additions and 21 deletions
|
|
@ -28,6 +28,7 @@ namespace MinecraftClient.Protocol
|
|||
World GetWorld();
|
||||
bool GetTerrainEnabled();
|
||||
bool SetTerrainEnabled(bool enabled);
|
||||
bool GetInventoryEnabled();
|
||||
|
||||
/// <summary>
|
||||
/// Called when a server was successfully joined
|
||||
|
|
@ -41,11 +42,15 @@ namespace MinecraftClient.Protocol
|
|||
/// <param name="isJson">TRUE if the text is JSON-Encoded</param>
|
||||
void OnTextReceived(string text, bool isJson);
|
||||
|
||||
/// <summary>
|
||||
/// This method is called when an inventory is opened
|
||||
/// <summary>
|
||||
/// Called when an inventory is opened
|
||||
/// </summary>
|
||||
/// <param name="inventory">Inventory that was opened</param>
|
||||
void onInventoryOpen(Inventory inventory);
|
||||
void onInventoryOpen(Inventory inventory);
|
||||
|
||||
/// <summary>
|
||||
/// Called when an inventory is closed
|
||||
/// </summary>
|
||||
void onInventoryClose(byte inventoryID);
|
||||
|
||||
/// <summary>
|
||||
/// Called when the player respawns, which happens on login, respawn and world change.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue