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

Method GetSuspendCallback

src/script/script_suspend.hpp:43–43  ·  view source on GitHub ↗

* Get the callback to call when the script can run again. * @return The callback function to run. */

Source from the content-addressed store, hash-verified

41 * @return The callback function to run.
42 */
43 Script_SuspendCallbackProc *GetSuspendCallback() { return callback; }
44
45private:
46 int time; ///< Amount of ticks to suspend the script.

Callers 1

GameLoopMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected