Bazaar developer reference

CvDllPreGame::setSyncRandomSeed(unsigned int)

Defined in
CvDllPreGame.cpp, line 960
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setSyncRandomSeed

Hooks

static bool BeforeCvDllPreGame_setSyncRandomSeed(CvDllPreGame* self, unsigned int newSeed);static void AfterCvDllPreGame_setSyncRandomSeed(CvDllPreGame* self, unsigned int newSeed);static void ReplaceCvDllPreGame_setSyncRandomSeed(void (*original)(CvDllPreGame*, unsigned int), CvDllPreGame* self, unsigned int newSeed);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setSyncRandomSeed::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setSyncRandomSeed);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setSyncRandomSeed::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setSyncRandomSeed);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setSyncRandomSeed::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setSyncRandomSeed);

Code

960void CvDllPreGame::setSyncRandomSeed(unsigned int newSeed)961{962	CvPreGame::setSyncRandomSeed(newSeed);963}

Calls