配置表接入和升级服务器框架到最新版
This commit is contained in:
@@ -34,7 +34,7 @@ public sealed class Player : Entity
|
||||
/// 当前经验
|
||||
/// </summary>
|
||||
[BsonElement("exp")] public int Exp;
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 星数
|
||||
@@ -47,41 +47,20 @@ public sealed class Player : Entity
|
||||
[BsonElement("high")] public int Highlight;
|
||||
|
||||
/// <summary>
|
||||
/// 角色vip信息
|
||||
/// vip状态
|
||||
/// </summary>
|
||||
[BsonElement("vInfo")] public PlayerVip Vip;
|
||||
[BsonElement("vip")] public int Vip;
|
||||
|
||||
/// <summary>
|
||||
/// 钱包
|
||||
/// 获取时间
|
||||
/// </summary>
|
||||
[BsonElement("wallet")] public PlayerWallet Wallet;
|
||||
[BsonElement("vTime")] public long VipGetTime;
|
||||
|
||||
/// <summary>
|
||||
/// 背包
|
||||
/// 失效时间
|
||||
/// </summary>
|
||||
[BsonElement("bag")] public PlayerItemContainer ItemContainer;
|
||||
[BsonElement("vExTime")] public long VipExpirationTime;
|
||||
|
||||
/// <summary>
|
||||
/// 鱼护
|
||||
/// </summary>
|
||||
[BsonElement("fish")] public FishContainer FishContainer;
|
||||
|
||||
/// <summary>
|
||||
/// 技能
|
||||
/// </summary>
|
||||
[BsonElement("skill")] public SkillContainer SkillContainer;
|
||||
|
||||
/// <summary>
|
||||
/// 成就
|
||||
/// </summary>
|
||||
[BsonElement("achievement")] public AchievementContainer AchievementContainer;
|
||||
|
||||
/// <summary>
|
||||
/// 是否是vip
|
||||
/// </summary>
|
||||
[BsonIgnore]
|
||||
public bool IsVip => Vip != null && Vip.ExpirationTime > TimeHelper.Now;
|
||||
|
||||
[BsonIgnore] public long SessionRunTimeId;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user