Bazaar developer reference

CvGame::unitIsMoving()

Defined in
CvGame.cpp, line 11310
Class
CvGame
Hook name
CivHooks::CvGame_unitIsMoving

Hooks

static bool BeforeCvGame_unitIsMoving(CvGame* self);static void AfterCvGame_unitIsMoving(CvGame* self);static void ReplaceCvGame_unitIsMoving(void (*original)(CvGame*), CvGame* self);CivRegisterBefore<CivHooks::CvGame_unitIsMoving>(host, &BeforeCvGame_unitIsMoving);CivRegisterAfter<CivHooks::CvGame_unitIsMoving>(host, &AfterCvGame_unitIsMoving);CivRegisterReplace<CivHooks::CvGame_unitIsMoving>(host, &ReplaceCvGame_unitIsMoving);

Code

11310void CvGame::unitIsMoving()11311{11312	s_unitMoveTurnSlice = getTurnSlice();11313}

Calls

Called by