| | |
| | | if (shop.dayIndex == dayIndex
|
| | | && shop.timeIndex == timeIndex)
|
| | | {
|
| | | flashSaleShop = shop;
|
| | | return true;
|
| | | }
|
| | | }
|
| | |
| | | var endTime = new DateTime(startDate.year, startDate.month,day, operationTime.endHour, operationTime.endHour, 0);
|
| | | int advanceSec = Mathf.CeilToInt((float)(startTime - time).TotalSeconds);
|
| | | int endSec = Mathf.CeilToInt((float)(endTime - time).TotalSeconds);
|
| | | if (seconds > 0)
|
| | | if (advanceSec > 0)
|
| | | {
|
| | | seconds = advanceSec;
|
| | | return -1;
|
| | |
| | |
|
| | | public override bool SatisfyOpenCondition()
|
| | | {
|
| | | return PlayerDatas.Instance.baseData.LV >= limitLv;
|
| | | if(PlayerDatas.Instance.baseData.LV >= limitLv && InDay(TimeUtility.ServerNow))
|
| | | {
|
| | | return true;
|
| | | }
|
| | | return false;
|
| | | }
|
| | |
|
| | | public override void Reset()
|