Bazaar developer reference

CvDllPreGame::isPitBoss()

Defined in
CvDllPreGame.cpp, line 335
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_isPitBoss

Hooks

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

Code

335bool CvDllPreGame::isPitBoss()336{337	return CvPreGame::isPitBoss();338}

Calls