Hooks
static bool BeforeCvDllGame_GetJonRandNum(CvDllGame* self, int iNum, const char* pszLog, int& result);static void AfterCvDllGame_GetJonRandNum(CvDllGame* self, int iNum, const char* pszLog, int& result);static int ReplaceCvDllGame_GetJonRandNum(int (*original)(CvDllGame*, int, const char*), CvDllGame* self, int iNum, const char* pszLog);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_GetJonRandNum::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGame_GetJonRandNum);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_GetJonRandNum::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGame_GetJonRandNum);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_GetJonRandNum::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGame_GetJonRandNum);