-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNewStarTelemetryData.cs
More file actions
51 lines (36 loc) · 1.09 KB
/
NewStarTelemetryData.cs
File metadata and controls
51 lines (36 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
using System.Runtime.InteropServices;
namespace com.drowhunter.NewStarGPTelemetryMod
{
[StructLayout(LayoutKind.Sequential)]
internal struct NewStarTelemetryData
{
public float Pitch;
public float Yaw;
public float Roll;
public float AngularVelocityX;
public float AngularVelocityY;
public float AngularVelocityZ;
public float cForce;
public float VelocityX;
public float VelocityY;
public float VelocityZ;
public float AccelX;
public float AccelY;
public float AccelZ;
/// <summary>
/// Speed in Meter per Second
/// </summary>
public float Speed;
public float RPM;
public int CurrentGear;
public float TireFL;
public float TireFR;
public float TireBL;
public float TireBR;
public int WheelsOnTrack;
public bool IsBoosting;
internal bool AllowDriving;
internal bool IsRacing;
internal bool IsEventOver;
}
}