Skip to content

Commit

Permalink
mClosestObject added to Object Scanner
Browse files Browse the repository at this point in the history
-   re: #2
  • Loading branch information
SignpostMarv committed Oct 5, 2024
1 parent 15aa071 commit 70fc8f7
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion data-progress--version_1_0_0_0.md
Original file line number Diff line number Diff line change
Expand Up @@ -2739,14 +2739,14 @@
- [x] Research_Caterium_2_C
- [x] Research_Mycelia_GasMask_C
- [x] Research_Mycelia_8_C
- [x] Research_Mycelia_7_C
- [x] Research_Nutrients_2_C
- [x] Research_Mycelia_6_C
- [x] Research_Mycelia_5_C
- [x] Research_Mycelia_4_C
- [x] Research_Mycelia_3_C
- [x] Research_Mycelia_2_1_C
- [x] Research_Mycelia_2_C
- [x] Research_Mycelia_7_C
- [x] Research_Nutrients_4_C
- [x] Research_Nutrients_3_C
- [x] Research_Nutrients_1_C
Expand Down
4 changes: 4 additions & 0 deletions generated-types/1.0/classes/CoreUObject/FGObjectScanner.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {
Montage_1P__type,
Montage_3P__type,
xyz__type,
empty_object__type,
NativeClass__type,
} from '../../common/unassigned';
Expand Down Expand Up @@ -38,6 +39,9 @@ export type FGObjectScanner__type = FGEquipment__base__type & {
mBeepDelayMin: decimal_string__type;
mDetectionRange: decimal_string__type;
mUpdateClosestObjectTime: decimal_string__type;
mClosestObject: {
ActorLocation: xyz__type;
};
mClosestObjectInScanRange: boolean__type;
mNormalizedDistanceToClosestObject: decimal_string__type;
mAngleToClosestObject: decimal_string__type;
Expand Down
13 changes: 13 additions & 0 deletions schema/1.0.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -4634,6 +4634,7 @@
"mBeepDelayMin",
"mDetectionRange",
"mUpdateClosestObjectTime",
"mClosestObject",
"mClosestObjectInScanRange",
"mNormalizedDistanceToClosestObject",
"mAngleToClosestObject",
Expand Down Expand Up @@ -4725,6 +4726,18 @@
"mUpdateClosestObjectTime": {
"$ref": "#/$defs/decimal-string"
},
"mClosestObject": {
"type": "string",
"minLength": 1,
"typed_string": {
"required": ["ActorLocation"],
"properties": {
"ActorLocation": {
"$ref": "#/$defs/xyz"
}
}
}
},
"mClosestObjectInScanRange": {
"$ref": "#/$defs/boolean"
},
Expand Down

0 comments on commit 70fc8f7

Please sign in to comment.