Updates
This commit is contained in:
parent
8562d32f36
commit
98fb855737
@ -8,6 +8,7 @@
|
||||
new DumpData{InputName = "resp.client.handbook.templates", OutputName = "handbook", OutputFolder = "templates"},
|
||||
new DumpData{InputName = "resp.client.customization", OutputName = "customization", OutputFolder = "templates"},
|
||||
new DumpData{InputName = "resp.client.account.customization", OutputName = "character", OutputFolder = "templates"},
|
||||
new DumpData{InputName= "resp.client.achievement.list", OutputName = "achievements", OutputFolder = "templates", SpecialCase = true},
|
||||
|
||||
new DumpData{InputName = "resp.client.locale.ru", OutputName = "ru", OutputFolder = "locales\\global"},
|
||||
new DumpData{InputName = "resp.client.locale.en", OutputName = "en", OutputFolder = "locales\\global"},
|
||||
@ -25,6 +26,7 @@
|
||||
new DumpData{InputName = "resp.client.locale.sk", OutputName = "sk", OutputFolder = "locales\\global"},
|
||||
new DumpData{InputName = "resp.client.locale.cz", OutputName = "cz", OutputFolder = "locales\\global"},
|
||||
new DumpData{InputName = "resp.client.locale.ch", OutputName = "ch", OutputFolder = "locales\\global"},
|
||||
new DumpData{InputName = "resp.client.locale.ro", OutputName = "ro", OutputFolder = "locales\\global"},
|
||||
|
||||
new DumpData{InputName = "resp.client.menu.locale.en", OutputName = "en", OutputFolder = "locales\\menu"},
|
||||
|
||||
@ -43,7 +45,7 @@
|
||||
new DumpData{InputName = "resp.client.trading.api.traderSettings", OutputName = "traders", OutputFolder = "traders", SpecialCase = true},
|
||||
|
||||
new DumpData{InputName= "usec.resp.client.trading.customization", OutputName= "usecsuits", OutputFolder = "traders/5ac3b934156ae10c4430e83c"},
|
||||
new DumpData{InputName= "bear.resp.client.trading.customization", OutputName= "bearsuits", OutputFolder = "traders/5ac3b934156ae10c4430e83c"}
|
||||
new DumpData{InputName= "bear.resp.client.trading.customization", OutputName= "bearsuits", OutputFolder = "traders/5ac3b934156ae10c4430e83c"},
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -104,3 +104,14 @@ void HandleTraderSettingsFile(DumpData names, Dump dumpFile)
|
||||
LoggingHelpers.LogToConsole($"Found trader file: {traderData._id} wrote file to output folder");
|
||||
}
|
||||
}
|
||||
|
||||
void HandleAchievementFile(DumpData names, Dump dumpFile)
|
||||
{
|
||||
var achievements = JsonSerializer.Deserialize<Achievements>(dumpFile.data.ToString());
|
||||
JsonWriter.WriteJson(achievements.elements, $"{names.OutputFolder}", Directory.GetCurrentDirectory(), "achievements");
|
||||
}
|
||||
|
||||
public class Achievements
|
||||
{
|
||||
public List<object> elements { get;set;}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user