mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
introduce getModScope method toEntity class and subclasses
This commit is contained in:
@@ -106,6 +106,11 @@ std::string CArtifact::getJsonKey() const
|
||||
return modScope + ':' + identifier;
|
||||
}
|
||||
|
||||
std::string CArtifact::getModScope() const
|
||||
{
|
||||
return modScope;
|
||||
}
|
||||
|
||||
void CArtifact::registerIcons(const IconRegistar & cb) const
|
||||
{
|
||||
cb(getIconIndex(), 0, "ARTIFACT", image);
|
||||
|
||||
Reference in New Issue
Block a user