Bazaar developer reference

CvDllPreGame::getActiveSlotCount()

Defined in
CvDllPreGame.cpp, line 1072
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_getActiveSlotCount

Hooks

static bool BeforeCvDllPreGame_getActiveSlotCount(CvDllPreGame* self, int& result);static void AfterCvDllPreGame_getActiveSlotCount(CvDllPreGame* self, int& result);static int ReplaceCvDllPreGame_getActiveSlotCount(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_getActiveSlotCount::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_getActiveSlotCount);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_getActiveSlotCount::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_getActiveSlotCount);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_getActiveSlotCount::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_getActiveSlotCount);

Code

1072int CvDllPreGame::getActiveSlotCount()1073{1074	return CvPreGame::getActiveSlotCount();1075}

Calls