GetTrieArray Function

Retrieves an array in a Map.

bool GetTrieArray(Handle map, const char[] key, any[] array, int max_size, int& size)

Parameters

Handle map

Map Handle.

const char[] key

Key string.

any[] array

Buffer to store array.

int max_size

Maximum size of array buffer.

int& size

Optional parameter to store the number of elements written to the buffer.

Return Value

True on success. False if the key is not set, or the key is set as a value or string (not an array).

Errors

Invalid Handle.