using Fantasy; using Fantasy.Entitas; namespace NB.Chat; public sealed class ChatUnit : Entity { public long GateRouteId; public RoleSimpleInfo Role; public override void Dispose() { if (IsDisposed) { return; } GateRouteId = 0; Role = null; base.Dispose(); } }