SwimmingStateData
Inherits from CharacterStateData
Summary
Constructors
| SwimmingStateData() |
| SwimmingStateData(guid: Guid) |
| SwimmingStateData(other: CharacterStateData) |
| SwimmingStateData(other: DataContainer) |
Properties
| Name | Type |
|---|---|
| bodyUnderWater | float |
Static members
| Name | Type |
|---|---|
| SwimmingStateData.typeInfo | TypeInformation |
Constructors
SwimmingStateData
SwimmingStateData()
Creates a new SwimmingStateData frostbite instance.
SwimmingStateData
SwimmingStateData(guid: Guid)
Creates a new SwimmingStateData frostbite instance and assigns it the provided Guid.
Parameters
| Name | Type | Description |
|---|---|---|
| guid | Guid | The Guid to assign to the newly created instance. |
SwimmingStateData
SwimmingStateData(other: CharacterStateData)
Casts an instance of type CharacterStateData to SwimmingStateData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | CharacterStateData | The instance to cast to SwimmingStateData. |
SwimmingStateData
SwimmingStateData(other: DataContainer)
Casts an instance of type DataContainer to SwimmingStateData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | DataContainer | The instance to cast to SwimmingStateData. |
Properties
bodyUnderWater
float
Static members
typeInfo
The type information for the SwimmingStateData type.
Last modified April 26, 2020: Update frostbite type documentation (8b14351c)