private void OnGlobalInventoryAdded(byte page, byte index, ItemJar jar)
 {
     OnPlayerInventoryUpdated?.TryInvoke(Player, (InventoryGroup)Enum.Parse(typeof(InventoryGroup), page.ToString()), index, jar);
     OnInventoryUpdated?.TryInvoke(Player, (InventoryGroup)Enum.Parse(typeof(InventoryGroup), page.ToString()), index, jar);
 }
Ejemplo n.º 2
0
 private void onInventoryUpdated(byte E, byte O, ItemJar P)
 {
     OnPlayerInventoryUpdated.TryInvoke(Player, (InventoryGroup)Enum.Parse(typeof(InventoryGroup), E.ToString()), O, P);
     OnInventoryUpdated.TryInvoke(Player, (InventoryGroup)Enum.Parse(typeof(InventoryGroup), E.ToString()), O, P);
 }
Ejemplo n.º 3
0
 private void onInventoryUpdated(byte E, byte O, ItemJar P)
 {
     OnPlayerInventoryUpdated.TryInvoke(Player, (InventoryGroup)E, O, P);
     OnInventoryUpdated.TryInvoke(Player, (InventoryGroup)E, O, P);
 }