Bazaar developer reference

CvDllPreGame::setPlayable(PlayerTypes, bool)

Defined in
CvDllPreGame.cpp, line 885
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setPlayable

Hooks

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

Code

885void CvDllPreGame::setPlayable(PlayerTypes p, bool playable)886{887	CvPreGame::setPlayable(p, playable);888}

Calls