|
ClassicCityBuilderKit 1.9.4
|
contains all parameters needed to start a scene
additionally to the Mission which contains what to start this defines how it is started
Public Member Functions | |
| bool | GetStarted () |
| has the mission been started/has a savegame been found at the specified difficulty | |
| bool | GetFinished () |
| has the mission been finished at the specified difficulty | |
| bool | GetWon (IScoresCalculator calculator) |
| are all the win conditions currently satisfied | |
| string | Load (string name=null) |
| loads savedata as string | |
| void | Save (string data, string name=null) |
| saves the data string | |
| void | SetContinue (string name=null, bool save=false) |
| sets which save game can be continued | |
Public Attributes | |
| Mission | Mission |
| Difficulty | Difficulty |
| bool | IsContinue |
| string | ContinueName |
| int | RandomSeed |
| bool CityBuilderCore.MissionParameters.GetFinished | ( | ) |
has the mission been finished at the specified difficulty
| difficulty |
| bool CityBuilderCore.MissionParameters.GetStarted | ( | ) |
has the mission been started/has a savegame been found at the specified difficulty
| difficulty |
| bool CityBuilderCore.MissionParameters.GetWon | ( | IScoresCalculator | calculator | ) |
are all the win conditions currently satisfied
| calculator |
| string CityBuilderCore.MissionParameters.Load | ( | string | name = null | ) |
loads savedata as string
| name | name of the savegame or null for quicksave |
| void CityBuilderCore.MissionParameters.Save | ( | string | data, |
| string | name = null ) |
saves the data string
| data | serialized save game data |
| name | name of the savegame or null for quicksave |
| void CityBuilderCore.MissionParameters.SetContinue | ( | string | name = null, |
| bool | save = false ) |
sets which save game can be continued
| name | name of the save game or null for quicksave |
| save | whether the changes should be immediately persisted, false by default because this is usually done when the game data is saved |