服务器相关
This commit is contained in:
16
Entity/Game/Player/Child/PlayerInfo.cs
Normal file
16
Entity/Game/Player/Child/PlayerInfo.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using Fantasy.Entitas;
|
||||
|
||||
namespace NB;
|
||||
|
||||
public class PlayerInfo : Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 昵称
|
||||
/// </summary>
|
||||
public string NickName;
|
||||
|
||||
/// <summary>
|
||||
/// 头像
|
||||
/// </summary>
|
||||
public string Head;
|
||||
}
|
||||
@@ -15,6 +15,8 @@ public sealed class Player : Entity
|
||||
|
||||
[BsonDictionaryOptions(DictionaryRepresentation.ArrayOfArrays)]
|
||||
public Dictionary<int, int> Currency = new();
|
||||
|
||||
|
||||
|
||||
[BsonIgnore] public long SessionRunTimeId;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user