缓存模块
This commit is contained in:
@@ -7,44 +7,69 @@ namespace NB.Game;
|
||||
public sealed class Player : Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 基础信息
|
||||
/// 昵称
|
||||
/// </summary>
|
||||
public PlayerBasic Basic;
|
||||
[BsonElement("name")] public string NickName = "";
|
||||
|
||||
/// <summary>
|
||||
/// 头像
|
||||
/// </summary>
|
||||
[BsonElement("head")] public string Head = "";
|
||||
|
||||
/// <summary>
|
||||
/// 国家
|
||||
/// </summary>
|
||||
[BsonElement("ccy")] public string Country = "";
|
||||
|
||||
/// <summary>
|
||||
/// 等级
|
||||
/// </summary>
|
||||
[BsonElement("lv")] public int Level;
|
||||
|
||||
/// <summary>
|
||||
/// 当前经验
|
||||
/// </summary>
|
||||
[BsonElement("exp")] public int Exp;
|
||||
|
||||
/// <summary>
|
||||
/// 是否是vip
|
||||
/// </summary>
|
||||
[BsonElement("vip")] public bool IsVip;
|
||||
|
||||
/// <summary>
|
||||
/// 统计信息
|
||||
/// </summary>
|
||||
public PlayerStatistics Statistics;
|
||||
[BsonElement("stat")] public PlayerStatistics Statistics;
|
||||
|
||||
/// <summary>
|
||||
/// 角色vip信息
|
||||
/// </summary>
|
||||
public PlayerVip Vip;
|
||||
[BsonElement("vInfo")] public PlayerVip Vip;
|
||||
|
||||
/// <summary>
|
||||
/// 钱包
|
||||
/// </summary>
|
||||
public PlayerWallet Wallet;
|
||||
[BsonElement("wallet")] public PlayerWallet Wallet;
|
||||
|
||||
/// <summary>
|
||||
/// 背包
|
||||
/// </summary>
|
||||
public ItemContainer ItemContainer;
|
||||
[BsonElement("bag")] public ItemContainer ItemContainer;
|
||||
|
||||
/// <summary>
|
||||
/// 鱼护
|
||||
/// </summary>
|
||||
public FishContainer FishContainer;
|
||||
[BsonElement("fish")] public FishContainer FishContainer;
|
||||
|
||||
/// <summary>
|
||||
/// 技能
|
||||
/// </summary>
|
||||
public SkillContainer SkillContainer;
|
||||
[BsonElement("skill")] public SkillContainer SkillContainer;
|
||||
|
||||
/// <summary>
|
||||
/// 成就
|
||||
/// </summary>
|
||||
public AchievementContainer AchievementContainer;
|
||||
[BsonElement("achievement")] public AchievementContainer AchievementContainer;
|
||||
|
||||
[BsonIgnore] public long SessionRunTimeId;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user