Bazaar developer reference

CvDllPreGame::setBandwidth(BandwidthType)

Defined in
CvDllPreGame.cpp, line 600
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setBandwidth

Hooks

static bool BeforeCvDllPreGame_setBandwidth(CvDllPreGame* self, BandwidthType b);static void AfterCvDllPreGame_setBandwidth(CvDllPreGame* self, BandwidthType b);static void ReplaceCvDllPreGame_setBandwidth(void (*original)(CvDllPreGame*, BandwidthType), CvDllPreGame* self, BandwidthType b);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setBandwidth::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setBandwidth);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setBandwidth::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setBandwidth);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setBandwidth::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setBandwidth);

Code

600void CvDllPreGame::setBandwidth(BandwidthType b)601{602	CvPreGame::setBandwidth(b);603}

Calls