Bazaar developer reference

CvDllPreGame::advancedStartPoints()

Defined in
CvDllPreGame.cpp, line 55
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_advancedStartPoints

Hooks

static bool BeforeCvDllPreGame_advancedStartPoints(CvDllPreGame* self, int& result);static void AfterCvDllPreGame_advancedStartPoints(CvDllPreGame* self, int& result);static int ReplaceCvDllPreGame_advancedStartPoints(int (*original)(CvDllPreGame*), CvDllPreGame* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_advancedStartPoints::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_advancedStartPoints);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_advancedStartPoints::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_advancedStartPoints);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_advancedStartPoints::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_advancedStartPoints);

Code

55int CvDllPreGame::advancedStartPoints()56{57	return CvPreGame::advancedStartPoints();58}

Calls