Bazaar developer reference

CvGame::setMPOption(MultiplayerOptionTypes, bool)

Defined in
CvGame.cpp, line 7302
Class
CvGame
Hook name
CivHooks::CvGame_setMPOption

Hooks

static bool BeforeCvGame_setMPOption(CvGame* self, MultiplayerOptionTypes eIndex, bool bEnabled);static void AfterCvGame_setMPOption(CvGame* self, MultiplayerOptionTypes eIndex, bool bEnabled);static void ReplaceCvGame_setMPOption(void (*original)(CvGame*, MultiplayerOptionTypes, bool), CvGame* self, MultiplayerOptionTypes eIndex, bool bEnabled);CivRegisterBefore<CivHooks::CvGame_setMPOption>(host, &BeforeCvGame_setMPOption);CivRegisterAfter<CivHooks::CvGame_setMPOption>(host, &AfterCvGame_setMPOption);CivRegisterReplace<CivHooks::CvGame_setMPOption>(host, &ReplaceCvGame_setMPOption);

Code

7302void CvGame::setMPOption(MultiplayerOptionTypes eIndex, bool bEnabled)7303{7304	CvPreGame::setMultiplayerOption(eIndex, bEnabled);7305}

Calls

Called by