15 lines
450 B
C#
15 lines
450 B
C#
using Fantasy.Entitas;
|
||
|
||
namespace NB.Gate;
|
||
|
||
public sealed class PlayerFlagComponent : Entity
|
||
{
|
||
public bool Kick { get; set; }
|
||
|
||
public long AccountID;
|
||
|
||
// 有一种可能,当在Account在其他地方被销毁
|
||
// 这时候因为这个Account是会回收到池子中,所以这个引用还是有效的
|
||
// 那这时候就会出现这个引用的Account可能是其他用户的了。
|
||
public EntityReference<Player> Player;
|
||
} |