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

Method Next

src/script/api/script_list.cpp:457–464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

455}
456
457SQInteger ScriptList::Next()
458{
459 if (!this->initialized) {
460 Debug(script, 0, "Next() is invalid as Begin() is never called");
461 return 0;
462 }
463 return this->sorter->Next().value_or(0);
464}
465
466bool ScriptList::IsEmpty()
467{

Callers 13

_nextiMethod · 0.95
GetCapacityMethod · 0.45
GetCargoLoadMethod · 0.45
InitializeRandomizersMethod · 0.45
RandMethod · 0.45
RandRangeMethod · 0.45
SetPresidentGenderMethod · 0.45
AfterLoadGameFunction · 0.45
ConvertOldMultiheadToNewFunction · 0.45
UpdateOldAircraftFunction · 0.45
AfterLoadVehiclesPhase1Function · 0.45
AfterLoadVehiclesPhase2Function · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected