Bazaar developer reference

CvDllPreGame::isVictory(VictoryTypes)

Defined in
CvDllPreGame.cpp, line 355
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_isVictory

Hooks

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

Code

355bool CvDllPreGame::isVictory(VictoryTypes v)356{357	return CvPreGame::isVictory(v);358}

Calls