mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Get and translate messages on client side
This commit is contained in:
@ -1403,4 +1403,14 @@ void HillFort::fillUpgradeInfo(UpgradeInfo & info, const CStackInstance &stack)
|
||||
}
|
||||
}
|
||||
|
||||
std::string HillFort::getDescriptionToolTip() const
|
||||
{
|
||||
return TextIdentifier(getObjectHandler()->getBaseTextID(), "description").get();
|
||||
}
|
||||
|
||||
std::string HillFort::getUnavailableUpgradeMessage() const
|
||||
{
|
||||
return TextIdentifier(getObjectHandler()->getBaseTextID(), "unavailableUpgradeMessage").get();
|
||||
}
|
||||
|
||||
VCMI_LIB_NAMESPACE_END
|
||||
|
Reference in New Issue
Block a user