23 lines
349 B
C#
23 lines
349 B
C#
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();
|
|
}
|
|
} |