Class DataObjectInt

Class Hierarchy

Provides functions to the host, set, and get values of the given type.

Inherits properties and message types from DataObjectIntMetadata.

Synopsis

Methods
create()

Creates an instance of DataObjectInt

setValue()

Sets the value of this data object

getValue()

Retrieves the value that is represented by this data object

DataObjectInt.DataObjectInt:create(objectName, value)

Creates an instance of DataObjectInt.

Parameters
objectName (string)

The name of the object.

value (number)

Initial value of the object.

DataObjectInt.DataObjectInt:setValue(value)

Sets the value of this data object.

Parameters
value (number)

The value to set.

DataObjectInt.DataObjectInt:getValue()

Retrieves the value that is represented by this data object.

Return Values
(number)