This commit is contained in:
SongWei 2020-02-16 18:31:00 +11:00
parent 9623417d02
commit 660df677e6
3 changed files with 15 additions and 15 deletions

View File

@ -3,4 +3,15 @@ diag_log "leoext: try to initialize...";
_return = "libleoext" callExtension "foooo";
execVM "\leoservermod\marker.sqf";
leoext_stop = false;
[] spawn {
while {!leoext_stop} do {
sleep 1;
private _markers = call leoext_map_markers_information;
private _units = call leoext_units_pos;
"libleoext" callExtension ["foo", [[_markers, _units]]];
};
}
diag_log format ["leoext: initialize complete! return: %1", _return];

View File

@ -26,17 +26,4 @@ leoext_units_pos = {
} forEach allUnits;
_units_pos;
};
leoext_stop = false;
[] spawn {
while {!leoext_stop} do {
sleep 1;
diag_log "submitting coordinates...";
private _markers = call leoext_map_markers_information;
private _units = call leoext_units_pos;
"libleoext" callExtension ["foo", [[_markers, _units]]];
};
}
};

View File

@ -105,7 +105,9 @@
(getf env :request-method)
(getf env :request-uri)
route-function)
(funcall route-function env)))))
(funcall route-function env)))
:port 5000
:address "0.0.0.0"))
:name "webserver"))
(sb-thread:list-all-threads)