1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Implemented better error-reporting for issues commonly encountered by

modders
This commit is contained in:
Ivan Savenko
2024-01-07 15:14:07 +02:00
parent 9cf5c6a6c1
commit 18227cba00
3 changed files with 97 additions and 49 deletions

View File

@@ -69,6 +69,8 @@ class DLL_LINKAGE CIdentifierStorage
bool resolveIdentifier(const ObjectCallback & callback) const;
std::vector<ObjectData> getPossibleIdentifiers(const ObjectCallback & callback) const;
void showIdentifierResolutionErrorDetails(const ObjectCallback & callback) const;
std::optional<si32> getIdentifierImpl(const ObjectCallback & callback, bool silent) const;
public:
CIdentifierStorage();
virtual ~CIdentifierStorage() = default;