Bazaar developer reference

CvPreGame::setSyncRandomSeed(unsigned int)

Defined in
CvPreGame.cpp, line 2960
Hook name
CivHooks::CvPreGame_setSyncRandomSeed

Hooks

static bool BeforeCvPreGame_setSyncRandomSeed(unsigned int newSeed);static void AfterCvPreGame_setSyncRandomSeed(unsigned int newSeed);static void ReplaceCvPreGame_setSyncRandomSeed(void (*original)(unsigned int), unsigned int newSeed);CivRegisterBefore<CivHooks::CvPreGame_setSyncRandomSeed>(host, &BeforeCvPreGame_setSyncRandomSeed);CivRegisterAfter<CivHooks::CvPreGame_setSyncRandomSeed>(host, &AfterCvPreGame_setSyncRandomSeed);CivRegisterReplace<CivHooks::CvPreGame_setSyncRandomSeed>(host, &ReplaceCvPreGame_setSyncRandomSeed);

Code

2960void setSyncRandomSeed(unsigned int newSeed)2961{2962	s_syncRandomSeed = newSeed;2963}

Calls

Called by