Bazaar developer reference

CvDllPreGame::mapRandomSeed()

Defined in
CvDllPreGame.cpp, line 415
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_mapRandomSeed

Hooks

static bool BeforeCvDllPreGame_mapRandomSeed(CvDllPreGame* self, unsigned int& result);static void AfterCvDllPreGame_mapRandomSeed(CvDllPreGame* self, unsigned int& result);static unsigned int ReplaceCvDllPreGame_mapRandomSeed(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_mapRandomSeed::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_mapRandomSeed);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_mapRandomSeed::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_mapRandomSeed);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_mapRandomSeed::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_mapRandomSeed);

Code

415unsigned int CvDllPreGame::mapRandomSeed()416{417	return CvPreGame::mapRandomSeed();418}

Calls