public virtual void Close(Player player) { InventoryCloseEventArgs inventoryCloseEventArgs = new InventoryCloseEventArgs(this, player); InventoryEvents.OnInventoryClose(inventoryCloseEventArgs); this.OnClose(player); }
public static void OnInventoryClose(InventoryCloseEventArgs args) { InventoryClose?.Invoke(args); }