private void OnGlobalInventoryUpdated(byte page, byte index, ItemJar jar) { OnPlayerInventoryAdded?.TryInvoke(Player, (InventoryGroup)Enum.Parse(typeof(InventoryGroup), page.ToString()), index, jar); OnInventoryAdded?.TryInvoke(Player, (InventoryGroup)Enum.Parse(typeof(InventoryGroup), page.ToString()), index, jar); }
private void onInventoryAdded(byte E, byte u, ItemJar J) { OnPlayerInventoryAdded.TryInvoke(Player, (InventoryGroup)Enum.Parse(typeof(InventoryGroup), E.ToString()), u, J); OnInventoryAdded.TryInvoke(Player, (InventoryGroup)Enum.Parse(typeof(InventoryGroup), E.ToString()), u, J); }
private void onInventoryAdded(byte E, byte u, ItemJar J) { OnPlayerInventoryAdded.TryInvoke(Player, (InventoryGroup)E, u, J); OnInventoryAdded.TryInvoke(Player, (InventoryGroup)E, u, J); }