Working on translations
This commit is contained in:
1 parent
9d8ca865c7
commit
e2d9105b02
18 files changed
+271
-88
No files matched your search
@@ -14,6 +14,11 @@ class QuestJournal : public ZL::ISaveable {
|
||||
public:
|
||||
bool loadFromFile(const std::string& path, const std::string& zipFile = "");
|
||||
|
||||
// Reloads quest definitions (e.g. after a language switch) while
|
||||
// preserving current progress: snapshots status/objective state, reloads
|
||||
// definitions from path, then re-applies the snapshot.
|
||||
bool reloadDefinitionsPreservingState(const std::string& path, const std::string& zipFile = "");
|
||||
|
||||
void save(nlohmann::json& out) const override;
|
||||
void load(const nlohmann::json& in) override;
|
||||
|
||||
|
||||
Reference in new issue
Block a user