Hooks
static bool BeforeCvDllGameSpeedInfo_GetBarbPercent(CvDllGameSpeedInfo* self, int& result);static void AfterCvDllGameSpeedInfo_GetBarbPercent(CvDllGameSpeedInfo* self, int& result);static int ReplaceCvDllGameSpeedInfo_GetBarbPercent(int (*original)(CvDllGameSpeedInfo*), CvDllGameSpeedInfo* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameSpeedInfo_GetBarbPercent::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameSpeedInfo_GetBarbPercent);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameSpeedInfo_GetBarbPercent::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameSpeedInfo_GetBarbPercent);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameSpeedInfo_GetBarbPercent::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameSpeedInfo_GetBarbPercent);