Bazaar developer reference

CvUnit::ResetPath()

Defined in
CvUnit.cpp, line 23944
Class
CvUnit
Hook name
CivHooks::CvUnit_ResetPath

Hooks

static bool BeforeCvUnit_ResetPath(CvUnit* self);static void AfterCvUnit_ResetPath(CvUnit* self);static void ReplaceCvUnit_ResetPath(void (*original)(CvUnit*), CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_ResetPath>(host, &BeforeCvUnit_ResetPath);CivRegisterAfter<CivHooks::CvUnit_ResetPath>(host, &AfterCvUnit_ResetPath);CivRegisterReplace<CivHooks::CvUnit_ResetPath>(host, &ReplaceCvUnit_ResetPath);

Code

23943/// Reset internal pathing data23944void CvUnit::ResetPath()23945{23946	VALIDATE_OBJECT23947	GC.getPathFinder().ForceReset();23948}

Calls