Bazaar developer reference

CvDllPreGame::setRandomMapScript(bool)

Defined in
CvDllPreGame.cpp, line 930
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setRandomMapScript

Hooks

static bool BeforeCvDllPreGame_setRandomMapScript(CvDllPreGame* self, bool isRandomWorldScript);static void AfterCvDllPreGame_setRandomMapScript(CvDllPreGame* self, bool isRandomWorldScript);static void ReplaceCvDllPreGame_setRandomMapScript(void (*original)(CvDllPreGame*, bool), CvDllPreGame* self, bool isRandomWorldScript);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setRandomMapScript::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setRandomMapScript);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setRandomMapScript::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setRandomMapScript);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setRandomMapScript::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setRandomMapScript);

Code

930void CvDllPreGame::setRandomMapScript(bool isRandomWorldScript)931{932	CvPreGame::setRandomMapScript(isRandomWorldScript);933}

Calls