Hooks
static bool BeforeCvDllImprovementInfo_IsDestroyedWhenPillaged(const CvDllImprovementInfo* self, bool& result);static void AfterCvDllImprovementInfo_IsDestroyedWhenPillaged(const CvDllImprovementInfo* self, bool& result);static bool ReplaceCvDllImprovementInfo_IsDestroyedWhenPillaged(bool (*original)(const CvDllImprovementInfo*), const CvDllImprovementInfo* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllImprovementInfo_IsDestroyedWhenPillaged::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllImprovementInfo_IsDestroyedWhenPillaged);host->RegisterHook(host->pluginIndex, CivHooks::CvDllImprovementInfo_IsDestroyedWhenPillaged::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllImprovementInfo_IsDestroyedWhenPillaged);host->RegisterHook(host->pluginIndex, CivHooks::CvDllImprovementInfo_IsDestroyedWhenPillaged::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllImprovementInfo_IsDestroyedWhenPillaged);