1
This commit is contained in:
28
Src/Inventory/IPlayerPlateInventory.cs
Normal file
28
Src/Inventory/IPlayerPlateInventory.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using BITKit;
|
||||
using Unity.Mathematics;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Net.Project.B.Inventory
|
||||
{
|
||||
public interface IPlayerPlateInventory
|
||||
{
|
||||
IReadOnlyDictionary<int, IRuntimeItem> Plates { get; }
|
||||
IReadOnlyDictionary<int,int> PlateSlotProviders { get; }
|
||||
public event Action<IRuntimeItem> OnPlateAdded;
|
||||
public event Action<IRuntimeItem> OnPlateRemoved;
|
||||
public event Action<IRuntimeItem> OnPlateDamaged ;
|
||||
public event Action<IRuntimeItem> OnPlateDestroyed ;
|
||||
public event Action<int2,int2> OnPlateSlotsUpdated;
|
||||
public event Action<int2, int2> OnSlotsUpdated;
|
||||
public event Action<int2, int2> OnArmorPointsUpdated;
|
||||
int2 PlateSlots { get; }
|
||||
int2 ArmorPoints { get; }
|
||||
bool AddPlateSlotProvider(int key, int count);
|
||||
bool RemovePlateSlotProvider(int key);
|
||||
bool TryAddPlate(IRuntimeItem item);
|
||||
bool TryRemovePlate(int id);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user