using Fantasy.Entitas; namespace Fantasy.Gate; public sealed class GameAccountFlagComponent : Entity { public long AccountID; // 有一种可能,当在Account在其他地方被销毁 // 这时候因为这个Account是会回收到池子中,所以这个引用还是有效的 // 那这时候就会出现这个引用的Account可能是其他用户的了。 public EntityReference Account; }