1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

moddable amount for mines

This commit is contained in:
Laserlicht
2025-09-29 02:00:04 +02:00
parent c9d866aed8
commit 21bc568e59
5 changed files with 24 additions and 17 deletions

View File

@@ -66,10 +66,12 @@ class DLL_LINKAGE MineInstanceConstructor : public CDefaultObjectTypeHandler<CGM
{
JsonNode config;
GameResID resourceType;
ui32 defaultQuantity;
public:
void initTypeData(const JsonNode & input) override;
GameResID getResourceType() const;
ui32 getDefaultQuantity() const;
std::string getDescriptionTextID() const;
std::string getDescriptionTranslated() const;
};