MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / DoCommandReturnLeagueTableID

Method DoCommandReturnLeagueTableID

src/script/script_instance.cpp:323–326  ·  view source on GitHub ↗

static */

Source from the content-addressed store, hash-verified

321}
322
323/* static */ void ScriptInstance::DoCommandReturnLeagueTableID(ScriptInstance &instance)
324{
325 instance.engine->InsertResult(EndianBufferReader::ToValue<LeagueTableID>(ScriptObject::GetLastCommandResData()));
326}
327
328
329ScriptStorage &ScriptInstance::GetStorage()

Callers

nothing calls this directly

Calls 1

InsertResultMethod · 0.45

Tested by

no test coverage detected