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);
 }
Beispiel #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);
 }
Beispiel #3
0
 private void onInventoryRemoved(byte E, byte y, ItemJar f)
 {
     OnPlayerInventoryRemoved.TryInvoke(Player, (InventoryGroup)E, y, f);
     OnInventoryRemoved.TryInvoke(Player, (InventoryGroup)E, y, f);
 }