mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
introduce getModScope method toEntity class and subclasses
This commit is contained in:
@@ -200,6 +200,11 @@ std::string CSpell::getJsonKey() const
|
||||
return modScope + ':' + identifier;
|
||||
}
|
||||
|
||||
std::string CSpell::getModScope() const
|
||||
{
|
||||
return modScope;
|
||||
}
|
||||
|
||||
int32_t CSpell::getIndex() const
|
||||
{
|
||||
return id.toEnum();
|
||||
|
||||
Reference in New Issue
Block a user