Bazaar developer reference

CvUnit::AI_getUnitAIType() const

Defined in
CvUnit.cpp, line 24323
Class
CvUnit
Hook name
CivHooks::CvUnit_AI_getUnitAIType

Hooks

static bool BeforeCvUnit_AI_getUnitAIType(const CvUnit* self, UnitAITypes& result);static void AfterCvUnit_AI_getUnitAIType(const CvUnit* self, UnitAITypes& result);static UnitAITypes ReplaceCvUnit_AI_getUnitAIType(UnitAITypes (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_AI_getUnitAIType>(host, &BeforeCvUnit_AI_getUnitAIType);CivRegisterAfter<CivHooks::CvUnit_AI_getUnitAIType>(host, &AfterCvUnit_AI_getUnitAIType);CivRegisterReplace<CivHooks::CvUnit_AI_getUnitAIType>(host, &ReplaceCvUnit_AI_getUnitAIType);

Code

24323UnitAITypes CvUnit::AI_getUnitAIType() const24324{24325	VALIDATE_OBJECT24326	return m_eUnitAIType;24327}

Calls

Called by

80 functions in 19 files