123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- using XGame.Database;
- using XGame.Framework.Interfaces;
- namespace FL.Data
- {
- public class SummonMwInfo
- {
- /// <summary>
- /// 当前保底次数
- /// </summary>
- public int Baodi;
- /// <summary>
- /// 保底类型
- /// 0小保底
- /// 1大保底
- /// </summary>
- public int Type;
- /// <summary>
- /// 今天看广告次数
- /// </summary>
- public int Kind11;
- /// <summary>
- /// 今日分享次数
- /// </summary>
- public int Share;
- /// <summary>
- /// 今日免费单抽抽奖次数
- /// </summary>
- public int FreeNum;
- public int FreeRemain => _drawTable.Freeware - FreeNum;
- /// <summary>
- /// 今日看广告剩余次数
- /// </summary>
- public int RemainKindCount => KindMax - Kind11;
- public int KindMax => _drawTable.AdNumber[0];
- public int RemainShareCount => ShareMax - Share;
- public int ShareMax => _drawTable.ShareNumber[0];
- public int OneCostId => _drawTable.Cost[1];
- public int OneCostNum => _drawTable.Cost[0];
- public int OneDrawNum => _drawTable.Cost[2];
- public int TenCostId => _drawTable.Cost[4];
- public int TenCostNum => _drawTable.Cost[3];
- public int TenDrawNum => _drawTable.Cost[5];
- public int BaodiSmallRemain => BaodiSmall - Baodi;
- public int BaodiBigRemain => BaodiBig - Baodi;
- public int BaodiSmall => _drawTable.Floors[0];
- public int BaodiBig => _drawTable.Floors[1];
- private raffleTable _drawTable;
- public SummonMwInfo()
- {
- _drawTable = raffleTableRepo.GetDrawInfoByType(2);
- }
- }
- }
|