Bazaar developer reference

CvDllPreGame::pitBossTurnTime()

Defined in
CvDllPreGame.cpp, line 1122
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_pitBossTurnTime

Hooks

static bool BeforeCvDllPreGame_pitBossTurnTime(CvDllPreGame* self, int& result);static void AfterCvDllPreGame_pitBossTurnTime(CvDllPreGame* self, int& result);static int ReplaceCvDllPreGame_pitBossTurnTime(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_pitBossTurnTime::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_pitBossTurnTime);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_pitBossTurnTime::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_pitBossTurnTime);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_pitBossTurnTime::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_pitBossTurnTime);

Code

1122int CvDllPreGame::pitBossTurnTime()1123{1124	return CvPreGame::pitBossTurnTime();1125}

Calls