【山河社稷图】数据修改

dev_chengFeng
zhangqiang 2021-05-29 23:14:16 +08:00
parent cfc4e57482
commit 4ca111da25
1 changed files with 6 additions and 2 deletions

View File

@ -104,7 +104,9 @@ function this.GetChapterLevelData(allChapterId,levelId)
end end
end end
function this.SetCurChapterId(ChapterId) function this.SetCurChapterId(ChapterId)
curChapterId = ChapterId if curChapterId < ChapterId then
curChapterId = ChapterId
end
end end
function this.GetCurChapterId() function this.GetCurChapterId()
return curChapterId return curChapterId
@ -117,7 +119,9 @@ function this.GetisShowChapterOpenPopup()
return isShowChapterOpenPopup return isShowChapterOpenPopup
end end
function this.SetCurChapterLevelId(ChapterLevelId) function this.SetCurChapterLevelId(ChapterLevelId)
curChapterLevelId = ChapterLevelId if curChapterLevelId < ChapterLevelId then
curChapterLevelId = ChapterLevelId
end
end end
function this.GetCurChapterLevelId() function this.GetCurChapterLevelId()
return curChapterLevelId return curChapterLevelId