C4 Engine Terathon Software C4 Engine API Documentation

• World Manager

API Links
Developer Links

WorldMgr::SetWorldConstructor

Defined in:  C4World.h
Installs a world class constructor function.
Prototype

void SetWorldConstructor(WorldConstructProc *proc, void *cookie = nullptr);

Parameters
proc A pointer to the world constructor function.
cookie A pointer to user-defined data that is passed to the world constructor function.
Description

typedef World *WorldConstructProc(const char *, void *);

See Also

World