Bazaar developer reference

CvDllPreGame::setPrivateGame(bool)

Defined in
CvDllPreGame.cpp, line 895
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setPrivateGame

Hooks

static bool BeforeCvDllPreGame_setPrivateGame(CvDllPreGame* self, bool isPrivateGame);static void AfterCvDllPreGame_setPrivateGame(CvDllPreGame* self, bool isPrivateGame);static void ReplaceCvDllPreGame_setPrivateGame(void (*original)(CvDllPreGame*, bool), CvDllPreGame* self, bool isPrivateGame);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setPrivateGame::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setPrivateGame);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setPrivateGame::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setPrivateGame);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setPrivateGame::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setPrivateGame);

Code

895void CvDllPreGame::setPrivateGame(bool isPrivateGame)896{897	CvPreGame::setPrivateGame(isPrivateGame);898}

Calls