GarageGames / Torque3D

MIT Licensed Open Source version of Torque 3D from GarageGames
http://torque3d.org
MIT License
3.35k stars 1.2k forks source link

Adds a new function for defining network-aware console fields on NetObjects #2157

Closed Areloch closed 6 years ago

Areloch commented 6 years ago

Adds a new function for defining static console fields on NetObjects- addNetworkedField()

This lets you attach a 32 bit netMask to the field, so that when it is changed, it automatically flags the associated bitmasks on the netobject as dirty.

This is to shortcut having to flag certain masks being marked as dirty through protected fields and just simplify/streamline the code.