network_object_info table reference - Stingray Lua API Reference

network_object_info table reference

Description

Contains metadata about a particular type of game object set up in the .network_config resource that you have used to initialize the Stingray stingray.Network.

An instance of this table is returned by the stingray.Network.object_info() function.

The elements in this table correspond to the settings that you can configure for your game object types in the .network_config resource file. See the networking documentation for additional details.

Data Members

An array that contains an ordered list of sub-tables, each of which describes one of the fields set up as an argument for this type of object.

priority : number

The priority assigned to this game object.

Lower values mean that the game object will increase its priority quickly when changes are not acknowledged on the remote peers; high values mean slower increase in priority.