Bazaar developer reference

CvUnit::GetPathNodeArray() const

Defined in
CvUnit.cpp, line 23994
Class
CvUnit
Hook name
CivHooks::CvUnit_GetPathNodeArray

Hooks

static bool BeforeCvUnit_GetPathNodeArray(const CvUnit* self, const CvPathNodeArray*& result);static void AfterCvUnit_GetPathNodeArray(const CvUnit* self, const CvPathNodeArray*& result);static const CvPathNodeArray& ReplaceCvUnit_GetPathNodeArray(const CvPathNodeArray& (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_GetPathNodeArray>(host, &BeforeCvUnit_GetPathNodeArray);CivRegisterAfter<CivHooks::CvUnit_GetPathNodeArray>(host, &AfterCvUnit_GetPathNodeArray);CivRegisterReplace<CivHooks::CvUnit_GetPathNodeArray>(host, &ReplaceCvUnit_GetPathNodeArray);

Code

23993/// Returns the last path generated by the unit23994const CvPathNodeArray& CvUnit::GetPathNodeArray() const23995{23996	VALIDATE_OBJECT23997	return m_kLastPath;23998}

Called by