ACE3/addons/common/functions/fnc__handleRequestAllSyncedEvents.sqf
Phyma ffaa195fe5 Conform function headers to coding guidelines (#5255)
* Fixed headers to work with silentspike python script

* Fixed rest of the files

* Fixed ace-team
2017-06-08 15:31:51 +02:00

29 lines
565 B
Plaintext

/*
* 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>
*
* Example:
* [bob] call ace_common_fnc__handleRequestAllSyncedEvents
*
* Public: No
*/
#include "script_component.hpp"
params ["_client"];
[GVAR(syncedEvents), {
//IGNORE_PRIVATE_WARNING ["_key", "_value"];
_value params ["", "_eventLog"];
["ACEs", [_key, _eventLog], _client] call CBA_fnc_targetEvent;
false
}] call CBA_fnc_hashEachPair;
true