Bazaar developer reference

CvDllGame::GetVictory() const

Defined in
CvDllGame.cpp, line 252
Class
CvDllGame
Hook name
CivHooks::CvDllGame_GetVictory

Hooks

static bool BeforeCvDllGame_GetVictory(const CvDllGame* self, VictoryTypes& result);static void AfterCvDllGame_GetVictory(const CvDllGame* self, VictoryTypes& result);static VictoryTypes ReplaceCvDllGame_GetVictory(VictoryTypes (*original)(const CvDllGame*), const CvDllGame* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_GetVictory::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGame_GetVictory);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_GetVictory::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGame_GetVictory);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_GetVictory::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGame_GetVictory);

Code

252VictoryTypes CvDllGame::GetVictory() const253{254	return m_pGame->getVictory();255}

Calls