协议提交
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using Fantasy;
|
||||
using Fantasy.Entitas;
|
||||
|
||||
namespace NB.Chat;
|
||||
@@ -5,16 +6,8 @@ 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 RoleSimpleInfo Role;
|
||||
|
||||
public override void Dispose()
|
||||
{
|
||||
@@ -23,12 +16,8 @@ public sealed class ChatUnit : Entity
|
||||
return;
|
||||
}
|
||||
|
||||
RoleId = 0;
|
||||
GateRouteId = 0;
|
||||
NickName = string.Empty;
|
||||
Head = string.Empty;
|
||||
Country = string.Empty;
|
||||
Level = 0;
|
||||
Role = null;
|
||||
base.Dispose();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user