ReadStringTable

Last Updated2013-08-01
Created At2007-07-15

Retrieves the string at a given index of a string table.

native int ReadStringTable(int tableidx, int stringidx, char[] str, int maxlength)

Parameters

int tableidx
A string table index.
int stringidx
A string index.
char[] str
Buffer to store the string value.
int maxlength
Maximum length of string buffer.

Return Value

int Number of bytes written to the buffer (UTF-8 safe).

Error

Invalid string table index or string index.