mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
24 lines
576 B
C#
24 lines
576 B
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
|
|||
|
|
namespace MinecraftClient.Protocol
|
|||
|
|
{
|
|||
|
|
public class Inventory
|
|||
|
|
{
|
|||
|
|
public byte id { get; set; }
|
|||
|
|
public InventoryType type { get; set; }
|
|||
|
|
public string title { get; set; }
|
|||
|
|
public byte slots { get; set; }
|
|||
|
|
public Dictionary<Item, int> items { get; set; }
|
|||
|
|
|
|||
|
|
public Inventory(byte id, InventoryType type, string title, byte slots)
|
|||
|
|
{
|
|||
|
|
this.id = id;
|
|||
|
|
this.type = type;
|
|||
|
|
this.title = title;
|
|||
|
|
this.slots = slots;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|