Entity::data: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
No edit summary
Line 1: Line 1:
This property is used to get or set entity data.
This property is used to get or set entity data.


'''Note''': Changing this function property has the same effect as [[Entity::setVariable]].
'''Note''': Changing this property has the same effect as using [[Entity::setVariable]] function.


==Getter==
==Getter==

Revision as of 20:26, 4 February 2018

This property is used to get or set entity data.

Note: Changing this property has the same effect as using Entity::setVariable function.

Getter

  • any

Setter

  • any

Example

entity.data.foo = bar;