added XEH_postInit to start websocket on client side

This commit is contained in:
Valmo Trindade
2025-05-16 01:11:22 -03:00
parent eda786931d
commit 319ea9b32a
4 changed files with 8 additions and 9 deletions

View File

@@ -8,4 +8,10 @@ class Extended_PreInit_EventHandlers {
class ADDON { class ADDON {
init = QUOTE(call COMPILE_SCRIPT(XEH_preInit)); init = QUOTE(call COMPILE_SCRIPT(XEH_preInit));
}; };
}; };
class Extended_PostInit_EventHandlers {
class armatak_main {
init = QUOTE(call COMPILE_SCRIPT(XEH_postInit));
};
};

View File

@@ -1,3 +1,2 @@
PREP(convertClientLocation); PREP(convertClientLocation);
PREP(extractClientPosition); PREP(extractClientPosition);
PREP(socketRouter);

View File

@@ -1,4 +1,4 @@
#include "..\script_component.hpp" #include "script_component.hpp"
if (!hasInterface) exitWith {}; if (!hasInterface) exitWith {};

View File

@@ -16,10 +16,4 @@ class CfgPatches {
}; };
}; };
class Extended_PostInit_EventHandlers {
class armatak_main {
init = "call compileScript ['\armatak\armatak\armatak_client\initPlayerLocal.sqf']";
};
};
#include "CfgEventHandlers.hpp" #include "CfgEventHandlers.hpp"