Bazaar developer reference

CvDllCombatInfo::GetNuclearDamageLevel() const

Defined in
CvDllCombatInfo.cpp, line 149
Class
CvDllCombatInfo
Hook name
CivHooks::CvDllCombatInfo_GetNuclearDamageLevel

Hooks

static bool BeforeCvDllCombatInfo_GetNuclearDamageLevel(const CvDllCombatInfo* self, int& result);static void AfterCvDllCombatInfo_GetNuclearDamageLevel(const CvDllCombatInfo* self, int& result);static int ReplaceCvDllCombatInfo_GetNuclearDamageLevel(int (*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_GetNuclearDamageLevel::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllCombatInfo_GetNuclearDamageLevel);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCombatInfo_GetNuclearDamageLevel::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllCombatInfo_GetNuclearDamageLevel);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCombatInfo_GetNuclearDamageLevel::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllCombatInfo_GetNuclearDamageLevel);

Code

149int	CvDllCombatInfo::GetNuclearDamageLevel() const150{151	return m_pCombatInfo->getAttackNuclearLevel();152}

Calls