ChatDataManager.cs 513 B

12345678910111213141516171819
  1. using System.Collections.Generic;
  2. using ET;
  3. using UnityEngine;
  4. namespace GFGGame
  5. {
  6. public class ChatDataManager : SingletonBase<ChatDataManager>
  7. {
  8. public Dictionary<int, List<ChatData>> ChatDatas = new Dictionary<int, List<ChatData>>();//int:ChatType
  9. public Dictionary<long, List<ChatData>> PrivateChatDatas = new Dictionary<long, List<ChatData>>();//int:RoleId
  10. public void Clear()
  11. {
  12. ChatDatas.Clear();
  13. PrivateChatDatas.Clear();
  14. }
  15. }
  16. }