This commit is contained in:
CortexCore
2025-03-09 13:38:23 +08:00
parent 8261a458e2
commit 18239a5ae4
67 changed files with 8573 additions and 831 deletions

View File

@@ -15,6 +15,9 @@ namespace BITKit
/// </summary>
public interface IRuntimeItemContainer:IBinarySerialize
{
public bool AllowAdd { get; set; }
public bool AllowRemove { get; set; }
public ValidHandle IsBusy { get; }
/// <summary>
/// 物品容器的唯一Id
@@ -96,6 +99,8 @@ namespace BITKit
throw new NotImplementedException();
}
public bool AllowAdd { get; set; }
public bool AllowRemove { get; set; }
public ValidHandle IsBusy { get; } = new();
public int Id { get; set; }
public IRuntimeItem[] GetItems()=>Items.Values.ToArray();