mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
introduce getModScope
method toEntity
class and subclasses
This commit is contained in:
@ -50,6 +50,11 @@ std::string PlayerState::getJsonKey() const
|
||||
return color.toString();
|
||||
}
|
||||
|
||||
std::string PlayerState::getModScope() const
|
||||
{
|
||||
return "core";
|
||||
}
|
||||
|
||||
std::string PlayerState::getNameTranslated() const
|
||||
{
|
||||
return VLC->generaltexth->translate(getNameTextID());
|
||||
|
Reference in New Issue
Block a user