CvCity::setDrafted(bool)
- Defined in
- CvCity.cpp, line 10043
- Class
- CvCity
- Hook name
CivHooks::CvCity_setDrafted
Hooks
static bool BeforeCvCity_setDrafted(CvCity* self, bool bNewValue);static void AfterCvCity_setDrafted(CvCity* self, bool bNewValue);static void ReplaceCvCity_setDrafted(void (*original)(CvCity*, bool), CvCity* self, bool bNewValue);CivRegisterBefore<CivHooks::CvCity_setDrafted>(host, &BeforeCvCity_setDrafted);CivRegisterAfter<CivHooks::CvCity_setDrafted>(host, &AfterCvCity_setDrafted);CivRegisterReplace<CivHooks::CvCity_setDrafted>(host, &ReplaceCvCity_setDrafted);
Code
10043void CvCity::setDrafted(bool bNewValue)10044{10045 VALIDATE_OBJECT10046 m_bDrafted = bNewValue;10047}
Calls
FAutoVariable::operator=