forked from f1recracker/GTAV-RewardHook
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathVehiclePOJO.cs
155 lines (152 loc) · 4.33 KB
/
VehiclePOJO.cs
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GTA;
namespace GTAVRewardHook
{
class VehiclePOJO
{
/// <summary>
/// 是否在屏幕上
/// </summary>
public bool IsOnScreen { get; set; }
/// <summary>
/// 当前位置
/// </summary>
public Vector3POJO Position { get; set; }
/// <summary>
/// 右方向向量
/// </summary>
public Vector3POJO RightVector { get; set; }
/// <summary>
/// 旋转向量
/// </summary>
public Vector3POJO Rotation { get; set; }
/// <summary>
/// 前方向向量
/// </summary>
public Vector3POJO ForwardVector { get; set; }
/// <summary>
/// 高出地面的距离
/// </summary>
public float HeightAboveGround { get; set; }
/// <summary>
/// 速度向量
/// </summary>
public Vector3POJO Velocity { get; set; }
/// <summary>
/// 前灯是否坏了
/// </summary>
public bool RightHeadLightBroken { get; set; }
/// <summary>
/// 尾灯是否坏了
/// </summary>
public bool LeftHeadLightBroken { get; set; }
/// <summary>
/// 灯是否亮着
/// </summary>
public bool LightsOn { get; set; }
/// <summary>
/// 引擎是否启动
/// </summary>
public bool EngineRunning { get; set; }
/// <summary>
/// 探照灯是否亮着
/// </summary>
public bool SearchLightOn { get; set; }
/// <summary>
/// ?
/// </summary>
public bool IsOnAllWheels { get; set; }
/// <summary>
/// 是否正停在红绿灯前
/// </summary>
public bool IsStoppedAtTrafficLights { get; set; }
/// <summary>
/// 是否停下了
/// </summary>
public bool IsStopped { get; set; }
/// <summary>
/// 是否可驾驶
/// </summary>
public bool IsDriveable { get; set; }
/// <summary>
/// ?
/// </summary>
public bool IsConvertible { get; set; }
/// <summary>
/// 前保险杠是否坏了
/// </summary>
public bool IsFrontBumperBrokenOff { get; set; }
/// <summary>
/// 后保险杠是否坏了
/// </summary>
public bool IsRearBumperBrokenOff { get; set; }
/// <summary>
/// 是否损坏
/// </summary>
public bool IsDamaged { get; set; }
/// <summary>
/// 速度
/// </summary>
public float Speed { get; set; }
/// <summary>
/// 车身健康状况
/// </summary>
public float BodyHealth { get; set; }
/// <summary>
/// 健康状况
/// </summary>
public int Health { get; set; }
/// <summary>
/// 最大健康值
/// </summary>
public int MaxHealth { get; set; }
/// <summary>
/// 最大刹车
/// </summary>
public float MaxBraking { get; set; }
/// <summary>
/// 最大牵引
/// </summary>
public float MaxTraction { get; set; }
/// <summary>
/// 引擎健康值
/// </summary>
public float EngineHealth { get; set; }
/// <summary>
/// 转角
/// </summary>
public float SteeringScale { get; set; }
/// <summary>
/// 汽车转角角度
/// </summary>
public float SteeringAngle { get; set; }
/// <summary>
/// 车轮转速
/// </summary>
public float WheelSpeed { get; set; }
/// <summary>
/// 加速度 -1 0 1
/// </summary>
public float Acceleration { get; set; }
/// <summary>
/// 油箱油量 应该一直是满的
/// </summary>
public float FuelLevel { get; set; }
/// <summary>
/// 当前每分钟转速
/// </summary>
public float CurrentRPM { get; set; }
/// <summary>
/// ?
/// </summary>
public int CurrentGear { get; set; }
/// <summary>
/// ?
/// </summary>
public int HighGear { get; set; }
}
}