| | |
| | |
|
| | | public void ParseQuestNormalOpenTime(string timeString, int duration)
|
| | | {
|
| | |
|
| | | if (id == 27)
|
| | | {
|
| | | DebugEx.Log(111);
|
| | | }
|
| | |
|
| | | var matches = Regex.Matches(timeString, "\\\"[0-9]\\\":\\[[0-9|,|\\[|\\]]+");
|
| | | always = matches.Count == 0;
|
| | |
|
| | |
| | |
|
| | | public void ParseQuestSpecificOpenTimes(List<DailyQuestSpecialOpenTimeConfig> configs)
|
| | | {
|
| | | if (id == 27)
|
| | | {
|
| | | DebugEx.Log(111);
|
| | | }
|
| | |
|
| | | if (configs == null)
|
| | | {
|
| | | return;
|
| | |
| | |
|
| | | public void ParseDungeonNormalOpenTimes(List<DungeonStateTimeConfig> configs)
|
| | | {
|
| | | if (id == 27)
|
| | | {
|
| | | DebugEx.Log(111);
|
| | | }
|
| | |
|
| | | always = configs == null || configs.Count == 0;
|
| | |
|
| | | if (!always)
|
| | |
| | |
|
| | | public void ParseDungeonSpecificOpenTimes(List<DungeonSpecialStateTimeConfig> configs)
|
| | | {
|
| | | if (id == 27)
|
| | | {
|
| | | DebugEx.Log(111);
|
| | | }
|
| | |
|
| | | if (configs == null)
|
| | | {
|
| | | return;
|
| | |
| | |
|
| | | public bool ContainTimeNode(int week, int timeNode)
|
| | | {
|
| | |
|
| | | if (id == 27)
|
| | | {
|
| | | DebugEx.Log(111);
|
| | | }
|
| | |
|
| | | var hourMinutes = GetHourMinuteByWeek(week);
|
| | | if (hourMinutes != null)
|
| | | {
|