User Tools

Site Tools


gamedev:remotelaunching:networkprotocol

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
gamedev:remotelaunching:networkprotocol [2024/12/03 12:50] – [Response System Property] dragonlordgamedev:remotelaunching:networkprotocol [2024/12/09 13:30] (current) dragonlord
Line 260: Line 260:
 | [[gamedev:dnp#data_types|Byte]] | Code  | Message code. Is value ''19'' | | [[gamedev:dnp#data_types|Byte]] | Code  | Message code. Is value ''19'' |
 | [[gamedev:dnp#data_types|String8]] | Property | Same value as ''Property'' in request. | | [[gamedev:dnp#data_types|String8]] | Property | Same value as ''Property'' in request. |
-| [[gamedev:dnp#data_types|Byte]] | PropertyData[*] | Value of property depending of type or empty if not supported. |+| [[gamedev:dnp#data_types|Strgin16]] | PropertyData | <WRAP>Value of property depending of type or empty if not supported. 
 +The length and format of ''PropertyData'' depends on the property type. 
 +  * ''properties.names'': Newline separated list of property names. For example ''Profile A\nProfile B''
 +  * ''profiles.names'': Newline separated list of profile names. For example ''Profile A\nProfile B''
 +  * ''profiles.default'': Name of default profile or empty string if there is none. 
 +Additional property names can be added in the future. Applications can define custom property names. Clients have to return empty value for unknown properties.</WRAP> |
 |  -  | Reserved | Reserved for future expansion. Ignore any additional bytes in the message. | |  -  | Reserved | Reserved for future expansion. Ignore any additional bytes in the message. |
  
-The length and format of ''PropertyData'' depends on the property type.+===== Keep-Alive =====
  
-List of all supported properties (''properties.names''): +Send by the server and the client to verify the other side is still aliveThis catches situations where the other side crashed or the network connection between the two sides rupturedThis messages requires no response since it is send reliable. Failure to receive it closes the connection. The message has this format:
-^  Type  ^  Name  ^  Description +
-| [[gamedev:dnp#data_types|UInt]] | Count | Count of property names+
-| [[gamedev:dnp#data_types|String8]] | PropertyNames[Count] | Property names. |+
  
-List of launcher profiles (''profiles.names''): +^  Type ^  Name  ^  Description 
-^  Type  ^  Name  ^  Description +| [[gamedev:dnp#data_types|Byte]] | Code Message codeIs value ''20'' | 
-| [[gamedev:dnp#data_types|UInt]] | Count Count of profile names+  Reserved Reserved for future expansion. Ignore any additional bytes in the message. |
-| [[gamedev:dnp#data_types|String8]] | ProfileNames[Count] | Profile names. | +
- +
-Name of default profile or empty string if there is none (''profiles.default''): +
- Type  ^  Name  ^  Description +
-[[gamedev:dnp#data_types|String8]] | ProfileName | Profile name. |+
  
 ====== Linked States ====== ====== Linked States ======
gamedev/remotelaunching/networkprotocol.1733230219.txt.gz · Last modified: 2024/12/03 12:50 by dragonlord