Bazaar developer reference

CvDllPreGame::setRandomWorldSize(bool)

Defined in
CvDllPreGame.cpp, line 925
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setRandomWorldSize

Hooks

static bool BeforeCvDllPreGame_setRandomWorldSize(CvDllPreGame* self, bool isRandomWorldSize);static void AfterCvDllPreGame_setRandomWorldSize(CvDllPreGame* self, bool isRandomWorldSize);static void ReplaceCvDllPreGame_setRandomWorldSize(void (*original)(CvDllPreGame*, bool), CvDllPreGame* self, bool isRandomWorldSize);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setRandomWorldSize::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setRandomWorldSize);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setRandomWorldSize::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setRandomWorldSize);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setRandomWorldSize::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setRandomWorldSize);

Code

925void CvDllPreGame::setRandomWorldSize(bool isRandomWorldSize)926{927	CvPreGame::setRandomWorldSize(isRandomWorldSize);928}

Calls