提交示例代码
This commit is contained in:
11
聊天系统课程代码/Server/Entity/Chat/Model/ChatUnit.cs
Normal file
11
聊天系统课程代码/Server/Entity/Chat/Model/ChatUnit.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using Fantasy.Entitas;
|
||||
|
||||
namespace Fantasy;
|
||||
|
||||
public sealed class ChatUnit : Entity
|
||||
{
|
||||
public string UserName;
|
||||
public long GateRouteId;
|
||||
public readonly Dictionary<long, ChatChannelComponent> Channels = new();
|
||||
public readonly Dictionary<int, long> SendTime = new Dictionary<int, long>();
|
||||
}
|
||||
Reference in New Issue
Block a user