Bazaar developer reference

CvPreGame::setMapRandomSeed(unsigned int)

Defined in
CvPreGame.cpp, line 2746
Hook name
CivHooks::CvPreGame_setMapRandomSeed

Hooks

static bool BeforeCvPreGame_setMapRandomSeed(unsigned int newSeed);static void AfterCvPreGame_setMapRandomSeed(unsigned int newSeed);static void ReplaceCvPreGame_setMapRandomSeed(void (*original)(unsigned int), unsigned int newSeed);CivRegisterBefore<CivHooks::CvPreGame_setMapRandomSeed>(host, &BeforeCvPreGame_setMapRandomSeed);CivRegisterAfter<CivHooks::CvPreGame_setMapRandomSeed>(host, &AfterCvPreGame_setMapRandomSeed);CivRegisterReplace<CivHooks::CvPreGame_setMapRandomSeed>(host, &ReplaceCvPreGame_setMapRandomSeed);

Code

2746void setMapRandomSeed(unsigned int newSeed)2747{2748	s_mapRandomSeed = newSeed;2749}

Calls

Called by