Files
Fishing2Server/Entity/Social/SocialUnit.cs
2025-08-14 23:56:51 +08:00

33 lines
526 B
C#

using Fantasy;
using Fantasy.Entitas;
namespace NB.Chat;
public sealed class SocialUnit : Entity
{
public long GateRouteId;
public RoleSimpleInfo Role;
/// <summary>
/// 当前所在地图
/// </summary>
public long MapId;
/// <summary>
/// 当前频道
/// </summary>
public long CurrentChannel;
public override void Dispose()
{
if (IsDisposed)
{
return;
}
GateRouteId = 0;
Role = null;
base.Dispose();
}
}