Started to implement inventory handling

This commit is contained in:
xPenguinx 2019-05-25 17:45:59 -04:00 committed by ORelio
parent 76def0d56b
commit 5895a4161f
9 changed files with 148 additions and 1 deletions

View file

@ -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>