Skip to content

Commit

Permalink
adding belts to common types
Browse files Browse the repository at this point in the history
-   re: #5
  • Loading branch information
SignpostMarv committed Nov 8, 2024
1 parent 52a7cbe commit a1e01e1
Show file tree
Hide file tree
Showing 17 changed files with 278 additions and 206 deletions.
4 changes: 4 additions & 0 deletions common-imports.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"common_type__class__no_description_or_display_name__type": "common/unassigned",
"common_type__color__type": "common/unassigned",
"common_type__color_decimal__type": "common/unassigned",
"common_type__common_base__mSnappedPassthroughs__type": "common/unassigned",
"common_type__empty_object__type": "common/unassigned",
"common_type__InfinityExtrap__type": "common/unassigned",
"common_type__ItemClass__type": "common/unassigned",
Expand Down Expand Up @@ -46,6 +47,9 @@
"common_type__common_base__FGBuildable__pole__base__with_static__type": "classes/CoreUObject/FGBuildable",
"common_type__common_base__FGBuildable__tiered__type": "classes/CoreUObject/FGBuildable",
"common_type__common_base__FGBuildableBlueprintDesigner__type": "classes/CoreUObject/FGBuildableBlueprintDesigner",
"common_type__common_base__FGBuildableConveyorBelt__type": "classes/CoreUObject/FGBuildableConveyorBelt",
"common_type__common_base__FGBuildableConveyorBelt__base__type": "classes/CoreUObject/FGBuildableConveyorBelt",
"common_type__common_base__FGBuildableConveyorLift__type": "classes/CoreUObject/FGBuildableConveyorLift",
"common_type__common_base__FGBuildableCornerWall__type": "classes/CoreUObject/FGBuildableCornerWall",
"common_type__common_base__FGBuildableDoor__type": "classes/CoreUObject/FGBuildableDoor",
"common_type__common_base__FGBuildableDoor__automated__type": "classes/CoreUObject/FGBuildableDoor",
Expand Down
45 changes: 21 additions & 24 deletions generated-types/1.0/classes/CoreUObject/FGBuildableConveyorBelt.ts
Original file line number Diff line number Diff line change
@@ -1,35 +1,32 @@
import {FGBuildable__base__type} from './FGBuildable';

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

import {
empty_object__type,
NativeClass__type,
} from '../../../common/common/unassigned';
common_base__FGBuildableConveyorBelt__base__type,
common_base__FGBuildableConveyorBelt__type,
} from '../../../common/classes/CoreUObject/FGBuildableConveyorBelt';

Check failure on line 8 in generated-types/1.0/classes/CoreUObject/FGBuildableConveyorBelt.ts

View workflow job for this annotation

GitHub Actions / basic-checks

Cannot find module '../../../common/classes/CoreUObject/FGBuildableConveyorBelt' or its corresponding type declarations.

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

export type FGBuildableConveyorBelt__type =
FGBuildableConveyorBelt__base__type & {
mMeshLength: decimal_string__type;
mSplineData: '';
mCustomSkins: [
'/Game/FactoryGame/Buildable/-Shared/Customization/Skins/SkinDesc_Test1.SkinDesc_Test1_C',
...'/Game/FactoryGame/Buildable/-Shared/Customization/Skins/SkinDesc_Test1.SkinDesc_Test1_C'[],
];
};
FGBuildableConveyorBelt__merged__type;

export type FGBuildableConveyorBelt__base__type = FGBuildable__base__type & {
mItemMeshMap: empty_object__type;
mSpeed: decimal_string__type;
mItems: {
ArrayReplicationKey: integer_string__signed__type;
export type FGBuildableConveyorBelt__base__type =
FGBuildableConveyorBelt__base__merged__type & {
mItems: {
ArrayReplicationKey: integer_string__signed__type;
};
mChainSegmentIndex: integer_string__signed__type;
};
mConveyorChainFlags: integer_string__type;
mChainSegmentIndex: integer_string__signed__type;
};

export type FGBuildableConveyorBelt__base__merged__type =
common_base__FGBuildableConveyorBelt__base__type &
FGBuildable__base__type;

export type FGBuildableConveyorBelt__merged__type =
common_base__FGBuildableConveyorBelt__type &
FGBuildableConveyorBelt__base__type;

export type FGBuildableConveyorBelt__NativeClass =
NativeClass__type & {
Expand Down
21 changes: 9 additions & 12 deletions generated-types/1.0/classes/CoreUObject/FGBuildableConveyorLift.ts
Original file line number Diff line number Diff line change
@@ -1,27 +1,24 @@
import {mSnappedPassthroughs__type} from '../../common/unassigned';

import {FGBuildableConveyorBelt__base__type} from './FGBuildableConveyorBelt';

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

import {
transformation__type,
NativeClass__type,
} from '../../../common/common/unassigned';
import {common_base__FGBuildableConveyorLift__type} from '../../../common/classes/CoreUObject/FGBuildableConveyorLift';

Check failure on line 8 in generated-types/1.0/classes/CoreUObject/FGBuildableConveyorLift.ts

View workflow job for this annotation

GitHub Actions / basic-checks

Cannot find module '../../../common/classes/CoreUObject/FGBuildableConveyorLift' or its corresponding type declarations.

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

export type FGBuildableConveyorLift__type =
FGBuildableConveyorBelt__base__type & {
mMeshHeight: decimal_string__type;
mIsReversed: boolean__type;
FGBuildableConveyorLift__merged__type & {
mFlipMeshOnReverse: boolean__type;
mTopTransform: transformation__type;
mSnappedPassthroughs: mSnappedPassthroughs__type;
mOpposingConnectionClearance: decimal_string__type;
};

export type FGBuildableConveyorLift__merged__type =
common_base__FGBuildableConveyorLift__type &
FGBuildableConveyorBelt__base__type;

export type FGBuildableConveyorLift__NativeClass =
NativeClass__type & {
Classes: [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import {StringPassedRegExp} from '../../utils/validators';

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

import {FGBuildable__base__type} from './FGBuildable';

import {
Expand All @@ -11,6 +9,7 @@ import {

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

Expand Down Expand Up @@ -45,7 +44,7 @@ export type FGBuildablePipeline__type = FGBuildable__base__type & {
mIsRattling: boolean__type;
mUpdateSoundsHandle: empty_object__type;
mUpdateSoundsTimerInterval: decimal_string__type;
mSnappedPassthroughs: mSnappedPassthroughs__type;
mSnappedPassthroughs: common_base__mSnappedPassthroughs__type;
};

export type FGBuildablePipeline__NativeClass =
Expand Down
2 changes: 0 additions & 2 deletions generated-types/1.0/common/unassigned.ts
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,4 @@ export type Montage_3P__type = UnrealEngineString<
StringStartsWith<'/Game/FactoryGame/Character/Player/Animation/ThirdPerson/'>
>;

export type mSnappedPassthroughs__type = '';

export type weaponState__type = 'EWS_Unequipped';
3 changes: 3 additions & 0 deletions generated-types/common/classes/CoreUObject/FGFauxEntry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import {
faux_31__type,
faux_32__type,
faux_33__type,
faux_34__type,
NativeClass__type,
} from '../../common/unassigned';

Expand Down Expand Up @@ -81,6 +82,7 @@ export type FGFauxEntry__NativeClass = NativeClass__type & {
| faux_31__type
| faux_32__type
| faux_33__type
| faux_34__type
),
...(
| faux_1__type
Expand Down Expand Up @@ -120,6 +122,7 @@ export type FGFauxEntry__NativeClass = NativeClass__type & {
| faux_31__type
| faux_32__type
| faux_33__type
| faux_34__type
)[],
];
};
16 changes: 16 additions & 0 deletions generated-types/common/common/unassigned.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,13 @@ import {

import {common_base__FGBuildableRailroadTrack__type} from '../classes/CoreUObject/FGBuildableRailroadTrack';

import {
common_base__FGBuildableConveyorBelt__base__type,
common_base__FGBuildableConveyorBelt__type,
} from '../classes/CoreUObject/FGBuildableConveyorBelt';

Check failure on line 105 in generated-types/common/common/unassigned.ts

View workflow job for this annotation

GitHub Actions / basic-checks

Cannot find module '../classes/CoreUObject/FGBuildableConveyorBelt' or its corresponding type declarations.

import {common_base__FGBuildableConveyorLift__type} from '../classes/CoreUObject/FGBuildableConveyorLift';

Check failure on line 107 in generated-types/common/common/unassigned.ts

View workflow job for this annotation

GitHub Actions / basic-checks

Cannot find module '../classes/CoreUObject/FGBuildableConveyorLift' or its corresponding type declarations.

import {common_base__FGPoleDescriptor__type} from '../classes/CoreUObject/FGPoleDescriptor';

export type class__type = class__no_description__type & {
Expand Down Expand Up @@ -128,6 +135,8 @@ export type color_decimal__type = {
A: decimal_string__type;
};

export type common_base__mSnappedPassthroughs__type = '';

export type empty_object__type = '()';

export type faux_1__type = class__type & {
Expand Down Expand Up @@ -319,6 +328,13 @@ export type faux_33__type = class__type & {
ref?: common_base__FGBuildableRailroadTrack__type;
};

export type faux_34__type = class__type & {
faux?: 'FGBuildableConveyorBelt';
base: common_base__FGBuildableConveyorBelt__base__type;
belt?: common_base__FGBuildableConveyorBelt__type;
lift?: common_base__FGBuildableConveyorLift__type;
};

export type faux_4__type = class__type & {
faux_texture: Texture2D__type;
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,31 +1,30 @@
import {FGBuildable__base__type} from './FGBuildable';

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

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

import {
common_base__FGBuildableConveyorBelt__base__type,
common_base__FGBuildableConveyorBelt__type,
} from '../../../common/classes/CoreUObject/FGBuildableConveyorBelt';

Check failure on line 11 in generated-types/update8/classes/CoreUObject/FGBuildableConveyorBelt.ts

View workflow job for this annotation

GitHub Actions / basic-checks

Cannot find module '../../../common/classes/CoreUObject/FGBuildableConveyorBelt' or its corresponding type declarations.

export type FGBuildableConveyorBelt__type =
FGBuildableConveyorBelt__base__type & {
mMeshLength: decimal_string__type;
mSplineData: '';
mCustomSkins: [
'/Game/FactoryGame/Buildable/-Shared/Customization/Skins/SkinDesc_Test1.SkinDesc_Test1_C',
...'/Game/FactoryGame/Buildable/-Shared/Customization/Skins/SkinDesc_Test1.SkinDesc_Test1_C'[],
];
FGBuildableConveyorBelt__merged__type;

export type FGBuildableConveyorBelt__base__type =
FGBuildableConveyorBelt__base__merged__type & {
mItems: empty_object__type;
};

export type FGBuildableConveyorBelt__base__type = FGBuildable__base__type & {
mItemMeshMap: empty_object__type;
mSpeed: decimal_string__type;
mItems: empty_object__type;
mConveyorChainFlags: integer_string__type;
};
export type FGBuildableConveyorBelt__base__merged__type =
common_base__FGBuildableConveyorBelt__base__type &
FGBuildable__base__type;

export type FGBuildableConveyorBelt__merged__type =
common_base__FGBuildableConveyorBelt__type &
FGBuildableConveyorBelt__base__type;

export type FGBuildableConveyorBelt__NativeClass =
NativeClass__type & {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,24 +1,15 @@
import {mSnappedPassthroughs__type} from '../../common/unassigned';

import {FGBuildableConveyorBelt__base__type} from './FGBuildableConveyorBelt';

import {
decimal_string__type,
boolean__type,
} from '../../../common/common/scalar';
import {common_base__FGBuildableConveyorLift__type} from '../../../common/classes/CoreUObject/FGBuildableConveyorLift';

Check failure on line 3 in generated-types/update8/classes/CoreUObject/FGBuildableConveyorLift.ts

View workflow job for this annotation

GitHub Actions / basic-checks

Cannot find module '../../../common/classes/CoreUObject/FGBuildableConveyorLift' or its corresponding type declarations.

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

export type FGBuildableConveyorLift__type =
FGBuildableConveyorBelt__base__type & {
mMeshHeight: decimal_string__type;
mIsReversed: boolean__type;
mTopTransform: transformation__type;
mSnappedPassthroughs: mSnappedPassthroughs__type;
};
FGBuildableConveyorLift__merged__type;

export type FGBuildableConveyorLift__merged__type =
common_base__FGBuildableConveyorLift__type &
FGBuildableConveyorBelt__base__type;

export type FGBuildableConveyorLift__NativeClass =
NativeClass__type & {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import {StringPassedRegExp} from '../../utils/validators';

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

import {FGBuildable__base__type} from './FGBuildable';

import {
Expand All @@ -11,6 +9,7 @@ import {

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

Expand Down Expand Up @@ -41,7 +40,7 @@ export type FGBuildablePipeline__type = FGBuildable__base__type & {
mRattleLimit: decimal_string__type;
mIsRattling: boolean__type;
mUpdateSoundsHandle: empty_object__type;
mSnappedPassthroughs: mSnappedPassthroughs__type;
mSnappedPassthroughs: common_base__mSnappedPassthroughs__type;
};

export type FGBuildablePipeline__NativeClass =
Expand Down
2 changes: 0 additions & 2 deletions generated-types/update8/common/unassigned.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,4 @@ export type mLightControlData__type = {
export type mOutputInventoryHandlerData__type =
empty_object__type;

export type mSnappedPassthroughs__type = '';

export type weaponState__type = 'EWS_Unequipped';
Loading

0 comments on commit a1e01e1

Please sign in to comment.