Hooks
static bool BeforeCvDllUnitInfo_GetText(const CvDllUnitInfo* self, const char*& result);static void AfterCvDllUnitInfo_GetText(const CvDllUnitInfo* self, const char*& result);static const char* ReplaceCvDllUnitInfo_GetText(const char* (*original)(const CvDllUnitInfo*), const CvDllUnitInfo* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnitInfo_GetText::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllUnitInfo_GetText);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnitInfo_GetText::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllUnitInfo_GetText);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnitInfo_GetText::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllUnitInfo_GetText);