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