Bazaar developer reference

CvUnit::getDestructionNotification()

Defined in
CvUnit.cpp, line 25612
Class
CvUnit
Hook name
CivHooks::CvUnit_getDestructionNotification

Hooks

static bool BeforeCvUnit_getDestructionNotification(CvUnit* self, DestructionNotification<UnitHandle>*& result);static void AfterCvUnit_getDestructionNotification(CvUnit* self, DestructionNotification<UnitHandle>*& result);static DestructionNotification<UnitHandle>& ReplaceCvUnit_getDestructionNotification(DestructionNotification<UnitHandle>& (*original)(CvUnit*), CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_getDestructionNotification>(host, &BeforeCvUnit_getDestructionNotification);CivRegisterAfter<CivHooks::CvUnit_getDestructionNotification>(host, &AfterCvUnit_getDestructionNotification);CivRegisterReplace<CivHooks::CvUnit_getDestructionNotification>(host, &ReplaceCvUnit_getDestructionNotification);

Code

25612DestructionNotification<UnitHandle>& CvUnit::getDestructionNotification()25613{25614	return m_destructionNotification;25615}