| | |
| | | var _openDay = 0;
|
| | | List<StoreConfig> _list = null;
|
| | | StoreConfig.TryGetStoreConfigs((int)StoreFunc.OSTimeLimitGift, out _list);
|
| | | for (int i = 0; i < _list.Count; i++)
|
| | | if (_list != null)
|
| | | {
|
| | | List<StoreConfig> _configs = null;
|
| | | if (!m_OSTimeLimitGifts.TryGetValue(_list[i].LimitValue, out _configs))
|
| | | for (int i = 0; i < _list.Count; i++)
|
| | | {
|
| | | _configs = new List<StoreConfig>();
|
| | | m_OSTimeLimitGifts.Add(_list[i].LimitValue, _configs);
|
| | | }
|
| | | _configs.Add(_list[i]);
|
| | | if (_list[i].LimitValue > _openDay)
|
| | | {
|
| | | _openDay = _list[i].LimitValue;
|
| | | List<StoreConfig> _configs = null;
|
| | | if (!m_OSTimeLimitGifts.TryGetValue(_list[i].LimitValue, out _configs))
|
| | | {
|
| | | _configs = new List<StoreConfig>();
|
| | | m_OSTimeLimitGifts.Add(_list[i].LimitValue, _configs);
|
| | | }
|
| | | _configs.Add(_list[i]);
|
| | | if (_list[i].LimitValue > _openDay)
|
| | | {
|
| | | _openDay = _list[i].LimitValue;
|
| | | }
|
| | | }
|
| | | }
|
| | | openDays = _openDay;
|