Method Object:HasFlag [-] [+]

Returns true if the specified flag is set, otherwise false.

Synopsis

hasFlag = Object:HasFlag( index, flag )

Arguments

number index

The index of the flags data in the Object.

Valid numbers: integers from 0 to 65,535.

number flag

The flag to check for in the flags data.

Valid numbers: integers from 0 to 4,294,967,295.

Returns

boolean hasFlag
See method description.

Generated on
©2016 - Eluna Lua Engine