hch
昨天 c6ea64fb4e4755c4290bf5228d8cd463bc81c21f
Main/System/MainLevel/MainLevelManager.cs
@@ -53,5 +53,20 @@
        return true;
    }
    //levelID 为客户端配置的ID
    public bool IsPassedByMainLevelID(int levelID)
    {
        var value = PlayerDatas.Instance.baseData.ExAttr1;
        var chapterID = value / 10000;
        var levelNum = value % 10000 / 100;
        var config = MainLevelConfig.Get(levelID);
        if (chapterID > config.ChapterID || (chapterID == config.ChapterID && levelNum > config.LevelNum))
        {
            return true;
        }
        return false;
    }
}