Bazaar developer reference

CvDllPreGame::setWorldSize(const CvString &)

Defined in
CvDllPreGame.cpp, line 1015
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setWorldSize_with_const_CvString

Hooks

static bool BeforeCvDllPreGame_setWorldSize_with_const_CvString(CvDllPreGame* self, const CvString& w);static void AfterCvDllPreGame_setWorldSize_with_const_CvString(CvDllPreGame* self, const CvString& w);static void ReplaceCvDllPreGame_setWorldSize_with_const_CvString(void (*original)(CvDllPreGame*, const CvString&), CvDllPreGame* self, const CvString& w);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setWorldSize_with_const_CvString::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setWorldSize_with_const_CvString);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setWorldSize_with_const_CvString::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setWorldSize_with_const_CvString);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setWorldSize_with_const_CvString::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setWorldSize_with_const_CvString);

Code

1015void CvDllPreGame::setWorldSize(const CvString& w)1016{1017	CvPreGame::setWorldSize(w);1018}

Calls