Bazaar developer reference

CvDllPreGame::VerifyHandicap(PlayerTypes)

Defined in
CvDllPreGame.cpp, line 1162
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_VerifyHandicap

Hooks

static bool BeforeCvDllPreGame_VerifyHandicap(CvDllPreGame* self, PlayerTypes p);static void AfterCvDllPreGame_VerifyHandicap(CvDllPreGame* self, PlayerTypes p);static void ReplaceCvDllPreGame_VerifyHandicap(void (*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_VerifyHandicap::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_VerifyHandicap);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_VerifyHandicap::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_VerifyHandicap);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_VerifyHandicap::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_VerifyHandicap);

Code

1162void CvDllPreGame::VerifyHandicap(PlayerTypes p)1163{1164	CvPreGame::VerifyHandicap(p);1165}

Calls