mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
introduce getModScope method toEntity class and subclasses
This commit is contained in:
@@ -55,6 +55,7 @@ public:
|
||||
int32_t getIndex() const override { return id.getNum(); }
|
||||
int32_t getIconIndex() const override { return 0; }
|
||||
std::string getJsonKey() const override;
|
||||
std::string getModScope() const override;
|
||||
void registerIcons(const IconRegistar & cb) const override {}
|
||||
TerrainId getId() const override { return id;}
|
||||
void updateFrom(const JsonNode & data) {};
|
||||
|
||||
Reference in New Issue
Block a user