34 lines
584 B
C#
34 lines
584 B
C#
using Fantasy.Entitas;
|
|
|
|
namespace NB.Chat;
|
|
|
|
public sealed class ChatUnit : Entity
|
|
{
|
|
public long GateRouteId;
|
|
|
|
public long RoleId;
|
|
|
|
public string NickName = string.Empty;
|
|
|
|
public string Head = string.Empty;
|
|
|
|
public string Country = string.Empty;
|
|
|
|
public int Level;
|
|
|
|
public override void Dispose()
|
|
{
|
|
if (IsDisposed)
|
|
{
|
|
return;
|
|
}
|
|
|
|
RoleId = 0;
|
|
GateRouteId = 0;
|
|
NickName = string.Empty;
|
|
Head = string.Empty;
|
|
Country = string.Empty;
|
|
Level = 0;
|
|
base.Dispose();
|
|
}
|
|
} |