协议提交

This commit is contained in:
2025-08-11 16:29:23 +08:00
parent 7a93c0f8f1
commit 9b95f48102
14 changed files with 71 additions and 35 deletions

View File

@@ -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();
}
}