init
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using RPGCore.BackpackEquipment.Objects;
|
||||
|
||||
namespace RPGCore.BackpackEquipment.ObjectModules.Content
|
||||
{
|
||||
public interface IContentOwner
|
||||
{
|
||||
internal bool Add_Internal(ItemObject item, int index = -1)
|
||||
{
|
||||
return CanAdd(item, index) && Add(item, index);
|
||||
}
|
||||
|
||||
internal bool Remove_Internal(ItemObject item) => Remove(item);
|
||||
|
||||
public bool CanAdd(ItemObject item, int index);
|
||||
protected bool Add(ItemObject item, int index);
|
||||
protected bool Remove(ItemObject item);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user