mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Started to implement inventory handling
This commit is contained in:
parent
76def0d56b
commit
5895a4161f
9 changed files with 148 additions and 1 deletions
|
|
@ -47,6 +47,8 @@ namespace MinecraftClient
|
|||
private string username;
|
||||
private string uuid;
|
||||
private string sessionid;
|
||||
private Inventory inventory;
|
||||
|
||||
|
||||
public int GetServerPort() { return port; }
|
||||
public string GetServerHost() { return host; }
|
||||
|
|
@ -589,6 +591,15 @@ namespace MinecraftClient
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// When an inventory is opened
|
||||
/// </summary>
|
||||
/// <param name="inventory">Location to reach</param>
|
||||
public void onInventoryOpen(Inventory inventory)
|
||||
{
|
||||
//TODO: Handle Inventory
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// When connection has been lost
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue