OpenRoleInfosSyncComponent.cs 594 B

123456789101112131415161718
  1. using System.Collections.Generic;
  2. using MongoDB.Bson.Serialization.Attributes;
  3. namespace ET
  4. {
  5. // 摘要数据同步组件组件
  6. public class OpenRoleInfosSyncComponent : Entity, IAwake
  7. {
  8. //SceneSyncDictionary
  9. public Dictionary<int, HashSet<long>> SceneSyncDictionary = new Dictionary<int, HashSet<long>>();
  10. //SceneChangeDictionary
  11. public HashSet<long> Changes = new HashSet<long>();
  12. [BsonIgnore] public Dictionary<int, List<OtherRoleInfoProto>> TempOtherRoleInfoProtos =
  13. new Dictionary<int, List<OtherRoleInfoProto>>();
  14. }
  15. }