GetObjectVarString

Last Updated2025-11-06
Created At2021-11-17

Gets an object's string variable value.

native void GetObjectVarString(int num, int offset, ObjectValueType type, char[] buffer, int size)

Parameters

int num
Parameter number to get, 0 for param "this", other parameters start from 1.
int offset
Byte offset within the object to the var to get.
Type of var it is.
char[] buffer
Buffer to store the result string.
int size
Size of the buffer.

Return Value

void

Error

Invalid handle, invalid param number, invalid param type or invalid Object type.