Bazaar developer reference

CvDllPreGame::handicap(PlayerTypes)

Defined in
CvDllPreGame.cpp, line 284
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_handicap

Hooks

static bool BeforeCvDllPreGame_handicap(CvDllPreGame* self, PlayerTypes p, HandicapTypes& result);static void AfterCvDllPreGame_handicap(CvDllPreGame* self, PlayerTypes p, HandicapTypes& result);static HandicapTypes ReplaceCvDllPreGame_handicap(HandicapTypes (*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_handicap::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_handicap);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_handicap::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_handicap);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_handicap::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_handicap);

Code

284HandicapTypes CvDllPreGame::handicap(PlayerTypes p)285{286	return CvPreGame::handicap(p);287}

Calls