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>
|
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
params ["_client"];
|
|
|
|
|
2016-07-30 10:28:06 +00:00
|
|
|
[GVAR(syncedEvents), {
|
2017-05-31 21:09:36 +00:00
|
|
|
//IGNORE_PRIVATE_WARNING ["_key", "_value"];
|
2016-07-30 10:28:06 +00:00
|
|
|
_value params ["", "_eventLog"];
|
2016-05-30 16:37:03 +00:00
|
|
|
|
2016-07-30 10:28:06 +00:00
|
|
|
["ACEs", [_key, _eventLog], _client] call CBA_fnc_targetEvent;
|
2016-05-30 16:37:03 +00:00
|
|
|
false
|
2016-07-30 10:28:06 +00:00
|
|
|
}] call CBA_fnc_hashEachPair;
|
2016-05-30 16:37:03 +00:00
|
|
|
|
|
|
|
true
|