Bazaar developer reference

CvDllCombatInfo::GetAttackIsBombingMission() const

Defined in
CvDllCombatInfo.cpp, line 159
Class
CvDllCombatInfo
Hook name
CivHooks::CvDllCombatInfo_GetAttackIsBombingMission

Hooks

static bool BeforeCvDllCombatInfo_GetAttackIsBombingMission(const CvDllCombatInfo* self, bool& result);static void AfterCvDllCombatInfo_GetAttackIsBombingMission(const CvDllCombatInfo* self, bool& result);static bool ReplaceCvDllCombatInfo_GetAttackIsBombingMission(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_GetAttackIsBombingMission::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllCombatInfo_GetAttackIsBombingMission);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCombatInfo_GetAttackIsBombingMission::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllCombatInfo_GetAttackIsBombingMission);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCombatInfo_GetAttackIsBombingMission::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllCombatInfo_GetAttackIsBombingMission);

Code

159bool CvDllCombatInfo::GetAttackIsBombingMission() const160{161	return m_pCombatInfo->getAttackIsBombingMission();162}

Calls