SuitSelectComponent.cs 594 B

1234567891011121314151617181920
  1. using System.Collections.Generic;
  2. using MongoDB.Bson.Serialization.Attributes;
  3. using MongoDB.Bson.Serialization.Options;
  4. namespace ET
  5. {
  6. public class SuitSelectComponent : Entity, IAwake, IDestroy, ITransfer, IUnitCache
  7. {
  8. public string StrId;
  9. /// <summary>
  10. /// 已经选择的套装id
  11. /// </summary>
  12. public int SelectSuitId;
  13. //记录获得的套装部件<itemCfgId, count>
  14. [BsonDictionaryOptions(DictionaryRepresentation.ArrayOfArrays)]
  15. public Dictionary<int, long> SelectSuitItems = new Dictionary<int, long>();
  16. }
  17. }