Bazaar developer reference

CvDllPreGame::setMapRandomSeed(unsigned int)

Defined in
CvDllPreGame.cpp, line 810
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setMapRandomSeed

Hooks

static bool BeforeCvDllPreGame_setMapRandomSeed(CvDllPreGame* self, unsigned int newSeed);static void AfterCvDllPreGame_setMapRandomSeed(CvDllPreGame* self, unsigned int newSeed);static void ReplaceCvDllPreGame_setMapRandomSeed(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_setMapRandomSeed::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setMapRandomSeed);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setMapRandomSeed::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setMapRandomSeed);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setMapRandomSeed::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setMapRandomSeed);

Code

810void CvDllPreGame::setMapRandomSeed(unsigned int newSeed)811{812	CvPreGame::setMapRandomSeed(newSeed);813}

Calls