Bazaar developer reference

CvDllPreGame::isHuman(PlayerTypes)

Defined in
CvDllPreGame.cpp, line 315
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_isHuman

Hooks

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

Code

315bool CvDllPreGame::isHuman(PlayerTypes p)316{317	return CvPreGame::isHuman(p);318}

Calls