mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-16 08:54:47 +01:00
Add support for user titles
This commit is contained in:
@@ -52,6 +52,7 @@ namespace EpinelPS.StaticInfo
|
||||
public Dictionary<int, ArchiveEventStoryRecord> archiveEventStoryRecords = new Dictionary<int, ArchiveEventStoryRecord>();
|
||||
public Dictionary<int, ArchiveEventQuestRecord> archiveEventQuestRecords = new Dictionary<int, ArchiveEventQuestRecord>();
|
||||
public Dictionary<int, ArchiveEventDungeonStageRecord> archiveEventDungeonStageRecords = new Dictionary<int, ArchiveEventDungeonStageRecord>();
|
||||
public Dictionary<int, UserTitleRecord> userTitleRecords = new Dictionary<int, UserTitleRecord>();
|
||||
|
||||
|
||||
|
||||
@@ -423,6 +424,12 @@ namespace EpinelPS.StaticInfo
|
||||
{
|
||||
archiveEventDungeonStageRecords.Add(obj.id, obj);
|
||||
}
|
||||
|
||||
var userTitleTable = await LoadZip<UserTitleTable>("UserTitleTable.json", progress);
|
||||
foreach (var obj in userTitleTable.records)
|
||||
{
|
||||
userTitleRecords.Add(obj.id, obj);
|
||||
}
|
||||
|
||||
// Load and parse ArchiveEventStoryTable.json
|
||||
var archiveEventStoryTable = await LoadZip<ArchiveEventStoryTable>("ArchiveEventStoryTable.json", progress);
|
||||
|
||||
Reference in New Issue
Block a user