Hooks
static bool BeforeCvGame_getMapRandNum(CvGame* self, int iNum, const char* pszLog, int& result);static void AfterCvGame_getMapRandNum(CvGame* self, int iNum, const char* pszLog, int& result);static int ReplaceCvGame_getMapRandNum(int (*original)(CvGame*, int, const char*), CvGame* self, int iNum, const char* pszLog);CivRegisterBefore<CivHooks::CvGame_getMapRandNum>(host, &BeforeCvGame_getMapRandNum);CivRegisterAfter<CivHooks::CvGame_getMapRandNum>(host, &AfterCvGame_getMapRandNum);CivRegisterReplace<CivHooks::CvGame_getMapRandNum>(host, &ReplaceCvGame_getMapRandNum);