Hooks
static bool BeforeCvDllGameContext_GetInfoTypeForString(const CvDllGameContext* self, const char* szType, bool hideAssert, int& result);static void AfterCvDllGameContext_GetInfoTypeForString(const CvDllGameContext* self, const char* szType, bool hideAssert, int& result);static int ReplaceCvDllGameContext_GetInfoTypeForString(int (*original)(const CvDllGameContext*, const char*, bool), const CvDllGameContext* self, const char* szType, bool hideAssert);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetInfoTypeForString::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_GetInfoTypeForString);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetInfoTypeForString::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_GetInfoTypeForString);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetInfoTypeForString::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_GetInfoTypeForString);