WeaponModifier

Summary

Constructors

WeaponModifier()
WeaponModifier(guid: Guid)

Properties

Name Type
dummyToMakeFrostEDcompile int
weaponMiscModifierSettings WeaponMiscModifierSettings | nil
weaponFiringDataModifier WeaponFiringDataModifier | nil
weaponFiringEffectsModifier WeaponFiringEffectsModifier | nil
weaponSoundModifier WeaponSoundModifier | nil
weaponShotModifier WeaponShotModifier | nil
weaponProjectileModifier WeaponProjectileModifier | nil
weaponAimingSimulationModifier WeaponAimingSimulationModifier | nil
weaponAnimationConfigurationModifier WeaponAnimationConfigurationModifier | nil
weaponAnimTypeModifier WeaponAnimTypeModifier | nil
weaponMagazineModifier WeaponMagazineModifier | nil
weaponZoomModifier WeaponZoomModifier | nil
unlocks UnlockAssetBase[]

Methods

Method Returns
Clone() WeaponModifier

Static members

Name Type
WeaponModifier.typeInfo TypeInformation

Constructors

WeaponModifier

WeaponModifier()

Creates a new WeaponModifier frostbite instance.

WeaponModifier

WeaponModifier(guid: Guid)

Creates a new WeaponModifier frostbite instance and assigns it the provided Guid.

Parameters

Name Type Description
guid Guid The Guid to assign to the newly created instance.

Properties

dummyToMakeFrostEDcompile

int

weaponMiscModifierSettings

WeaponMiscModifierSettings | nil

weaponFiringDataModifier

WeaponFiringDataModifier | nil

weaponFiringEffectsModifier

WeaponFiringEffectsModifier | nil

weaponSoundModifier

WeaponSoundModifier | nil

weaponShotModifier

WeaponShotModifier | nil

weaponProjectileModifier

WeaponProjectileModifier | nil

weaponAimingSimulationModifier

WeaponAimingSimulationModifier | nil

weaponAnimationConfigurationModifier

WeaponAnimationConfigurationModifier | nil

weaponAnimTypeModifier

WeaponAnimTypeModifier | nil

weaponMagazineModifier

WeaponMagazineModifier | nil

weaponZoomModifier

WeaponZoomModifier | nil

unlocks

UnlockAssetBase[]

Methods

Clone

Clone(): WeaponModifier

Creates a shallow-copy clone of this structure, which is essentially the equivalent of creating a new structure of the same type and assigning the values of this structure to all of its properties. Any properties that contain structure types (eg. Vec3) will be cloned when assigning, while properties that contain instance types (eg. DataContainer) will be referencing the same instance.

Returns

Type Description
WeaponModifier The newly created structure.

Static members

typeInfo

TypeInformation

The type information for the WeaponModifier type.

Last modified April 26, 2020: Update frostbite type documentation (8b14351)