Bazaar developer reference

CvDllPreGame::setVictory(VictoryTypes, bool)

Defined in
CvDllPreGame.cpp, line 995
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setVictory

Hooks

static bool BeforeCvDllPreGame_setVictory(CvDllPreGame* self, VictoryTypes v, bool isValid);static void AfterCvDllPreGame_setVictory(CvDllPreGame* self, VictoryTypes v, bool isValid);static void ReplaceCvDllPreGame_setVictory(void (*original)(CvDllPreGame*, VictoryTypes, bool), CvDllPreGame* self, VictoryTypes v, bool isValid);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setVictory::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setVictory);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setVictory::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setVictory);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setVictory::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setVictory);

Code

995void CvDllPreGame::setVictory(VictoryTypes v, bool isValid)996{997	CvPreGame::setVictory(v, isValid);998}

Calls