Hooks
static bool BeforeCvDllCity_GetOwner(const CvDllCity* self, PlayerTypes& result);static void AfterCvDllCity_GetOwner(const CvDllCity* self, PlayerTypes& result);static PlayerTypes ReplaceCvDllCity_GetOwner(PlayerTypes (*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_GetOwner::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllCity_GetOwner);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCity_GetOwner::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllCity_GetOwner);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCity_GetOwner::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllCity_GetOwner);