1- using UnityEngine ;
21using System ;
2+ using UnityEngine ;
33
44[ Serializable ]
55public struct AngularResponse
@@ -39,7 +39,16 @@ public struct EphysLinkOptions
3939 public int MpmPort ;
4040 public string Serial ;
4141
42- public EphysLinkOptions ( bool background , bool ignoreUpdates , string type , bool debug , bool useProxy , string proxyAddress , int mpmPort , string serial )
42+ public EphysLinkOptions (
43+ bool background ,
44+ bool ignoreUpdates ,
45+ string type ,
46+ bool debug ,
47+ bool useProxy ,
48+ string proxyAddress ,
49+ int mpmPort ,
50+ string serial
51+ )
4352 {
4453 Background = background ;
4554 IgnoreUpdates = ignoreUpdates ;
@@ -52,24 +61,35 @@ public EphysLinkOptions(bool background, bool ignoreUpdates, string type, bool d
5261 }
5362}
5463
55-
5664[ Serializable ]
5765public struct GetManipulatorsResponse
5866{
5967 public string [ ] Manipulators ;
60- public int NumAxes ;
61- public Vector4 Dimensions ;
6268 public string Error ;
6369
64- public GetManipulatorsResponse ( string [ ] manipulators , int numAxes , Vector4 dimensions , string error )
70+ public GetManipulatorsResponse ( string [ ] manipulators , string error )
6571 {
6672 Manipulators = manipulators ;
67- NumAxes = numAxes ;
68- Dimensions = dimensions ;
6973 Error = error ;
7074 }
7175}
7276
77+ [ Serializable ]
78+ public struct PlatformInfo
79+ {
80+ public string Name ;
81+ public string CliName ;
82+ public int AxesCount ;
83+ public Vector4 Dimensions ;
84+
85+ public PlatformInfo ( string name , string cliName , int axesCount , Vector4 dimensions )
86+ {
87+ Name = name ;
88+ CliName = cliName ;
89+ AxesCount = axesCount ;
90+ Dimensions = dimensions ;
91+ }
92+ }
7393
7494[ Serializable ]
7595public struct PositionalResponse
@@ -125,7 +145,6 @@ public SetInsideBrainRequest(string manipulatorId, bool inside)
125145 }
126146}
127147
128-
129148[ Serializable ]
130149public struct SetPositionRequest
131150{
@@ -152,5 +171,4 @@ public ShankCountResponse(int shankCount, string error)
152171 ShankCount = shankCount ;
153172 Error = error ;
154173 }
155- }
156-
174+ }
0 commit comments