Skip to content

Commit

Permalink
codgen working, but needs some adjustments
Browse files Browse the repository at this point in the history
-   re: #2
  • Loading branch information
SignpostMarv committed Sep 30, 2024
1 parent 0cc3493 commit 6022c6e
Show file tree
Hide file tree
Showing 114 changed files with 8,739 additions and 2,739 deletions.
5,478 changes: 2,739 additions & 2,739 deletions data-progress--version_1_0_0_0.md

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions generated-types/1.0/classes/CoreUObject/FGAmmoTypeInstantHit.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import {boolean__type, decimal_string__type} from '../../common/scalar';

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

import {FGAmmoTypeProjectile__base__type} from './FGAmmoTypeProjectile';

export type FGAmmoTypeInstantHit__base__type =
FGAmmoTypeProjectile__base__type & {
mPlayFireEffects: boolean__type;
};

export type FGAmmoTypeInstantHit__chaos__type =
FGAmmoTypeInstantHit__base__type & {
ClassName: 'Desc_CartridgeChaos_C';
Location: xyz__type;
Trail_Velocity: decimal_string__type;
};

export type FGAmmoTypeInstantHit__standard__type =
FGAmmoTypeInstantHit__base__type & {
ClassName: 'Desc_CartridgeStandard_C';
};

export type FGAmmoTypeInstantHit__NativeClass = NativeClass__type & {
Classes: [
FGAmmoTypeInstantHit__chaos__type | FGAmmoTypeInstantHit__standard__type,
FGAmmoTypeInstantHit__chaos__type | FGAmmoTypeInstantHit__standard__type,
];
};
129 changes: 129 additions & 0 deletions generated-types/1.0/classes/CoreUObject/FGAmmoTypeProjectile.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
import {
boolean__type,
decimal_string__type,
decimal_string__signed__type,
integer_string__type,
} from '../../common/scalar';

import {UnrealEngineString, StringStartsWith} from '../../utils/validators';

import {
MaterialSlotName__type,
EditorCurveData__type,
empty_object__type,
transformation__type,
xyz__type,
color_decimal__type,
mDamageTypes__type,
NativeClass__type,
} from '../../common/unassigned';

import {FGItemDescriptor__FGResourceDescriptor__type} from './FGItemDescriptor';

export type FGAmmoTypeProjectile__type = FGAmmoTypeProjectile__base__type & {
mInitialProjectileSpeedOverride: decimal_string__signed__type;
mProjectileMaxSpeedOverride: decimal_string__signed__type;
mProjectileHealthOverride: decimal_string__signed__type;
mProjectileLifespan: decimal_string__signed__type;
mProjectileStickspan: decimal_string__signed__type;
mCanTakeDamageBySameProjectileOrChild: boolean__type;
mDamageTypesAtEndOfLife: '' | mDamageTypes__type;
mGravityScaleOverLifespan: EditorCurveData__type;
mHomingProjectile: boolean__type;
mHomingNeedsValidTarget: boolean__type;
mMaxHomingAccelerationMagnitudeOverride: decimal_string__signed__type;
mHomingMagnitudeMultiplierOverLifespan: EditorCurveData__type;
mHomingMagnitudeMultiplierOverDistanceToTarget: EditorCurveData__type;
mHomingOverlapSize: decimal_string__type;
mHomingAngleLimit: decimal_string__type;
mHomingOverrideTargets:
| ''
| [
{
ActorClass: UnrealEngineString<
'/Script/Engine.BlueprintGeneratedClass',
StringStartsWith<'/Game/FactoryGame/Character/Creature/Enemy/'>
>;
},
...{
ActorClass: UnrealEngineString<
'/Script/Engine.BlueprintGeneratedClass',
StringStartsWith<'/Game/FactoryGame/Character/Creature/Enemy/'>
>;
}[],
];
};

export type FGAmmoTypeProjectile__base__type =
FGItemDescriptor__FGResourceDescriptor__type & {
AmmoFiredDelegate: empty_object__type;
mFiringTransform: transformation__type;
mFiringDirection: xyz__type;
mMagazineSize: integer_string__type;
mMaxAmmoEffectiveRange: decimal_string__type;
mReloadTimeMultiplier: decimal_string__type;
mFireRate: decimal_string__type;
mFiringTransformIgnoresDispersion: boolean__type;
mDispersionFireRateMultiplier: decimal_string__type;
mDispersionPerShot: decimal_string__type;
mRestingDispersion: decimal_string__type;
mFiringDispersion: decimal_string__type;
mDispersionRecoveryTime: decimal_string__type;
mHasBeenInitialized: boolean__type;
mWeaponDamageMultiplier: decimal_string__type;
mMagazineMeshMaterials: [
{
MaterialInterface: UnrealEngineString<
'/Script/Engine.MaterialInstanceConstant' | '/Script/Engine.Material'
>;
MaterialSlotName: MaterialSlotName__type;
ImportedMaterialSlotName: MaterialSlotName__type;
UVChannelData: {
bInitialized: boolean__type;
['LocalUVDensities[0]']: decimal_string__type;
['LocalUVDensities[1]']?: decimal_string__type;
};
},
...{
MaterialInterface: UnrealEngineString<
'/Script/Engine.MaterialInstanceConstant' | '/Script/Engine.Material'
>;
MaterialSlotName: MaterialSlotName__type;
ImportedMaterialSlotName: MaterialSlotName__type;
UVChannelData: {
bInitialized: boolean__type;
['LocalUVDensities[0]']: decimal_string__type;
['LocalUVDensities[1]']?: decimal_string__type;
};
}[],
];
mMagazineMeshMaterials1p: [
UnrealEngineString<'/Script/Engine.MaterialInstanceConstant'>,
...UnrealEngineString<'/Script/Engine.MaterialInstanceConstant'>[],
];
mDamageTypesOnImpact: '' | mDamageTypes__type;
mAmmoDamageFalloff: EditorCurveData__type;
mMuzzleFlashScale: xyz__type;
mFiringSounds:
| ''
| [
UnrealEngineString<
'/Script/AkAudio.AkAudioEvent',
StringStartsWith<'/Game/WwiseAudio/Events/'>
>,
...UnrealEngineString<
'/Script/AkAudio.AkAudioEvent',
StringStartsWith<'/Game/WwiseAudio/Events/'>
>[],
];
mFiringSounds1P: '';
mAmmoColor: color_decimal__type;
mAmmoScale: decimal_string__type;
mAmmoTickFunction: {
bAllowTickOnDedicatedServer: boolean__type;
};
};

export type FGAmmoTypeProjectile__NativeClass = NativeClass__type & {
Classes: [FGAmmoTypeProjectile__type, ...FGAmmoTypeProjectile__type[]];
};
18 changes: 18 additions & 0 deletions generated-types/1.0/classes/CoreUObject/FGAmmoTypeSpreadshot.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import {integer_string__type, decimal_string__type} from '../../common/scalar';

import {FGAmmoTypeProjectile__base__type} from './FGAmmoTypeProjectile';

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

export type FGAmmoTypeSpreadshot__type = FGAmmoTypeProjectile__base__type & {
SpreadTrail_Velocity: decimal_string__type;
mNumShots: {
Min: integer_string__type;
Max: integer_string__type;
};
mSpreadAngleDegrees: decimal_string__type;
};

export type FGAmmoTypeSpreadshot__NativeClass = NativeClass__type & {
Classes: [FGAmmoTypeSpreadshot__type];
};
Loading

0 comments on commit 6022c6e

Please sign in to comment.