WeaponSoundModifier

Inherits from WeaponModifierBase

Summary

Constructors

WeaponSoundModifier()
WeaponSoundModifier(guid: Guid)
WeaponSoundModifier(other: WeaponModifierBase)
WeaponSoundModifier(other: DataContainer)

Properties

Name Type
sound SoundAsset | nil

Static members

Name Type
WeaponSoundModifier.typeInfo TypeInformation

Constructors

WeaponSoundModifier

WeaponSoundModifier()

Creates a new WeaponSoundModifier frostbite instance.

WeaponSoundModifier

WeaponSoundModifier(guid: Guid)

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

Parameters

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

WeaponSoundModifier

WeaponSoundModifier(other: WeaponModifierBase)

Casts an instance of type WeaponModifierBase to WeaponSoundModifier. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other WeaponModifierBase The instance to cast to WeaponSoundModifier.

WeaponSoundModifier

WeaponSoundModifier(other: DataContainer)

Casts an instance of type DataContainer to WeaponSoundModifier. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other DataContainer The instance to cast to WeaponSoundModifier.

Properties

sound

SoundAsset | nil

Static members

typeInfo

TypeInformation

The type information for the WeaponSoundModifier type.

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