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

@@ -9,3 +9,9 @@ class Extended_PreInit_EventHandlers {
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(extractClientPosition);
PREP(socketRouter);

View File

@@ -1,4 +1,4 @@
#include "..\script_component.hpp"
#include "script_component.hpp"
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"