private void OnGlobalInventoryResized(byte page, byte newWidth, byte newHeight)
 {
     OnPlayerInventoryResized?.TryInvoke(Player, (InventoryGroup)Enum.Parse(typeof(InventoryGroup), page.ToString()), newHeight, newHeight);
     OnInventoryResized?.TryInvoke(Player, (InventoryGroup)Enum.Parse(typeof(InventoryGroup), page.ToString()), newHeight, newHeight);
 }
Esempio n. 2
0
 private void onInventoryResized(byte E, byte M, byte U)
 {
     OnPlayerInventoryResized.TryInvoke(Player, (InventoryGroup)Enum.Parse(typeof(InventoryGroup), E.ToString()), M, U);
     OnInventoryResized.TryInvoke(Player, (InventoryGroup)Enum.Parse(typeof(InventoryGroup), E.ToString()), M, U);
 }
Esempio n. 3
0
 private void onInventoryResized(byte E, byte M, byte U)
 {
     OnPlayerInventoryResized.TryInvoke(Player, (InventoryGroup)E, M, U);
     OnInventoryResized.TryInvoke(Player, (InventoryGroup)E, M, U);
 }