C4 Engine
C4 Engine API Documentation

WorldMgr::SetWorldCreator

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

void SetWorldCreator(WorldCreatorCallback *callback, void *cookie = nullptr);

Parameters
callback A pointer to the world creator callback function.
cookie The cookie that is passed to the callback function.
Description

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

See Also

World