Bazaar developer reference

CvUnit::finishMoves()

Defined in
CvUnit.cpp, line 16942
Class
CvUnit
Hook name
CivHooks::CvUnit_finishMoves

Hooks

static bool BeforeCvUnit_finishMoves(CvUnit* self);static void AfterCvUnit_finishMoves(CvUnit* self);static void ReplaceCvUnit_finishMoves(void (*original)(CvUnit*), CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_finishMoves>(host, &BeforeCvUnit_finishMoves);CivRegisterAfter<CivHooks::CvUnit_finishMoves>(host, &AfterCvUnit_finishMoves);CivRegisterReplace<CivHooks::CvUnit_finishMoves>(host, &ReplaceCvUnit_finishMoves);

Code

16942void CvUnit::finishMoves()16943{16944	VALIDATE_OBJECT16945	setMoves(0);16946}

Calls

Called by

77 functions in 11 files