LevelSetup
Summary
Constructors
LevelSetup() |
LevelSetup(guid: Guid) |
Properties
Name | Type |
---|---|
name | string |
inclusionOptions | LevelSetupOption[] |
difficultyIndex | int |
subLevelNames | string[] |
subLevelStates | int[] |
isSaveGame | bool |
forceReloadResources | bool |
Methods
Method | Returns |
---|---|
Clone() | LevelSetup |
Static members
Name | Type |
---|---|
LevelSetup.typeInfo | TypeInformation |
Constructors
LevelSetup
LevelSetup()
Creates a new LevelSetup frostbite instance.
LevelSetup
LevelSetup(guid: Guid)
Creates a new LevelSetup frostbite instance and assigns it the provided Guid.
Parameters
Name | Type | Description |
---|---|---|
guid | Guid | The Guid to assign to the newly created instance. |
Properties
name
string
inclusionOptions
difficultyIndex
int
subLevelNames
string[]
subLevelStates
int[]
isSaveGame
bool
forceReloadResources
bool
Methods
Clone
Clone(): LevelSetup
Creates a shallow-copy clone of this structure, which is essentially the equivalent of creating a new structure of the same type and assigning the values of this structure to all of its properties. Any properties that contain structure types (eg. Vec3) will be cloned when assigning, while properties that contain instance types (eg. DataContainer) will be referencing the same instance.
Returns
Type | Description |
---|---|
LevelSetup | The newly created structure. |
Static members
typeInfo
The type information for the LevelSetup type.
Last modified April 26, 2020: Update frostbite type documentation (8b14351c)