Bazaar developer reference

CvDllRandom::GetSeed() const

Defined in
CvDllRandom.cpp, line 114
Class
CvDllRandom
Hook name
CivHooks::CvDllRandom_GetSeed

Hooks

static bool BeforeCvDllRandom_GetSeed(const CvDllRandom* self, unsigned long& result);static void AfterCvDllRandom_GetSeed(const CvDllRandom* self, unsigned long& result);static unsigned long ReplaceCvDllRandom_GetSeed(unsigned long (*original)(const CvDllRandom*), const CvDllRandom* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllRandom_GetSeed::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllRandom_GetSeed);host->RegisterHook(host->pluginIndex, CivHooks::CvDllRandom_GetSeed::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllRandom_GetSeed);host->RegisterHook(host->pluginIndex, CivHooks::CvDllRandom_GetSeed::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllRandom_GetSeed);

Code

114unsigned long CvDllRandom::GetSeed() const115{116	return m_pRandom->getSeed();117}

Calls