修改协议工具

This commit is contained in:
2025-07-27 23:46:43 +08:00
parent 743c1d2baa
commit be33e12b35
112 changed files with 1021 additions and 1119 deletions

View File

@@ -9,6 +9,5 @@ public sealed class Player : Entity
public long LoginTime;
[BsonIgnore]
// BsonIgnore特性是让Bson保存到数据库中忽略掉这个字段。
public long SessionRunTimeId;
}

View File

@@ -11,5 +11,5 @@ public sealed class PlayerFlagComponent : Entity
// 有一种可能当在Account在其他地方被销毁
// 这时候因为这个Account是会回收到池子中所以这个引用还是有效的
// 那这时候就会出现这个引用的Account可能是其他用户的了。
public EntityReference<Player> Account;
public EntityReference<Player> Player;
}