Bazaar developer reference

CvDllCombatInfo::GetDefenderCaptured() const

Defined in
CvDllCombatInfo.cpp, line 169
Class
CvDllCombatInfo
Hook name
CivHooks::CvDllCombatInfo_GetDefenderCaptured

Hooks

static bool BeforeCvDllCombatInfo_GetDefenderCaptured(const CvDllCombatInfo* self, bool& result);static void AfterCvDllCombatInfo_GetDefenderCaptured(const CvDllCombatInfo* self, bool& result);static bool ReplaceCvDllCombatInfo_GetDefenderCaptured(bool (*original)(const CvDllCombatInfo*), const CvDllCombatInfo* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllCombatInfo_GetDefenderCaptured::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllCombatInfo_GetDefenderCaptured);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCombatInfo_GetDefenderCaptured::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllCombatInfo_GetDefenderCaptured);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCombatInfo_GetDefenderCaptured::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllCombatInfo_GetDefenderCaptured);

Code

169bool CvDllCombatInfo::GetDefenderCaptured() const170{171	return m_pCombatInfo->getDefenderCaptured();172}

Calls