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

Method DoCommandReturnStoryPageID

src/script/script_instance.cpp:308–311  ·  view source on GitHub ↗

static */

Source from the content-addressed store, hash-verified

306}
307
308/* static */ void ScriptInstance::DoCommandReturnStoryPageID(ScriptInstance &instance)
309{
310 instance.engine->InsertResult(EndianBufferReader::ToValue<StoryPageID>(ScriptObject::GetLastCommandResData()));
311}
312
313/* static */ void ScriptInstance::DoCommandReturnStoryPageElementID(ScriptInstance &instance)
314{

Callers

nothing calls this directly

Calls 1

InsertResultMethod · 0.45

Tested by

no test coverage detected