Bazaar developer reference

CvPreGame::syncRandomSeed()

Defined in
CvPreGame.cpp, line 3147
Hook name
CivHooks::CvPreGame_syncRandomSeed

Hooks

static bool BeforeCvPreGame_syncRandomSeed(unsigned int& result);static void AfterCvPreGame_syncRandomSeed(unsigned int& result);static unsigned int ReplaceCvPreGame_syncRandomSeed(unsigned int (*original)());CivRegisterBefore<CivHooks::CvPreGame_syncRandomSeed>(host, &BeforeCvPreGame_syncRandomSeed);CivRegisterAfter<CivHooks::CvPreGame_syncRandomSeed>(host, &AfterCvPreGame_syncRandomSeed);CivRegisterReplace<CivHooks::CvPreGame_syncRandomSeed>(host, &ReplaceCvPreGame_syncRandomSeed);

Code

3147unsigned int syncRandomSeed()3148{3149	return s_syncRandomSeed;3150}

Calls

Called by