Bazaar developer reference

CvDllPreGame::setMapScriptName(const CvString &)

Defined in
CvDllPreGame.cpp, line 825
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setMapScriptName

Hooks

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

Code

825void CvDllPreGame::setMapScriptName(const CvString& s)826{827	CvPreGame::setMapScriptName(s);828}

Calls