private void OnGlobalInventoryRemoved(byte page, byte index, ItemJar jar)
 {
     OnPlayerInventoryRemoved?.TryInvoke(Player, (InventoryGroup)Enum.Parse(typeof(InventoryGroup), page.ToString()), index, jar);
     OnInventoryRemoved?.TryInvoke(Player, (InventoryGroup)Enum.Parse(typeof(InventoryGroup), page.ToString()), index, jar);
 }
Ejemplo n.º 2
0
 private void onInventoryRemoved(byte E, byte y, ItemJar f)
 {
     OnPlayerInventoryRemoved.TryInvoke(Player, (InventoryGroup)Enum.Parse(typeof(InventoryGroup), E.ToString()), y, f);
     OnInventoryRemoved.TryInvoke(Player, (InventoryGroup)Enum.Parse(typeof(InventoryGroup), E.ToString()), y, f);
 }