Hooks
static bool BeforeCvDllCity_GetX(const CvDllCity* self, int& result);static void AfterCvDllCity_GetX(const CvDllCity* self, int& result);static int ReplaceCvDllCity_GetX(int (*original)(const CvDllCity*), const CvDllCity* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllCity_GetX::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllCity_GetX);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCity_GetX::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllCity_GetX);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCity_GetX::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllCity_GetX);