Bazaar developer reference

CvUnit::GetAutomateType() const

Defined in
CvUnit.cpp, line 22348
Class
CvUnit
Hook name
CivHooks::CvUnit_GetAutomateType

Hooks

static bool BeforeCvUnit_GetAutomateType(const CvUnit* self, AutomateTypes& result);static void AfterCvUnit_GetAutomateType(const CvUnit* self, AutomateTypes& result);static AutomateTypes ReplaceCvUnit_GetAutomateType(AutomateTypes (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_GetAutomateType>(host, &BeforeCvUnit_GetAutomateType);CivRegisterAfter<CivHooks::CvUnit_GetAutomateType>(host, &AfterCvUnit_GetAutomateType);CivRegisterReplace<CivHooks::CvUnit_GetAutomateType>(host, &ReplaceCvUnit_GetAutomateType);

Code

22348AutomateTypes CvUnit::GetAutomateType() const22349{22350	VALIDATE_OBJECT22351	return m_eAutomateType;22352}

Calls

Called by