SystemNoticeComponent.cs 583 B

123456789101112131415161718
  1. using System.Collections.Generic;
  2. namespace ET
  3. {
  4. public class SystemNoticeComponent : Entity, IAwake, IDestroy
  5. {
  6. //最大公告数量,超出后有新的时会移除id最小的
  7. public const int MaxCount = 10;
  8. public int LatestNoticeId = 0;
  9. public Dictionary<int, SystemNoticeInfo> NoticeDic = new Dictionary<int, SystemNoticeInfo>();
  10. public N2M_SystemNoticeChanged N2M_SystemNoticeChanged = new N2M_SystemNoticeChanged();
  11. public N2M_SystemNoticeRemoved N2M_SystemNoticeRemoved = new N2M_SystemNoticeRemoved();
  12. }
  13. }