Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Static Public Member Functions | List of all members
Expansions.Missions.MissionScoreInfo Class Reference

The MissionScoreInfo class handles the score info collection for all the missions playthroughs More...

Inheritance diagram for Expansions.Missions.MissionScoreInfo:
IConfigNode

Public Member Functions

void AddScore (Mission mission)
 Adds a score More...
 
void DeleteMissionScores (Mission mission)
 Removes all the scores from a mission More...
 
void DeleteScore (Guid scoreId)
 Delete a score More...
 
List< string > GetMissionAwards (Mission mission)
 Get all the awards earned in all the plays from a mission More...
 
ScoreInfo GetMissionScore (Mission mission, int index)
 Get a mission score from highest to lowest More...
 
ScoreInfo GetMissionScore (Guid missionId, int index)
 Get a mission score from highest to lowest More...
 
List< ScoreInfoGetMissionScores (Mission mission)
 Get all the scores from a mission ordered from highest to lowest More...
 
void Load (ConfigNode node)
 
 MissionScoreInfo ()
 
void Save (ConfigNode node)
 
void SaveScores ()
 Save the scores More...
 

Static Public Member Functions

static MissionScoreInfo LoadScores ()
 Create a new instance of this class and loads the saved scores More...
 

Detailed Description

The MissionScoreInfo class handles the score info collection for all the missions playthroughs

Constructor & Destructor Documentation

Expansions.Missions.MissionScoreInfo.MissionScoreInfo ( )
inline

Member Function Documentation

void Expansions.Missions.MissionScoreInfo.AddScore ( Mission  mission)
inline

Adds a score

Parameters
missionMission
awardIdsList of awards unique ids, obtanied during the playthrough
void Expansions.Missions.MissionScoreInfo.DeleteMissionScores ( Mission  mission)
inline

Removes all the scores from a mission

Parameters
missionMission
void Expansions.Missions.MissionScoreInfo.DeleteScore ( Guid  scoreId)
inline

Delete a score

Parameters
scoreIdScore info unique id
List<string> Expansions.Missions.MissionScoreInfo.GetMissionAwards ( Mission  mission)
inline

Get all the awards earned in all the plays from a mission

Parameters
mission
Returns
ScoreInfo Expansions.Missions.MissionScoreInfo.GetMissionScore ( Mission  mission,
int  index 
)
inline

Get a mission score from highest to lowest

Parameters
missionMission
indexIndex of the score from 0 - highest to n.. desc
Returns
ScoreInfo Expansions.Missions.MissionScoreInfo.GetMissionScore ( Guid  missionId,
int  index 
)
inline

Get a mission score from highest to lowest

Parameters
missionIdThe ID of the mission
indexIndex of the score from 0 - highest to n.. desc
Returns
List<ScoreInfo> Expansions.Missions.MissionScoreInfo.GetMissionScores ( Mission  mission)
inline

Get all the scores from a mission ordered from highest to lowest

Parameters
missionMission
Returns
void Expansions.Missions.MissionScoreInfo.Load ( ConfigNode  node)
inline

Implements IConfigNode.

static MissionScoreInfo Expansions.Missions.MissionScoreInfo.LoadScores ( )
inlinestatic

Create a new instance of this class and loads the saved scores

Returns
void Expansions.Missions.MissionScoreInfo.Save ( ConfigNode  node)
inline

Implements IConfigNode.

void Expansions.Missions.MissionScoreInfo.SaveScores ( )
inline

Save the scores


The documentation for this class was generated from the following file: