CvUnit::startDelayedDeath()
- Defined in
- CvUnit.cpp, line 19579
- Class
- CvUnit
- Hook name
CivHooks::CvUnit_startDelayedDeath
Hooks
static bool BeforeCvUnit_startDelayedDeath(CvUnit* self);static void AfterCvUnit_startDelayedDeath(CvUnit* self);static void ReplaceCvUnit_startDelayedDeath(void (*original)(CvUnit*), CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_startDelayedDeath>(host, &BeforeCvUnit_startDelayedDeath);CivRegisterAfter<CivHooks::CvUnit_startDelayedDeath>(host, &AfterCvUnit_startDelayedDeath);CivRegisterReplace<CivHooks::CvUnit_startDelayedDeath>(host, &ReplaceCvUnit_startDelayedDeath);
Code
19579void CvUnit::startDelayedDeath()19580{19581 VALIDATE_OBJECT19582 m_bDeathDelay = true;19583}
Calls
FAutoVariable::operator=