Bazaar developer reference

CvDllPreGame::autorunTurnLimit()

Defined in
CvDllPreGame.cpp, line 70
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_autorunTurnLimit

Hooks

static bool BeforeCvDllPreGame_autorunTurnLimit(CvDllPreGame* self, int& result);static void AfterCvDllPreGame_autorunTurnLimit(CvDllPreGame* self, int& result);static int ReplaceCvDllPreGame_autorunTurnLimit(int (*original)(CvDllPreGame*), CvDllPreGame* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_autorunTurnLimit::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_autorunTurnLimit);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_autorunTurnLimit::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_autorunTurnLimit);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_autorunTurnLimit::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_autorunTurnLimit);

Code

70int CvDllPreGame::autorunTurnLimit()71{72	return CvPreGame::autorunTurnLimit();73}

Calls