MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / RCT2StringToUTF8Self

Function RCT2StringToUTF8Self

src/openrct2/Game.cpp:185–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185void RCT2StringToUTF8Self(char* buffer, size_t length)
186{
187 if (length > 0)
188 {
189 auto temp = RCT2StringToUTF8(buffer, RCT2LanguageId::englishUK);
190 String::safeUtf8Copy(buffer, temp.data(), length);
191 }
192}
193
194static void FixGuestsHeadingToParkCount()
195{

Callers 1

LoadFromStreamMethod · 0.85

Calls 3

RCT2StringToUTF8Function · 0.85
safeUtf8CopyFunction · 0.85
dataMethod · 0.45

Tested by

no test coverage detected