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

Method PreRegister

src/script/squirrel_class.hpp:81–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 }
80
81 void PreRegister(Squirrel &engine)
82 {
83 engine.AddClassBegin(this->classname);
84 }
85
86 void PreRegister(Squirrel &engine, std::string_view parent_class)
87 {

Callers 4

RegisterAPIMethod · 0.80
SQGSController_RegisterFunction · 0.80
SQAIController_RegisterFunction · 0.80
RegisterAPIMethod · 0.80

Calls 1

AddClassBeginMethod · 0.80

Tested by

no test coverage detected