Skip to content

Commit

Permalink
adding gas mask to common types
Browse files Browse the repository at this point in the history
-   re: #5
  • Loading branch information
SignpostMarv committed Nov 9, 2024
1 parent aa77716 commit eae6d97
Show file tree
Hide file tree
Showing 11 changed files with 103 additions and 80 deletions.
1 change: 1 addition & 0 deletions common-imports.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
"common_type__common_base__FGEquipmentStunSpear__type": "classes/CoreUObject/FGEquipmentStunSpear",
"common_type__common_base__FGEquipmentStunSpear__base__type": "classes/CoreUObject/FGEquipmentStunSpear",
"common_type__common_base__FGEquipmentStunSpear__xeno_zapper__type": "classes/CoreUObject/FGEquipmentStunSpear",
"common_type__common_base__FGGasMask__type": "classes/CoreUObject/FGGasMask",
"common_type__common_base__FGHoverPack__type": "classes/CoreUObject/FGHoverPack",
"common_type__common_base__FGItemDescriptor__FGBuildingDescriptor__FGResourceDescriptor__type": "classes/CoreUObject/FGItemDescriptor",
"common_type__common_base__FGItemDescriptor__FGResourceDescriptor__type": "classes/CoreUObject/FGItemDescriptor",
Expand Down
24 changes: 10 additions & 14 deletions generated-types/1.0/classes/CoreUObject/FGGasMask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,17 @@ import {

import {FGEquipment__base__type} from './FGEquipment';

import {
boolean__type,
decimal_string__type,
} from '../../../common/common/scalar';
import {boolean__type} from '../../../common/common/scalar';

import {
mDamageTypes__type,
empty_object__type,
NativeClass__type,
} from '../../../common/common/unassigned';

export type FGGasMask__type = FGEquipment__base__type & {
mDamageTypesToProtectAgainst: mDamageTypes__type;
mPostProcessEnabled: boolean__type;
mFilterCountdown: decimal_string__type;
mFilterDuration: decimal_string__type;
mIsInPoisonGas: boolean__type;
mEquipMontage?: {
import {common_base__FGGasMask__type} from '../../../common/classes/CoreUObject/FGGasMask';

export type FGGasMask__type = FGGasMask__merged__type & {
mEquipMontage: {
Montages: [
{
Montage_1P: Montage_1P__type;
Expand All @@ -43,10 +36,13 @@ export type FGGasMask__type = FGEquipment__base__type & {
},
];
};
mStingerMontage?: empty_object__type;
mUnEquipMontage?: FGGasMask__mUnEquipMontage__type;
mStingerMontage: empty_object__type;
mUnEquipMontage: FGGasMask__mUnEquipMontage__type;
};

export type FGGasMask__merged__type =
common_base__FGGasMask__type & FGEquipment__base__type;

export type FGGasMask__mUnEquipMontage__type = {
AudioEvent: UnrealEngineString<
'/Script/AkAudio.AkAudioEvent',
Expand Down
14 changes: 14 additions & 0 deletions generated-types/common/classes/CoreUObject/FGGasMask.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import {common_base__FGEquipment__base__type} from './FGEquipment';

import {mDamageTypes__type} from '../../common/unassigned';

import {boolean__type, decimal_string__type} from '../../common/scalar';

export type common_base__FGGasMask__type =
common_base__FGEquipment__base__type & {
mDamageTypesToProtectAgainst: mDamageTypes__type;
mPostProcessEnabled: boolean__type;
mFilterCountdown: decimal_string__type;
mFilterDuration: decimal_string__type;
mIsInPoisonGas: boolean__type;
};
3 changes: 3 additions & 0 deletions generated-types/common/common/unassigned.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ import {common_base__FGJetPack__type} from '../classes/CoreUObject/FGJetPack';

import {common_base__FGSuitBase__type} from '../classes/CoreUObject/FGSuitBase';

import {common_base__FGGasMask__type} from '../classes/CoreUObject/FGGasMask';

import {common_base__FGBuildableDroneStation__type} from '../classes/CoreUObject/FGBuildableDroneStation';

import {
Expand Down Expand Up @@ -230,6 +232,7 @@ export type faux_15__type = class__type & {
hoverpack?: common_base__FGHoverPack__type;
jetpack?: common_base__FGJetPack__type;
suit?: common_base__FGSuitBase__type;
mask?: common_base__FGGasMask__type;
};

export type faux_16__type = class__type & {
Expand Down
21 changes: 6 additions & 15 deletions generated-types/update8/classes/CoreUObject/FGGasMask.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
import {FGEquipment__base__type} from './FGEquipment';

import {
mDamageTypes__type,
NativeClass__type,
} from '../../../common/common/unassigned';
import {common_base__FGGasMask__type} from '../../../common/classes/CoreUObject/FGGasMask';

import {
boolean__type,
decimal_string__type,
} from '../../../common/common/scalar';
import {NativeClass__type} from '../../../common/common/unassigned';

export type FGGasMask__type = FGEquipment__base__type & {
mDamageTypesToProtectAgainst: mDamageTypes__type;
mPostProcessEnabled: boolean__type;
mFilterCountdown: decimal_string__type;
mFilterDuration: decimal_string__type;
mIsInPoisonGas: boolean__type;
};
export type FGGasMask__type = FGGasMask__merged__type;

export type FGGasMask__merged__type =
common_base__FGGasMask__type & FGEquipment__base__type;

export type FGGasMask__NativeClass = NativeClass__type & {
Classes: [FGGasMask__type];
Expand Down
35 changes: 14 additions & 21 deletions schema/1.0.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2356,33 +2356,26 @@
}
}
},
"FGGasMask--merged": {
"allOf": [
{
"$ref": "common.schema.json#/$defs/common-base--FGGasMask"
},
{
"$ref": "#/$defs/FGEquipment--base"
}
]
},
"FGGasMask": {
"type": "object",
"$ref": "#/$defs/FGEquipment--base",
"$ref": "#/$defs/FGGasMask--merged",
"unevaluatedProperties": false,
"required": [
"mDamageTypesToProtectAgainst",
"mPostProcessEnabled",
"mFilterCountdown",
"mFilterDuration",
"mIsInPoisonGas"
"mEquipMontage",
"mStingerMontage",
"mUnEquipMontage"
],
"properties": {
"mDamageTypesToProtectAgainst": {
"$ref": "common.schema.json#/$defs/mDamageTypes"
},
"mPostProcessEnabled": {
"$ref": "common.schema.json#/$defs/boolean"
},
"mFilterCountdown": {
"$ref": "common.schema.json#/$defs/decimal-string"
},
"mFilterDuration": {
"$ref": "common.schema.json#/$defs/decimal-string"
},
"mIsInPoisonGas": {
"$ref": "common.schema.json#/$defs/boolean"
},
"mEquipMontage": {
"type": "string",
"minLength": 1,
Expand Down
31 changes: 31 additions & 0 deletions schema/common.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2862,6 +2862,34 @@
}
}
},
"common-base--FGGasMask": {
"type": "object",
"$ref": "#/$defs/common-base--FGEquipment--base",
"required": [
"mDamageTypesToProtectAgainst",
"mPostProcessEnabled",
"mFilterCountdown",
"mFilterDuration",
"mIsInPoisonGas"
],
"properties": {
"mDamageTypesToProtectAgainst": {
"$ref": "common.schema.json#/$defs/mDamageTypes"
},
"mPostProcessEnabled": {
"$ref": "common.schema.json#/$defs/boolean"
},
"mFilterCountdown": {
"$ref": "common.schema.json#/$defs/decimal-string"
},
"mFilterDuration": {
"$ref": "common.schema.json#/$defs/decimal-string"
},
"mIsInPoisonGas": {
"$ref": "common.schema.json#/$defs/boolean"
}
}
},
"faux-1": {
"type": "object",
"$ref": "#/$defs/class",
Expand Down Expand Up @@ -3201,6 +3229,9 @@
},
"suit": {
"$ref": "#/$defs/common-base--FGSuitBase"
},
"mask": {
"$ref": "#/$defs/common-base--FGGasMask"
}
}
},
Expand Down
38 changes: 12 additions & 26 deletions schema/update8.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1165,34 +1165,20 @@
}
}
},
"FGGasMask": {
"type": "object",
"$ref": "#/$defs/FGEquipment--base",
"unevaluatedProperties": false,
"required": [
"mDamageTypesToProtectAgainst",
"mPostProcessEnabled",
"mFilterCountdown",
"mFilterDuration",
"mIsInPoisonGas"
],
"properties": {
"mDamageTypesToProtectAgainst": {
"$ref": "common.schema.json#/$defs/mDamageTypes"
},
"mPostProcessEnabled": {
"$ref": "common.schema.json#/$defs/boolean"
},
"mFilterCountdown": {
"$ref": "common.schema.json#/$defs/decimal-string"
},
"mFilterDuration": {
"$ref": "common.schema.json#/$defs/decimal-string"
"FGGasMask--merged": {
"allOf": [
{
"$ref": "common.schema.json#/$defs/common-base--FGGasMask"
},
"mIsInPoisonGas": {
"$ref": "common.schema.json#/$defs/boolean"
{
"$ref": "#/$defs/FGEquipment--base"
}
}
]
},
"FGGasMask": {
"type": "object",
"$ref": "#/$defs/FGGasMask--merged",
"unevaluatedProperties": false
},
"mChainsawState": {
"$ref": "common.schema.json#/$defs/None"
Expand Down
3 changes: 2 additions & 1 deletion types-progress--common.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Types Progress

100.00% Complete (198 of 198)
100.00% Complete (199 of 199)

## Basic Types

Expand Down Expand Up @@ -111,6 +111,7 @@
- [x] common-base--FGEquipmentStunSpear
- [x] common-base--FGEquipmentStunSpear--base (common type)
- [x] common-base--FGEquipmentStunSpear--xeno-zapper
- [x] common-base--FGGasMask
- [x] common-base--FGHoverPack
- [x] common-base--FGItemDescriptor--FGBuildingDescriptor--FGResourceDescriptor (common type)
- [x] common-base--FGItemDescriptor--FGResourceDescriptor (common type)
Expand Down
9 changes: 7 additions & 2 deletions types-progress--update8.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Types Progress

100.00% Complete (305 of 305)
100.00% Complete (308 of 308)

## Basic Types

Expand All @@ -18,7 +18,6 @@
- [x] FGBuildingDescriptor
- [x] FGChainsaw
- [x] FGChargedWeapon
- [x] FGGasMask
- [x] FGGolfCartDispenser
- [x] FGJumpingStilts
- [x] FGObjectScanner
Expand Down Expand Up @@ -89,6 +88,7 @@
- [x] common-base--FGEquipmentStunSpear (common type)
- [x] common-base--FGEquipmentStunSpear--base (common type)
- [x] common-base--FGEquipmentStunSpear--xeno-zapper (common type)
- [x] common-base--FGGasMask (common type)
- [x] common-base--FGHoverPack (common type)
- [x] common-base--FGItemDescriptor--FGBuildingDescriptor--FGResourceDescriptor (common type)
- [x] common-base--FGItemDescriptor--FGResourceDescriptor (common type)
Expand Down Expand Up @@ -352,6 +352,11 @@
- [x] FGEquipmentStunSpear--xeno-zapper
- [x] FGEquipmentStunSpear--xeno-zapper--merged

## FGGasMask

- [x] FGGasMask
- [x] FGGasMask--merged

## FGHoverPack

- [x] FGHoverPack
Expand Down
4 changes: 3 additions & 1 deletion types-progress--version_1_0_0_4.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Types Progress

100.00% Complete (344 of 344)
100.00% Complete (347 of 347)

## Basic Types

Expand Down Expand Up @@ -91,6 +91,7 @@
- [x] common-base--FGEquipmentStunSpear (common type)
- [x] common-base--FGEquipmentStunSpear--base (common type)
- [x] common-base--FGEquipmentStunSpear--xeno-zapper (common type)
- [x] common-base--FGGasMask (common type)
- [x] common-base--FGHoverPack (common type)
- [x] common-base--FGItemDescriptor--FGBuildingDescriptor--FGResourceDescriptor (common type)
- [x] common-base--FGItemDescriptor--FGResourceDescriptor (common type)
Expand Down Expand Up @@ -394,6 +395,7 @@
## FGGasMask

- [x] FGGasMask
- [x] FGGasMask--merged
- [x] FGGasMask--mUnEquipMontage

## FGHoverPack
Expand Down

0 comments on commit eae6d97

Please sign in to comment.