17 lines
450 B
C#
17 lines
450 B
C#
using Fantasy;
|
|
using Fantasy.DataStructure.Collection;
|
|
using Fantasy.Entitas;
|
|
|
|
namespace NB.Chat;
|
|
|
|
public class ChatUnitManageComponent : Entity
|
|
{
|
|
public readonly Dictionary<long, ChatUnit> ChatUnits = new();
|
|
|
|
/// <summary>
|
|
/// 不在线消息缓存
|
|
/// </summary>
|
|
public readonly OneToManyList<long, ChatMessageInfo> NotSendMessage = new();
|
|
|
|
public readonly OneToManyList<string, ChatMessageInfo> PrivateMessage = new();
|
|
} |