Bazaar developer reference

CvDllPreGame::gameMode()

Defined in
CvDllPreGame.cpp, line 185
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_gameMode

Hooks

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

Code

185GameMode CvDllPreGame::gameMode()186{187	return CvPreGame::gameMode();188}

Calls