服务器相关

This commit is contained in:
2025-07-30 09:17:13 +08:00
parent 09bbae66d2
commit e612d8fe38
4 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
using Fantasy.Entitas;
namespace NB;
public class PlayerInfo : Entity
{
/// <summary>
/// 昵称
/// </summary>
public string NickName;
/// <summary>
/// 头像
/// </summary>
public string Head;
}

View File

@@ -15,6 +15,8 @@ public sealed class Player : Entity
[BsonDictionaryOptions(DictionaryRepresentation.ArrayOfArrays)]
public Dictionary<int, int> Currency = new();
[BsonIgnore] public long SessionRunTimeId;