新增私聊相关
This commit is contained in:
@@ -4,7 +4,7 @@ using Fantasy.Helper;
|
||||
using MongoDB.Bson.Serialization.Attributes;
|
||||
using MongoDB.Bson.Serialization.Options;
|
||||
|
||||
namespace NB.Game;
|
||||
namespace NB.Chat;
|
||||
|
||||
/// <summary>
|
||||
/// 玩家邮件组件
|
||||
|
||||
19
Entity/Social/Mail/Components/MailManageComponent.cs
Normal file
19
Entity/Social/Mail/Components/MailManageComponent.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Fantasy.Entitas;
|
||||
|
||||
namespace NB.Chat;
|
||||
|
||||
/// <summary>
|
||||
/// 邮件管理组件
|
||||
/// </summary>
|
||||
public class MailManageComponent : Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 会话列表
|
||||
/// </summary>
|
||||
public Dictionary<string, MailConversation> Conversations = new Dictionary<string, MailConversation>();
|
||||
|
||||
/// <summary>
|
||||
/// 缓存了的列表
|
||||
/// </summary>
|
||||
public HashSet<long> CacheRoleIds = new HashSet<long>();
|
||||
}
|
||||
Reference in New Issue
Block a user