Method Object:GetUInt16Value [-] [+]

Returns the data at the specified index and offset, casted to a signed 16-bit integer.

E.g. if you want the second half-word at index 10, you would pass in 1 as the offset.

Synopsis

value = Object:GetUInt16Value( index, offset )

Arguments

number index

Valid numbers: integers from 0 to 65,535.

number offset

Should be 0 or 1.

Valid numbers: integers from 0 to 255.

Returns

number value

Valid numbers: integers from 0 to 65,535.

Generated on
©2016 - Eluna Lua Engine