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