UnitLuckyBoxComponent.cs 827 B

123456789101112131415161718192021
  1. using System.Collections.Generic;
  2. using MongoDB.Bson.Serialization.Options;
  3. using MongoDB.Bson.Serialization.Attributes;
  4. namespace ET
  5. {
  6. public class UnitLuckyBoxComponent : Entity, IAwake, IDestroy, IUnitCache, ITransfer, IDeserialize
  7. {
  8. public string StrId = "";
  9. //各奖池抽奖次数永久记录,不可重置
  10. [BsonDictionaryOptions(DictionaryRepresentation.ArrayOfArrays)]
  11. public Dictionary<int, long> LuckyBoxPlayTimesDic = new Dictionary<int, long>();
  12. //免费抽奖时间戳
  13. [BsonDictionaryOptions(DictionaryRepresentation.ArrayOfArrays)]
  14. public Dictionary<int, long> LuckyBoxFreeTimeMillDic = new Dictionary<int, long>();
  15. [BsonIgnore] public S2C_NoticeLuckyBoxFreeTime S2C_NoticeLuckyBoxFreeTime = new S2C_NoticeLuckyBoxFreeTime();
  16. }
  17. }