定义
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user