Compile-driven bulk-copy loop (tools/engine-port/m1_copy_loop.py) pulled the precise reference closure of the battle-core roots, stopping at the classify god-object/View-VFX-UI boundary. 782 files; no re-explosion (M0 had estimated ~order 1000). Residual frontier = 52 shim-classified + 80 external (Unity/BCL) types to author next.
39 lines
983 B
C#
39 lines
983 B
C#
using LitJson;
|
|
|
|
namespace Wizard;
|
|
|
|
public class EventStoryQuestInfo
|
|
{
|
|
public bool EventStoryExist { get; private set; }
|
|
|
|
public int SectionId { get; private set; }
|
|
|
|
public int ChapterTotalNum { get; private set; }
|
|
|
|
public int UnlockChapterNum { get; private set; }
|
|
|
|
public bool IsAllFinish { get; private set; }
|
|
|
|
public int NextChapterUnlockPoint { get; private set; }
|
|
|
|
public bool IsEventStoryInProgress { get; private set; }
|
|
|
|
public EventStoryQuestInfo(JsonData data)
|
|
{
|
|
if (data.TryGetValue("event_story", out var value))
|
|
{
|
|
EventStoryExist = true;
|
|
SectionId = value["section_id"].ToInt();
|
|
ChapterTotalNum = value["chapter_total_num"].ToInt();
|
|
UnlockChapterNum = value["unlock_chapter_num"].ToInt();
|
|
IsAllFinish = value["is_all_finish"].ToBoolean();
|
|
NextChapterUnlockPoint = value["next_chapter_unlock_point"].ToInt();
|
|
IsEventStoryInProgress = !IsAllFinish;
|
|
}
|
|
else
|
|
{
|
|
EventStoryExist = false;
|
|
}
|
|
}
|
|
}
|