Skip to content

Commit 6ebc0a2

Browse files
name and documentation for 0x749DEEA2 (#1200)
* name and documentation for 0x749DEEA2 * Update VEHICLE/GetVehicleColoursWhichCanBeSet.md Co-authored-by: Dillon Skaggs <dillskaggs@gmail.com> * tweak: keep consistent language for enum --------- Co-authored-by: Dillon Skaggs <dillskaggs@gmail.com>
1 parent 61bf52d commit 6ebc0a2

File tree

2 files changed

+26
-18
lines changed

2 files changed

+26
-18
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
ns: VEHICLE
3+
aliases: ["0xEEBFC7A7EFDC35B4"]
4+
---
5+
## GET_VEHICLE_COLOURS_WHICH_CAN_BE_SET
6+
7+
```c
8+
// 0xEEBFC7A7EFDC35B4 0x749DEEA2
9+
int GET_VEHICLE_COLOURS_WHICH_CAN_BE_SET(Vehicle vehicle);
10+
```
11+
12+
```c
13+
enum eColourBitField {
14+
HAS_BODY_COLOUR1 = 1,
15+
HAS_BODY_COLOUR2 = 2,
16+
HAS_BODY_COLOUR3 = 4,
17+
HAS_BODY_COLOUR4 = 8,
18+
HAS_BODY_COLOUR5 = 16
19+
}
20+
```
21+
22+
## Parameters
23+
* **vehicle**: The vehicle handle
24+
25+
## Return value
26+
Returns a bitfield of the colours supported by the vehicle's shader.

VEHICLE/N_0xeebfc7a7efdc35b4.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)