Bazaar developer reference

CvDllRandom::Reset(unsigned long)

Defined in
CvDllRandom.cpp, line 88
Class
CvDllRandom
Hook name
CivHooks::CvDllRandom_Reset

Hooks

static bool BeforeCvDllRandom_Reset(CvDllRandom* self, unsigned long ulSeed);static void AfterCvDllRandom_Reset(CvDllRandom* self, unsigned long ulSeed);static void ReplaceCvDllRandom_Reset(void (*original)(CvDllRandom*, unsigned long), CvDllRandom* self, unsigned long ulSeed);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllRandom_Reset::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllRandom_Reset);host->RegisterHook(host->pluginIndex, CivHooks::CvDllRandom_Reset::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllRandom_Reset);host->RegisterHook(host->pluginIndex, CivHooks::CvDllRandom_Reset::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllRandom_Reset);

Code

88void CvDllRandom::Reset(unsigned long ulSeed)89{90	m_pRandom->reset(ulSeed);91}

Calls