CvCity::setMadeAttack(bool)
- Defined in
- CvCity.cpp, line 15941
- Class
- CvCity
- Hook name
CivHooks::CvCity_setMadeAttack
Hooks
static bool BeforeCvCity_setMadeAttack(CvCity* self, bool bNewValue);static void AfterCvCity_setMadeAttack(CvCity* self, bool bNewValue);static void ReplaceCvCity_setMadeAttack(void (*original)(CvCity*, bool), CvCity* self, bool bNewValue);CivRegisterBefore<CivHooks::CvCity_setMadeAttack>(host, &BeforeCvCity_setMadeAttack);CivRegisterAfter<CivHooks::CvCity_setMadeAttack>(host, &AfterCvCity_setMadeAttack);CivRegisterReplace<CivHooks::CvCity_setMadeAttack>(host, &ReplaceCvCity_setMadeAttack);
Code
15941void CvCity::setMadeAttack(bool bNewValue)15942{15943 VALIDATE_OBJECT15944 m_bMadeAttack = bNewValue;15945}
Calls
FAutoVariable::operator=