feat.支持增量更新国际服资源

This commit is contained in:
MistEO
2022-03-13 01:48:41 +08:00
parent 83eb988a0f
commit 3cad2c8be7
14 changed files with 173 additions and 73 deletions

View File

@@ -9,6 +9,10 @@ bool asst::AbstractConfiger::load(const std::string& filename)
{
LogTraceFunction;
if (!std::filesystem::exists(filename)) {
return false;
}
std::string content = utils::load_file_without_bom(filename);
auto&& ret = json::parser::parse(content);