ACE3/addons/common/functions/fnc__handleRequestAllSyncedEvents.sqf

28 lines
549 B
Plaintext
Raw Normal View History

/*
* Author: jaynus
2015-04-18 02:26:27 +00:00
* Handles a server-side request for synchronization ALL events on JIP to a client.
*
2015-09-18 05:42:10 +00:00
* Arguments:
* 0: client <OBJECT>
*
* Return Value:
* Event is successed <BOOL>
*
* Public: No
*/
#include "script_component.hpp"
2015-09-18 05:42:10 +00:00
params ["_client"];
{
2015-09-18 05:42:10 +00:00
private ["_eventEntry", "_eventLog"];
_eventEntry = HASH_GET(GVAR(syncedEvents),_x);
_eventLog = _eventEntry select 1;
2015-09-18 05:42:10 +00:00
["SEH_s", _client, [_x, _eventLog]] call FUNC(targetEvent);
2015-09-20 20:29:38 +00:00
false
} count (GVAR(syncedEvents) select 0);
2015-09-18 05:42:10 +00:00
true