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);
 }
Example #2
0
 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);
 }
Example #3
0
 private void onInventoryAdded(byte E, byte u, ItemJar J)
 {
     OnPlayerInventoryAdded.TryInvoke(Player, (InventoryGroup)E, u, J);
     OnInventoryAdded.TryInvoke(Player, (InventoryGroup)E, u, J);
 }