UIWeaponDescription

Inherits from UIItemDescription

Summary

Constructors

UIWeaponDescription()
UIWeaponDescription(guid: Guid)
UIWeaponDescription(other: UIItemDescription)
UIWeaponDescription(other: DataContainer)

Properties

Name Type
name string
unlockName string
description string
category string
texturePath string
iconTexturePath string
unlockTexturePath string
ammo string
rateOfFire string
range string
fireModeSingle bool
fireModeBurst bool
fireModeAuto bool
hiddenInProgression bool

Static members

Name Type
UIWeaponDescription.typeInfo TypeInformation

Constructors

UIWeaponDescription

UIWeaponDescription()

Creates a new UIWeaponDescription frostbite instance.

UIWeaponDescription

UIWeaponDescription(guid: Guid)

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

Parameters

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

UIWeaponDescription

UIWeaponDescription(other: UIItemDescription)

Casts an instance of type UIItemDescription to UIWeaponDescription. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other UIItemDescription The instance to cast to UIWeaponDescription.

UIWeaponDescription

UIWeaponDescription(other: DataContainer)

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

Parameters

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

Properties

name

string

unlockName

string

description

string

category

string

texturePath

string

iconTexturePath

string

unlockTexturePath

string

ammo

string

rateOfFire

string

range

string

fireModeSingle

bool

fireModeBurst

bool

fireModeAuto

bool

hiddenInProgression

bool

Static members

typeInfo

TypeInformation

The type information for the UIWeaponDescription type.

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