1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

code review (second batch)

This commit is contained in:
Laserlicht
2025-04-10 21:41:22 +02:00
parent 5b74f7f19e
commit 562b3f777d
4 changed files with 27 additions and 13 deletions

View File

@@ -39,6 +39,13 @@ MetaString MetaString::createFromTextID(const std::string & value)
return result;
}
MetaString MetaString::createFromName(const GameResID& id)
{
MetaString result;
result.appendName(id);
return result;
}
void MetaString::appendLocalString(EMetaText type, ui32 serial)
{
message.push_back(EMessage::APPEND_LOCAL_STRING);