WeaponMagazineModifier

Inherits from WeaponModifierBase

Summary

Constructors

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

Properties

Name Type
magazineCapacity int
numberOfMagazines int

Static members

Name Type
WeaponMagazineModifier.typeInfo TypeInformation

Constructors

WeaponMagazineModifier

WeaponMagazineModifier()

Creates a new WeaponMagazineModifier frostbite instance.

WeaponMagazineModifier

WeaponMagazineModifier(guid: Guid)

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

Parameters

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

WeaponMagazineModifier

WeaponMagazineModifier(other: WeaponModifierBase)

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

Parameters

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

WeaponMagazineModifier

WeaponMagazineModifier(other: DataContainer)

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

Parameters

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

Properties

magazineCapacity

int

numberOfMagazines

int

Static members

typeInfo

TypeInformation

The type information for the WeaponMagazineModifier type.

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