CBA_fnc_serializeNamespace

Description

Creates CBA hash containing all variables stored in a namespace.

Parameters

_namespacea namespace <LOCATION, OBJECT>
_defaultValueDefault value.  Used when key doesn’t exist.  A key is also removed from the hash if the value is set to this default [Any, defaults to nil]

Returns

_hasha hash ARRAY

Examples

private _hash = _namespace call CBA_fnc_serializeNamespace;
profileNamespace setVariable ["My_serializedNamespace", _hash];

Author

commy2

Array to read from [Array]
Close