Bazaar developer reference

CvGame::getBestLandUnit()

Defined in
CvGame.cpp, line 5816
Class
CvGame
Hook name
CivHooks::CvGame_getBestLandUnit

Hooks

static bool BeforeCvGame_getBestLandUnit(CvGame* self, UnitTypes& result);static void AfterCvGame_getBestLandUnit(CvGame* self, UnitTypes& result);static UnitTypes ReplaceCvGame_getBestLandUnit(UnitTypes (*original)(CvGame*), CvGame* self);CivRegisterBefore<CivHooks::CvGame_getBestLandUnit>(host, &BeforeCvGame_getBestLandUnit);CivRegisterAfter<CivHooks::CvGame_getBestLandUnit>(host, &AfterCvGame_getBestLandUnit);CivRegisterReplace<CivHooks::CvGame_getBestLandUnit>(host, &ReplaceCvGame_getBestLandUnit);

Code

5816UnitTypes CvGame::getBestLandUnit()5817{5818	return m_eBestLandUnit;5819}

Called by