Bazaar developer reference

CvDllPreGame::GetGameOptionCount()

Defined in
CvDllPreGame.cpp, line 210
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_GetGameOptionCount

Hooks

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

Code

210uint CvDllPreGame::GetGameOptionCount()211{212	return CvPreGame::GetGameOptions().size();213}

Calls