| 123456789101112131415161718192021 |
- using System.Collections.Generic;
- using MongoDB.Bson.Serialization.Attributes;
- using MongoDB.Bson.Serialization.Options;
- namespace ET
- {
- /// <summary>
- /// 连续奖励礼包领取记录组件
- /// </summary>
- public class EnduringGiftBoxComponent : Entity, IAwake, IDestroy, ITransfer, IUnitCache
- {
- public string StrId = "";
- //礼包物品id,礼包连续领取领取次数 ---领取-1,当天不领取也-1
- [BsonDictionaryOptions(DictionaryRepresentation.ArrayOfArrays)]
- public Dictionary<int, int> GiftBoxReceiveDic = new Dictionary<int, int>();
- //今天领取持续 礼包物品id--每天重置
- public HashSet<int> TodayReceiveGiftBoxId = new HashSet<int>();
- }
- }
|