2018-09-17 19:19:29 +00:00
|
|
|
#include "script_component.hpp"
|
2016-05-30 16:37:03 +00:00
|
|
|
/*
|
|
|
|
* Author: jaynus
|
|
|
|
* Handles a server-side request for synchronization ALL events on JIP to a client.
|
|
|
|
*
|
|
|
|
* Arguments:
|
|
|
|
* 0: client <OBJECT>
|
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* Event is successed <BOOL>
|
|
|
|
*
|
2017-06-08 13:31:51 +00:00
|
|
|
* Example:
|
|
|
|
* [bob] call ace_common_fnc__handleRequestAllSyncedEvents
|
|
|
|
*
|
2016-05-30 16:37:03 +00:00
|
|
|
* Public: No
|
|
|
|
*/
|
|
|
|
|
|
|
|
params ["_client"];
|
|
|
|
|
2021-10-10 16:55:14 +00:00
|
|
|
{
|
|
|
|
//IGNORE_PRIVATE_WARNING ["_x", "_y"];
|
|
|
|
_y params ["", "_eventlog"];
|
|
|
|
["ACEs", [_x, _eventLog], _client] call CBA_fnc_targetEvent;
|
2016-05-30 16:37:03 +00:00
|
|
|
false
|
2021-10-10 16:55:14 +00:00
|
|
|
} forEach GVAR(syncedEvents);
|
2016-05-30 16:37:03 +00:00
|
|
|
|
|
|
|
true
|