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