Bazaar developer reference

CvUnit::getMoves() const

Defined in
CvUnit.cpp, line 16896
Class
CvUnit
Hook name
CivHooks::CvUnit_getMoves

Hooks

static bool BeforeCvUnit_getMoves(const CvUnit* self, int& result);static void AfterCvUnit_getMoves(const CvUnit* self, int& result);static int ReplaceCvUnit_getMoves(int (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_getMoves>(host, &BeforeCvUnit_getMoves);CivRegisterAfter<CivHooks::CvUnit_getMoves>(host, &AfterCvUnit_getMoves);CivRegisterReplace<CivHooks::CvUnit_getMoves>(host, &ReplaceCvUnit_getMoves);

Code

16896int CvUnit::getMoves() const16897{16898	VALIDATE_OBJECT16899	return m_iMoves;16900}

Calls

Called by