mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
introduce getModScope method toEntity class and subclasses
This commit is contained in:
@@ -61,6 +61,11 @@ std::string CCreature::getJsonKey() const
|
||||
return modScope + ':' + identifier;
|
||||
}
|
||||
|
||||
std::string CCreature::getModScope() const
|
||||
{
|
||||
return modScope;
|
||||
}
|
||||
|
||||
void CCreature::registerIcons(const IconRegistar & cb) const
|
||||
{
|
||||
cb(getIconIndex(), 0, "CPRSMALL", smallIconName);
|
||||
|
||||
Reference in New Issue
Block a user