Kerbal Space Program  1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
KSP.UI.Screens.MissionRecoveryDialog Class Reference
Inheritance diagram for KSP.UI.Screens.MissionRecoveryDialog:

Public Types

enum  Mode { Mode.None = 0, Mode.Science = 1, Mode.Parts = 2, Mode.Crew = 3 }
 

Public Member Functions

void AddCrewWidget (CrewWidget widget)
 
void AddDataWidget (ScienceSubjectWidget widget)
 
void AddPartWidget (PartWidget widget)
 
void AddResourceWidget (ResourceWidget widget)
 
void Awake ()
 
bool MissionIsUninteresting ()
 
void OnDestroy ()
 
void Start ()
 
void Update ()
 

Static Public Member Functions

static MissionRecoveryDialog CreateFullDialog (ProtoVessel pv)
 
static MissionRecoveryDialog CreateScienceDialog (ProtoVessel pv, float beforeMissionScience, float currentScience)
 

Public Attributes

double beforeMissionFunds
 
float beforeMissionReputation
 
float beforeMissionScience
 
bool CrewModeAvailable
 
UnitySprite dataIcon
 
bool displayReputation
 
double fundsEarned
 
UnitySprite fundsIconGreen
 
UnitySprite fundsIconRed
 
string FundsModifier = ""
 
Mode mode
 
bool PartsModeAvailable
 
string recoveryFactor = ""
 
string recoveryLocation = ""
 
string RepModifier = ""
 
float reputationEarned
 
UnitySprite reputationIconGreen
 
UnitySprite reputationIconRed
 
bool RnDOperational
 
float scienceEarned
 
UnitySprite scienceIcon
 
bool ScienceModeAvailable
 
string ScienceModifier = ""
 
double totalFunds
 
float totalReputation
 
float totalScience
 

Protected Member Functions

string GetProceedButtonCaption (Mode m)
 
void OnCrewTabPress (bool toggle)
 
void OnPartsTabPress (bool toggle)
 
void OnProceedButtonClick ()
 
void OnSciTabPress (bool toggle)
 
void SetMode (Mode m)
 
void updateCrewWindowContent ()
 
void updatePartsWindowContent ()
 
void updateScienceWindowContent ()
 

Member Enumeration Documentation

enum KSP.UI.Screens.MissionRecoveryDialog.Mode
Enumerator
None 
Science 
Parts 
Crew 

Member Function Documentation

void KSP.UI.Screens.MissionRecoveryDialog.AddCrewWidget ( CrewWidget  widget)
inline
void KSP.UI.Screens.MissionRecoveryDialog.AddDataWidget ( ScienceSubjectWidget  widget)
inline
void KSP.UI.Screens.MissionRecoveryDialog.AddPartWidget ( PartWidget  widget)
inline
void KSP.UI.Screens.MissionRecoveryDialog.AddResourceWidget ( ResourceWidget  widget)
inline
void KSP.UI.Screens.MissionRecoveryDialog.Awake ( )
inline
static MissionRecoveryDialog KSP.UI.Screens.MissionRecoveryDialog.CreateFullDialog ( ProtoVessel  pv)
inlinestatic
static MissionRecoveryDialog KSP.UI.Screens.MissionRecoveryDialog.CreateScienceDialog ( ProtoVessel  pv,
float  beforeMissionScience,
float  currentScience 
)
inlinestatic
string KSP.UI.Screens.MissionRecoveryDialog.GetProceedButtonCaption ( Mode  m)
inlineprotected
bool KSP.UI.Screens.MissionRecoveryDialog.MissionIsUninteresting ( )
inline
void KSP.UI.Screens.MissionRecoveryDialog.OnCrewTabPress ( bool  toggle)
inlineprotected
void KSP.UI.Screens.MissionRecoveryDialog.OnDestroy ( )
inline
void KSP.UI.Screens.MissionRecoveryDialog.OnPartsTabPress ( bool  toggle)
inlineprotected
void KSP.UI.Screens.MissionRecoveryDialog.OnProceedButtonClick ( )
inlineprotected
void KSP.UI.Screens.MissionRecoveryDialog.OnSciTabPress ( bool  toggle)
inlineprotected
void KSP.UI.Screens.MissionRecoveryDialog.SetMode ( Mode  m)
inlineprotected
void KSP.UI.Screens.MissionRecoveryDialog.Start ( )
inline
void KSP.UI.Screens.MissionRecoveryDialog.Update ( )
inline
void KSP.UI.Screens.MissionRecoveryDialog.updateCrewWindowContent ( )
inlineprotected
void KSP.UI.Screens.MissionRecoveryDialog.updatePartsWindowContent ( )
inlineprotected
void KSP.UI.Screens.MissionRecoveryDialog.updateScienceWindowContent ( )
inlineprotected

Member Data Documentation

double KSP.UI.Screens.MissionRecoveryDialog.beforeMissionFunds
float KSP.UI.Screens.MissionRecoveryDialog.beforeMissionReputation
float KSP.UI.Screens.MissionRecoveryDialog.beforeMissionScience
bool KSP.UI.Screens.MissionRecoveryDialog.CrewModeAvailable
UnitySprite KSP.UI.Screens.MissionRecoveryDialog.dataIcon
bool KSP.UI.Screens.MissionRecoveryDialog.displayReputation
double KSP.UI.Screens.MissionRecoveryDialog.fundsEarned
UnitySprite KSP.UI.Screens.MissionRecoveryDialog.fundsIconGreen
UnitySprite KSP.UI.Screens.MissionRecoveryDialog.fundsIconRed
string KSP.UI.Screens.MissionRecoveryDialog.FundsModifier = ""
Mode KSP.UI.Screens.MissionRecoveryDialog.mode
bool KSP.UI.Screens.MissionRecoveryDialog.PartsModeAvailable
string KSP.UI.Screens.MissionRecoveryDialog.recoveryFactor = ""
string KSP.UI.Screens.MissionRecoveryDialog.recoveryLocation = ""
string KSP.UI.Screens.MissionRecoveryDialog.RepModifier = ""
float KSP.UI.Screens.MissionRecoveryDialog.reputationEarned
UnitySprite KSP.UI.Screens.MissionRecoveryDialog.reputationIconGreen
UnitySprite KSP.UI.Screens.MissionRecoveryDialog.reputationIconRed
bool KSP.UI.Screens.MissionRecoveryDialog.RnDOperational
float KSP.UI.Screens.MissionRecoveryDialog.scienceEarned
UnitySprite KSP.UI.Screens.MissionRecoveryDialog.scienceIcon
bool KSP.UI.Screens.MissionRecoveryDialog.ScienceModeAvailable
string KSP.UI.Screens.MissionRecoveryDialog.ScienceModifier = ""
double KSP.UI.Screens.MissionRecoveryDialog.totalFunds
float KSP.UI.Screens.MissionRecoveryDialog.totalReputation
float KSP.UI.Screens.MissionRecoveryDialog.totalScience

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