RemoteObject
- Usage:
TArray[ArrayIndex]
- Return type:
auto
- Attempts to retrieve the value at the specified integer offset
ArrayIndex
in the array.
- Can return any type, you can use the
type()
function on the returned value to figure out what Lua class it's using (if non-trivial type).
- Usage:
TArray[ArrayIndex] = NewValue
- Attempts to set the value at the specified integer offset
ArrayIndex
in the array to NewValue
.
- Usage:
#TArray
- Return type:
integer
- Returns the number of current elements in the array.
- Return type:
integer
- Returns: the address in memory where the
TArray
struct is located.
- Return type:
integer
- Returns: the number of current elements in the array.
- Return type:
integer
- Returns: the maximum number of elements allowed in this array (aka capacity).
- Return type:
integer
- Returns: the address in memory where the data for this array is stored.
- Iterates the entire
TArray
and calls the callback function for each element in the array.
- The callback params are:
integer index
, RemoteUnrealParam elem
| LocalUnrealParam elem
.
- Use
elem:get()
and elem:set()
to access/mutate an array element.