@elite-dangerous-plugin-framework/journal 0.20250914.0 → 0.20260201.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +79 -1
- package/dist/generated/CancelledSquadronApplication.bi.d.ts +24 -0
- package/dist/generated/CancelledSquadronApplication.d.ts +24 -0
- package/dist/generated/CompleteConstruction.bi.d.ts +22 -0
- package/dist/generated/CompleteConstruction.d.ts +22 -0
- package/dist/generated/Docked.bi.d.ts +1 -1
- package/dist/generated/Docked.d.ts +1 -1
- package/dist/generated/PowerplayMerits.bi.d.ts +1 -1
- package/dist/generated/PowerplayMerits.d.ts +1 -1
- package/dist/generated/PowerplayRank.bi.d.ts +1 -1
- package/dist/generated/PowerplayRank.d.ts +1 -1
- package/dist/generated/Scan.bi.d.ts +2 -0
- package/dist/generated/Scan.d.ts +2 -0
- package/dist/generated/ScanOrganic.bi.d.ts +2 -0
- package/dist/generated/ScanOrganic.d.ts +2 -0
- package/dist/generated/SendText.bi.d.ts +5 -0
- package/dist/generated/SendText.d.ts +5 -0
- package/dist/generated/SquadronApplicationApproved.bi.d.ts +24 -0
- package/dist/generated/SquadronApplicationApproved.d.ts +24 -0
- package/dist/generated/SquadronApplicationRejected.bi.d.ts +24 -0
- package/dist/generated/SquadronApplicationRejected.d.ts +24 -0
- package/dist/generated/Status.bi.d.ts +98 -0
- package/dist/generated/Status.d.ts +98 -0
- package/dist/generated/index.d.ts +494 -486
- package/dist/index.js +16 -2
- package/dist/index.js.map +7 -4
- package/package.json +1649 -12
|
@@ -35,21 +35,116 @@ type StatusEvent = Event & {
|
|
|
35
35
|
*/
|
|
36
36
|
type Timestamp = string;
|
|
37
37
|
type Event1 = "Status";
|
|
38
|
+
/**
|
|
39
|
+
* Flags:
|
|
40
|
+
* Bit Value Hex Meaning
|
|
41
|
+
* 0 1 0000 0001 Docked, (on a landing pad)
|
|
42
|
+
* 1 2 0000 0002 Landed, (on planet surface)
|
|
43
|
+
* 2 4 0000 0004 Landing Gear Down
|
|
44
|
+
* 3 8 0000 0008 Shields Up
|
|
45
|
+
* 4 16 0000 0010 Supercruise
|
|
46
|
+
* 5 32 0000 0020 FlightAssist Off
|
|
47
|
+
* 6 64 0000 0040 Hardpoints Deployed
|
|
48
|
+
* 7 128 0000 0080 In Wing
|
|
49
|
+
* 8 256 0000 0100 LightsOn
|
|
50
|
+
* 9 512 0000 0200 Cargo Scoop Deployed
|
|
51
|
+
* 10 1024 0000 0400 Silent Running,
|
|
52
|
+
* 11 2048 0000 0800 Scooping Fuel
|
|
53
|
+
* 12 4096 0000 1000 Srv Handbrake
|
|
54
|
+
* 13 8192 0000 2000 Srv using Turret view
|
|
55
|
+
* 14 16384 0000 4000 Srv Turret retracted (close to ship)
|
|
56
|
+
* 15 32768 0000 8000 Srv DriveAssist
|
|
57
|
+
* 16 65536 0001 0000 Fsd MassLocked
|
|
58
|
+
* 17 131072 0002 0000 Fsd Charging
|
|
59
|
+
* 18 262144 0004 0000 Fsd Cooldown
|
|
60
|
+
* 19 524288 0008 0000 Low Fuel ( < 25% )
|
|
61
|
+
* 20 1048576 0010 0000 Over Heating ( > 100% )
|
|
62
|
+
* 21 2097152 0020 0000 Has Lat Long
|
|
63
|
+
* 22 4194304 0040 0000 IsInDanger
|
|
64
|
+
* 23 8388608 0080 0000 Being Interdicted
|
|
65
|
+
* 24 16777216 0100 0000 In MainShip
|
|
66
|
+
* 25 33554432 0200 0000 In Fighter
|
|
67
|
+
* 26 67108864 0400 0000 In SRV
|
|
68
|
+
* 27 134217728 0800 0000 Hud in Analysis mode
|
|
69
|
+
* 28 268435456 1000 0000 Night Vision
|
|
70
|
+
* 29 536870912 2000 0000 Altitude from Average radius
|
|
71
|
+
* 30 1073741824 4000 0000 fsdJump
|
|
72
|
+
* 31 2147483648 8000 0000 srvHighBeam
|
|
73
|
+
*/
|
|
38
74
|
type Flags = number;
|
|
75
|
+
/**
|
|
76
|
+
* an array of 3 integers representing energy distribution (in half-pips)
|
|
77
|
+
*/
|
|
39
78
|
type Pips = number[];
|
|
40
79
|
type FireGroup = number;
|
|
41
80
|
type FuelMain = number;
|
|
42
81
|
type FuelReservoir = number;
|
|
82
|
+
/**
|
|
83
|
+
* the selected GUI screen
|
|
84
|
+
* 0 NoFocus
|
|
85
|
+
* 1 InternalPanel (right hand side)
|
|
86
|
+
* 2 ExternalPanel (left hand side)
|
|
87
|
+
* 3 CommsPanel (top)
|
|
88
|
+
* 4 RolePanel (bottom)
|
|
89
|
+
* 5 StationServices
|
|
90
|
+
* 6 GalaxyMap
|
|
91
|
+
* 7 SystemMap
|
|
92
|
+
* 8 Orrery
|
|
93
|
+
* 9 FSS mode
|
|
94
|
+
* 10 SAA mode
|
|
95
|
+
* 11 Codex
|
|
96
|
+
*/
|
|
43
97
|
type GuiFocus = number;
|
|
98
|
+
/**
|
|
99
|
+
* if on or near a planet
|
|
100
|
+
* The latitude or longitude need to change by 0.02 degrees to trigger an update when flying, or by 0.0005 degrees when in the SRV. If the bit29 is set, the altitude value is based on the planet’s average radius (used at higher altitudes). If the bit29 is not set, the Altitude value is based on a raycast to the actual surface below the ship/srv
|
|
101
|
+
*/
|
|
44
102
|
type Latitude = number;
|
|
103
|
+
/**
|
|
104
|
+
* if on or near a planet
|
|
105
|
+
* The latitude or longitude need to change by 0.02 degrees to trigger an update when flying, or by 0.0005 degrees when in the SRV. If the bit29 is set, the altitude value is based on the planet’s average radius (used at higher altitudes). If the bit29 is not set, the Altitude value is based on a raycast to the actual surface below the ship/srv
|
|
106
|
+
*/
|
|
45
107
|
type Longitude = number;
|
|
46
108
|
type Heading = number;
|
|
47
109
|
type Altitude = number;
|
|
110
|
+
/**
|
|
111
|
+
* Flags2:
|
|
112
|
+
* Bit Value Hex Meaning
|
|
113
|
+
* 0 1 0000 0001 OnFoot
|
|
114
|
+
* 1 2 0000 0002 InTaxi (or dropship/shuttle)
|
|
115
|
+
* 2 4 0000 0004 InMulticrew (ie in someone else’s ship)
|
|
116
|
+
* 3 8 0000 0008 OnFootInStation
|
|
117
|
+
* 4 16 0000 0010 OnFootOnPlanet
|
|
118
|
+
* 5 32 0000 0020 AimDownSight
|
|
119
|
+
* 6 64 0000 0040 LowOxygen
|
|
120
|
+
* 7 128 0000 0080 LowHealth
|
|
121
|
+
* 8 256 0000 0100 Cold
|
|
122
|
+
* 9 512 0000 0200 Hot
|
|
123
|
+
* 10 1024 0000 0400 VeryCold
|
|
124
|
+
* 11 2048 0000 0800 VeryHot
|
|
125
|
+
* 12 4096 0000 1000 Glide Mode
|
|
126
|
+
* 13 8192 0000 2000 OnFootInHangar
|
|
127
|
+
* 14 16384 0000 4000 OnFootSocialSpace
|
|
128
|
+
* 15 32768 0000 8000 OnFootExterior
|
|
129
|
+
* 16 65536 0001 0001 BreathableAtmosphere
|
|
130
|
+
* 17 131072 0002 0000 Telepresence Multicrew
|
|
131
|
+
* 18 262144 0004 0000 Physical Multicrew
|
|
132
|
+
* 19 524288 0008 0000 Fsd hyperdrive charging
|
|
133
|
+
* 20 1048576 0010 0000 Supercruise Overcharge
|
|
134
|
+
* 21 2097152 0020 0000 Supercruise Assist
|
|
135
|
+
* 22 4194304 0040 0000 NPC Crew Active
|
|
136
|
+
*/
|
|
48
137
|
type Flags2 = number;
|
|
49
138
|
type Cargo = number;
|
|
50
139
|
type LegalState = string;
|
|
51
140
|
type Balance = number;
|
|
141
|
+
/**
|
|
142
|
+
* value range: 0.0 - 1.0
|
|
143
|
+
*/
|
|
52
144
|
type Oxygen = number;
|
|
145
|
+
/**
|
|
146
|
+
* value range: 0.0 - 1.0
|
|
147
|
+
*/
|
|
53
148
|
type Health = number;
|
|
54
149
|
type Temperature = number;
|
|
55
150
|
type SelectedWeapon = string;
|
|
@@ -60,6 +155,9 @@ type Name = string;
|
|
|
60
155
|
type Name_Localised = string;
|
|
61
156
|
type PlanetRadius = number;
|
|
62
157
|
type SelectedWeapon_Localised = string;
|
|
158
|
+
/**
|
|
159
|
+
* relative to 1G
|
|
160
|
+
*/
|
|
63
161
|
type Gravity = number;
|
|
64
162
|
/**
|
|
65
163
|
* Generic Event
|