Bazaar developer reference

CvPreGame::SetMapOptions(const std::vector<CustomOption> &)

Defined in
CvPreGame.cpp, line 1557
Hook name
CivHooks::CvPreGame_SetMapOptions

Hooks

static bool BeforeCvPreGame_SetMapOptions(const std::vector<CvPreGame::CustomOption> & mapOptions, bool& result);static void AfterCvPreGame_SetMapOptions(const std::vector<CvPreGame::CustomOption> & mapOptions, bool& result);static bool ReplaceCvPreGame_SetMapOptions(bool (*original)(const std::vector<CvPreGame::CustomOption> &), const std::vector<CvPreGame::CustomOption> & mapOptions);CivRegisterBefore<CivHooks::CvPreGame_SetMapOptions>(host, &BeforeCvPreGame_SetMapOptions);CivRegisterAfter<CivHooks::CvPreGame_SetMapOptions>(host, &AfterCvPreGame_SetMapOptions);CivRegisterReplace<CivHooks::CvPreGame_SetMapOptions>(host, &ReplaceCvPreGame_SetMapOptions);

Code

1557bool SetMapOptions(const std::vector<CustomOption>& mapOptions)1558{1559	s_MapOptions = mapOptions;1560	return true;1561}

Calls

Called by