1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-17 01:32:21 +02:00

introduce getModScope method toEntity class and subclasses

This commit is contained in:
godric3
2024-08-10 16:08:04 +02:00
parent 18e96171de
commit c34956e912
26 changed files with 85 additions and 6 deletions

View File

@ -29,6 +29,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 {}
RoadId getId() const override { return id;}
void updateFrom(const JsonNode & data) {};