Bazaar developer reference

CvDllPreGame::setReady(PlayerTypes, bool)

Defined in
CvDllPreGame.cpp, line 935
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setReady

Hooks

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

Code

935void CvDllPreGame::setReady(PlayerTypes p, bool bIsReady)936{937	CvPreGame::setReady(p, bIsReady);938}

Calls