ORK Framework  2.25.2
API Documentation
ORKFramework.Behaviours.SpawnerData Class Reference
Inheritance diagram for ORKFramework.Behaviours.SpawnerData:
ORKFramework.ISaveData

Public Member Functions

bool CanSpawn (int maxQuantity)
 
void Destroy ()
 
void Despawn ()
 
DataObject SaveGame ()
 Used to save the data - you need to add the data to a ORKFramework.DataObject. More...
 
void LoadGame (DataObject data)
 Used to load the data - you need to get the data from the ORKFramework.DataObject. More...
 
void UpdateSpawner (CombatantSpawner spawner, int spawnerIndex, bool respawn)
 

Public Attributes

int quantity = 0
 
List< Groupgroups = new List<Group>()
 
List< float > respawn = new List<float>()
 

Member Function Documentation

◆ LoadGame()

void ORKFramework.Behaviours.SpawnerData.LoadGame ( DataObject  data)

Used to load the data - you need to get the data from the ORKFramework.DataObject.

Parameters
dataA ORKFramework.DataObject containing the data.

Implements ORKFramework.ISaveData.

◆ SaveGame()

DataObject ORKFramework.Behaviours.SpawnerData.SaveGame ( )

Used to save the data - you need to add the data to a ORKFramework.DataObject.

Returns
A ORKFramework.DataObject containing the data.

Implements ORKFramework.ISaveData.