This commit is contained in:
CortexCore
2023-10-24 23:37:59 +08:00
parent 325f63d6bc
commit 3e39e627bc
388 changed files with 29043 additions and 889 deletions

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections;
using System.Collections.Generic;
using BITKit;
using UnityEngine;
using UnityEngine.Experimental.Audio;
namespace BITFALL.Items
{
public interface IEntitySwapItem
{
bool TryGetCurrentContainer(out IBasicItemContainer container);
event Func<IBasicItemContainer, bool> OpenSwapFactory;
event Action<IBasicItemContainer> OnSwapOpened;
event Action<IBasicItemContainer> OnSwapClosed;
public bool Add(IBasicItem item);
public bool Remove(IBasicItem item);
bool Open(IBasicItemContainer container);
bool Close();
}
}