This commit is contained in:
2025-09-25 19:19:51 +08:00
parent ddffaac7b3
commit f3d82df793
25 changed files with 532 additions and 244 deletions

View File

@@ -59,7 +59,7 @@ public sealed class Player : Entity
/// <summary>
/// 背包
/// </summary>
[BsonElement("bag")] public ItemContainer ItemContainer;
[BsonElement("bag")] public PlayerItemContainer ItemContainer;
/// <summary>
/// 鱼护
@@ -83,14 +83,5 @@ public sealed class Player : Entity
public bool IsVip => Vip != null && Vip.ExpirationTime > TimeHelper.Now;
[BsonIgnore] public long SessionRunTimeId;
/// <summary>
/// 需要保存数据库
/// </summary>
[BsonIgnore] public bool NeedSave;
/// <summary>
/// 需要保存数据库时间
/// </summary>
[BsonIgnore] public long NeedSaveTime;
}