Bazaar developer reference

CvCombatInfo::getAttackNuclearLevel() const

Defined in
CvStructs.cpp, line 494
Class
CvCombatInfo
Hook name
CivHooks::CvCombatInfo_getAttackNuclearLevel

Hooks

static bool BeforeCvCombatInfo_getAttackNuclearLevel(const CvCombatInfo* self, int& result);static void AfterCvCombatInfo_getAttackNuclearLevel(const CvCombatInfo* self, int& result);static int ReplaceCvCombatInfo_getAttackNuclearLevel(int (*original)(const CvCombatInfo*), const CvCombatInfo* self);CivRegisterBefore<CivHooks::CvCombatInfo_getAttackNuclearLevel>(host, &BeforeCvCombatInfo_getAttackNuclearLevel);CivRegisterAfter<CivHooks::CvCombatInfo_getAttackNuclearLevel>(host, &AfterCvCombatInfo_getAttackNuclearLevel);CivRegisterReplace<CivHooks::CvCombatInfo_getAttackNuclearLevel>(host, &ReplaceCvCombatInfo_getAttackNuclearLevel);

Code

494int CvCombatInfo::getAttackNuclearLevel() const495{496	return m_iNuclearDamageLevel;497}

Called by