Bazaar developer reference

CvGame::getAIAutoPlay()

Defined in
CvGame.cpp, line 5007
Class
CvGame
Hook name
CivHooks::CvGame_getAIAutoPlay

Hooks

static bool BeforeCvGame_getAIAutoPlay(CvGame* self, int& result);static void AfterCvGame_getAIAutoPlay(CvGame* self, int& result);static int ReplaceCvGame_getAIAutoPlay(int (*original)(CvGame*), CvGame* self);CivRegisterBefore<CivHooks::CvGame_getAIAutoPlay>(host, &BeforeCvGame_getAIAutoPlay);CivRegisterAfter<CivHooks::CvGame_getAIAutoPlay>(host, &AfterCvGame_getAIAutoPlay);CivRegisterReplace<CivHooks::CvGame_getAIAutoPlay>(host, &ReplaceCvGame_getAIAutoPlay);

Code

5007int CvGame::getAIAutoPlay()5008{5009	return m_iAIAutoPlay;5010}

Called by