feat(Core): Add clustering support (#16832)

Co-authored-by: 3kynox <thierry.prost@gmail.com>
Co-authored-by: nox <nox@noxen.net>
Co-authored-by: Ludwig <sudlud@users.noreply.github.com>
This commit is contained in:
Anton Popovichenko
2026-07-27 18:51:04 +02:00
committed by GitHub
parent f23ac046ab
commit 6f0ba8e896
80 changed files with 3675 additions and 297 deletions
+23
View File
@@ -0,0 +1,23 @@
#ifndef __EVENT_SERVERS_REGISTRY__
#define __EVENT_SERVERS_REGISTRY__
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
enum ServersRegistryStatus {
ServersRegistryHookStatusOK = 0,
ServersRegistryHookStatusNoHook = 1
};
typedef void (*OnMapsReassignedHook) (uint32_t* /*maps_added*/, int /*maps_added_size*/, uint32_t* /*maps_removed*/, int /*maps_removed_size*/);
void SetOnMapsReassignedHook(OnMapsReassignedHook h);
int CallOnMapsReassignedHook(uint32_t* maps_added, int maps_added_size, uint32_t* maps_removed, int maps_removed_size);
#ifdef __cplusplus
}
#endif
#endif