mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-05 00:49:09 +02:00
introduce getModScope
method toEntity
class and subclasses
This commit is contained in:
@ -74,6 +74,11 @@ std::string RiverType::getJsonKey() const
|
||||
return modScope + ":" + identifier;
|
||||
}
|
||||
|
||||
std::string RiverType::getModScope() const
|
||||
{
|
||||
return modScope;
|
||||
}
|
||||
|
||||
std::string RiverType::getNameTextID() const
|
||||
{
|
||||
return TextIdentifier( "river", modScope, identifier, "name" ).get();
|
||||
|
Reference in New Issue
Block a user