using System.Collections.Generic; using MongoDB.Bson.Serialization.Options; using MongoDB.Bson.Serialization.Attributes; namespace ET { public class UnitLuckyBoxComponent : Entity, IAwake, IDestroy, IUnitCache, ITransfer, IDeserialize { public string StrId = ""; //各奖池抽奖次数永久记录,不可重置 [BsonDictionaryOptions(DictionaryRepresentation.ArrayOfArrays)] public Dictionary LuckyBoxPlayTimesDic = new Dictionary(); //免费抽奖时间戳 [BsonDictionaryOptions(DictionaryRepresentation.ArrayOfArrays)] public Dictionary LuckyBoxFreeTimeMillDic = new Dictionary(); [BsonIgnore] public S2C_NoticeLuckyBoxFreeTime S2C_NoticeLuckyBoxFreeTime = new S2C_NoticeLuckyBoxFreeTime(); } }