CustomizeSoldierData
Inherits from CustomizeCharacterData
Summary
Constructors
| CustomizeSoldierData() |
| CustomizeSoldierData(guid: Guid) |
| CustomizeSoldierData(other: CustomizeCharacterData) |
| CustomizeSoldierData(other: Asset) |
| CustomizeSoldierData(other: DataContainer) |
Properties
| Name | Type |
|---|---|
| weapons | UnlockWeaponAndSlot[] |
| activeSlot | WeaponSlot |
| deathPickup | PickupEntityAsset | nil |
| removeAllExistingWeapons | bool |
| disableDeathPickup | bool |
Static members
| Name | Type |
|---|---|
| CustomizeSoldierData.typeInfo | TypeInformation |
Constructors
CustomizeSoldierData
CustomizeSoldierData()
Creates a new CustomizeSoldierData frostbite instance.
CustomizeSoldierData
CustomizeSoldierData(guid: Guid)
Creates a new CustomizeSoldierData frostbite instance and assigns it the provided Guid.
Parameters
| Name | Type | Description |
|---|---|---|
| guid | Guid | The Guid to assign to the newly created instance. |
CustomizeSoldierData
CustomizeSoldierData(other: CustomizeCharacterData)
Casts an instance of type CustomizeCharacterData to CustomizeSoldierData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | CustomizeCharacterData | The instance to cast to CustomizeSoldierData. |
CustomizeSoldierData
CustomizeSoldierData(other: Asset)
Casts an instance of type Asset to CustomizeSoldierData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | Asset | The instance to cast to CustomizeSoldierData. |
CustomizeSoldierData
CustomizeSoldierData(other: DataContainer)
Casts an instance of type DataContainer to CustomizeSoldierData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | DataContainer | The instance to cast to CustomizeSoldierData. |
Properties
weapons
activeSlot
deathPickup
PickupEntityAsset | nil
removeAllExistingWeapons
bool
disableDeathPickup
bool
Static members
typeInfo
The type information for the CustomizeSoldierData type.