Bazaar developer reference

CvDllPreGame::isPlayable(PlayerTypes)

Defined in
CvDllPreGame.cpp, line 340
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_isPlayable

Hooks

static bool BeforeCvDllPreGame_isPlayable(CvDllPreGame* self, PlayerTypes p, bool& result);static void AfterCvDllPreGame_isPlayable(CvDllPreGame* self, PlayerTypes p, bool& result);static bool ReplaceCvDllPreGame_isPlayable(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_isPlayable::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_isPlayable);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_isPlayable::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_isPlayable);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_isPlayable::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_isPlayable);

Code

340bool CvDllPreGame::isPlayable(PlayerTypes p)341{342	return CvPreGame::isPlayable(p);343}

Calls