Bazaar developer reference

CvDllPreGame::syncRandomSeed()

Defined in
CvDllPreGame.cpp, line 1030
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_syncRandomSeed

Hooks

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

Code

1030unsigned int CvDllPreGame::syncRandomSeed()1031{1032	return CvPreGame::syncRandomSeed();1033}

Calls