Bazaar developer reference

CvPreGame::setBandwidth(BandwidthType)

Defined in
CvPreGame.cpp, line 2302
Hook name
CivHooks::CvPreGame_setBandwidth

Hooks

static bool BeforeCvPreGame_setBandwidth(BandwidthType b);static void AfterCvPreGame_setBandwidth(BandwidthType b);static void ReplaceCvPreGame_setBandwidth(void (*original)(BandwidthType), BandwidthType b);CivRegisterBefore<CivHooks::CvPreGame_setBandwidth>(host, &BeforeCvPreGame_setBandwidth);CivRegisterAfter<CivHooks::CvPreGame_setBandwidth>(host, &AfterCvPreGame_setBandwidth);CivRegisterReplace<CivHooks::CvPreGame_setBandwidth>(host, &ReplaceCvPreGame_setBandwidth);

Code

2302void setBandwidth(BandwidthType b)2303{2304	s_bandwidth = b;2305}

Calls

Called by