コード例 #1
0
 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);
 }
コード例 #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);
 }
コード例 #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);
 }