Hooks
static bool BeforesortHotkeyPriority(const OrderIndex& orderIndex1, const OrderIndex& orderIndex2, bool& result);static void AftersortHotkeyPriority(const OrderIndex& orderIndex1, const OrderIndex& orderIndex2, bool& result);static bool ReplacesortHotkeyPriority(bool (*original)(const OrderIndex&, const OrderIndex&), const OrderIndex& orderIndex1, const OrderIndex& orderIndex2);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::sortHotkeyPriority::ID, CIV_HOOK_BEFORE, (void*)&BeforesortHotkeyPriority);host->RegisterHook(host->pluginIndex, CivHooks::sortHotkeyPriority::ID, CIV_HOOK_AFTER, (void*)&AftersortHotkeyPriority);host->RegisterHook(host->pluginIndex, CivHooks::sortHotkeyPriority::ID, CIV_HOOK_REPLACE, (void*)&ReplacesortHotkeyPriority);