User Tools

Site Tools


supported_hardware:websocket

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
supported_hardware:websocket [2018/08/25 19:44] – [Talking To XTension] James Sentmansupported_hardware:websocket [2023/02/13 14:52] (current) – external edit 127.0.0.1
Line 57: Line 57:
  
 The xt.uKeyUniqueId is guarenteed to be present in every update frame for a Unit or a Global Script so that you can find the previous data structure and merge them together. The xt.uKeyUniqueId is guarenteed to be present in every update frame for a Unit or a Global Script so that you can find the previous data structure and merge them together.
 +
 +
 +===Deleting Units===
 +XTension version 9.4.12 added another section to the websocket data with a key of “removed” if a shared object is deleted in XTension or just removed from a list that is shared you will receive an array of the removed objects in this manner. The “removed” array is a list of json objects with 2 keys in them. The first is “type” which is the name of the shared object to be removed, as of this writing “unit”, “script” or “list” and then the “UniqueId” key which has the unique id of the removed object. It is up to your implementation to remove the object from any saved arrays of available shared objects as XTension will no longer accept commands for that unit.
supported_hardware/websocket.1535226296.txt.gz · Last modified: 2023/02/13 14:51 (external edit)