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

Method IsAlive

src/script/script_instance.hpp:163–163  ·  view source on GitHub ↗

* Return whether the script is alive. */

Source from the content-addressed store, hash-verified

161 * Return whether the script is alive.
162 */
163 inline bool IsAlive() const { return !this->IsDead() && !this->in_shutdown; }
164
165 /**
166 * Call the script Save function and save all data in the savegame.

Callers 4

RegisterAPIMethod · 0.80
FinalReleaseMethod · 0.80
FinalReleaseMethod · 0.80
FinalReleaseMethod · 0.80

Calls 1

IsDeadMethod · 0.95

Tested by 1

FinalReleaseMethod · 0.64