mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
25 lines
413 B
Plaintext
25 lines
413 B
Plaintext
/*
|
|
* Author: Glowbal
|
|
*
|
|
*
|
|
* Arguments:
|
|
* 0: device ID <STRING>
|
|
* 1: keys <ARRAY>
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
params ["_deviceID", "_keys"];
|
|
|
|
private ["_data", "_encryption"];
|
|
_data = [_deviceID] call FUNC(getDeviceData);
|
|
_encryption = _data select 1;
|
|
_encryption set [1, _keys];
|
|
|
|
["bft_deviceDataChanged", [_data, false]] call EFUNC(common,localEvent);
|