Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Properties | List of all members
Contracts.ContractParameter Class Reference
Inheritance diagram for Contracts.ContractParameter:
Contracts.IContractParameterHost Contracts.Parameters.AcquireCrew Contracts.Parameters.AcquirePart Contracts.Parameters.CollectScience Contracts.Parameters.EnterOrbit Contracts.Parameters.EnterSOI Contracts.Parameters.KerbalDeaths Contracts.Parameters.LandOnBody Contracts.Parameters.OR Contracts.Parameters.PartTest Contracts.Parameters.PlantFlag Contracts.Parameters.ReachAltitudeEnvelope Contracts.Parameters.ReachBiome Contracts.Parameters.ReachDestination Contracts.Parameters.ReachFlightEnvelope Contracts.Parameters.ReachSituation Contracts.Parameters.ReachSpeedEnvelope Contracts.Parameters.RecoverKerbal Contracts.Parameters.RecoverPart Contracts.Parameters.XOR Expansions.Serenity.Contracts.CollectDeployedScience Expansions.Serenity.Contracts.CollectROCScienceArm Expansions.Serenity.Contracts.CollectROCScienceRetrieval FinePrint.Contracts.Parameters.AsteroidParameter FinePrint.Contracts.Parameters.CometDetectionParameter FinePrint.Contracts.Parameters.CometParameter FinePrint.Contracts.Parameters.CometScienceParameter FinePrint.Contracts.Parameters.ConstructionParameter FinePrint.Contracts.Parameters.CrewCapacityParameter FinePrint.Contracts.Parameters.CrewTraitParameter FinePrint.Contracts.Parameters.KerbalDestinationParameter FinePrint.Contracts.Parameters.KerbalGeeAdventureParameter FinePrint.Contracts.Parameters.KerbalTourParameter FinePrint.Contracts.Parameters.LocationAndSituationParameter FinePrint.Contracts.Parameters.MobileBaseParameter FinePrint.Contracts.Parameters.PartRequestParameter FinePrint.Contracts.Parameters.ProgressTrackingParameter FinePrint.Contracts.Parameters.RepairPartParameter FinePrint.Contracts.Parameters.ResourceExtractionParameter FinePrint.Contracts.Parameters.ResourcePossessionParameter FinePrint.Contracts.Parameters.SpecificOrbitParameter FinePrint.Contracts.Parameters.StabilityParameter FinePrint.Contracts.Parameters.StationaryPointParameter FinePrint.Contracts.Parameters.SurveyWaypointParameter FinePrint.Contracts.Parameters.VesselDestinationParameter FinePrint.Contracts.Parameters.VesselSystemsParameter FinePrint.Utilities.WaypointParameter SentinelMission.SentinelParameter

Public Member Functions

ContractParameter AddParameter (ContractParameter parameter, string id=null)
 
bool AllChildParametersComplete ()
 
bool AnyChildParametersFailed ()
 
long CreateID ()
 
void Disable (bool recursive=false)
 
void Enable ()
 
ContractParameter GetParameter (int index)
 
ContractParameter GetParameter (string id)
 
ContractParameter GetParameter (System.Type type)
 
GetParameter< T > (string id=null)
 
void Load (ConfigNode node)
 
void NestToParent (IContractParameterHost parent)
 
void ParameterStateUpdate (ContractParameter p)
 
void Register ()
 
void RemoveParameter (int index)
 
void RemoveParameter (string id)
 
void RemoveParameter (System.Type type)
 
void RemoveParameter (ContractParameter parameter)
 
void Reset ()
 
void Save (ConfigNode node)
 
void SetFunds (float completion, CelestialBody body=null)
 
void SetFunds (float completion, float failure, CelestialBody body=null)
 
void SetReputation (float completion, float failure, CelestialBody body=null)
 
void SetReputation (float completion, CelestialBody body=null)
 
void SetScience (float completion, CelestialBody body=null)
 
void Unregister ()
 
void Update ()
 

Public Attributes

double FundsCompletion
 The funds gained for completing this parameter More...
 
double FundsFailure
 The funds gained for failing this parameter More...
 
EventData< ContractParameter,
ParameterState
OnStateChange = new EventData<ContractParameter, ParameterState>("OnStateChange")
 
float ReputationCompletion
 The reputation gain for completing this parameter More...
 
float ReputationFailure
 The reputation gain for failing this parameter More...
 
float ScienceCompletion
 The science gained for completing this parameter More...
 

Protected Member Functions

virtual void AwardCompletion ()
 
virtual string GetHashString ()
 
virtual string GetMessageComplete ()
 
virtual string GetMessageFailed ()
 
virtual string GetMessageIncomplete ()
 
virtual string GetNotes ()
 
virtual string GetTitle ()
 
virtual void OnLoad (ConfigNode node)
 
virtual void OnParameterStateChange (ContractParameter p)
 
virtual void OnRegister ()
 
virtual void OnReset ()
 
virtual void OnSave (ConfigNode node)
 
virtual void OnUnregister ()
 
virtual void OnUpdate ()
 
virtual void PenalizeFailure ()
 
void SendStateMessage (string title, string message, MessageSystemButton.MessageButtonColor color, MessageSystemButton.ButtonIcons icon)
 Sends user a text message via messaging system More...
 
void SetComplete ()
 
void SetFailed ()
 
void SetIncomplete ()
 

Protected Attributes

bool allowPartialFailure = false
 
bool disableOnStateChange = true
 
bool enabled = true
 
string id = null
 
bool optional = false
 
ParameterState state = ParameterState.Incomplete
 

Properties

bool AllowPartialFailure [get, set]
 Whether a parameter failure also fails the contract. More...
 
IEnumerable< ContractParameterAllParameters [get]
 
bool DisableOnStateChange [get, set]
 
bool Enabled [get, set]
 
string HashString [get]
 
string ID [get, set]
 
string MessageComplete [get]
 
string MessageFailed [get]
 
string MessageIncomplete [get]
 
string Notes [get]
 
bool Optional [get, set]
 
int ParameterCount [get]
 
IContractParameterHost Parent [get]
 
Contract Root [get]
 
ParameterState State [get]
 
ContractParameter this[int index] [get]
 
ContractParameter this[string id] [get]
 
ContractParameter this[System.Type type] [get]
 
string Title [get]
 
- Properties inherited from Contracts.IContractParameterHost
int ParameterCount [get]
 
IContractParameterHost Parent [get]
 
Contract Root [get]
 
ContractParameter this[int index] [get]
 
ContractParameter this[string id] [get]
 
ContractParameter this[System.Type type] [get]
 
string Title [get]
 

Member Function Documentation

ContractParameter Contracts.ContractParameter.AddParameter ( ContractParameter  parameter,
string  id = null 
)
inline
bool Contracts.ContractParameter.AllChildParametersComplete ( )
inline
bool Contracts.ContractParameter.AnyChildParametersFailed ( )
inline
virtual void Contracts.ContractParameter.AwardCompletion ( )
inlineprotectedvirtual
long Contracts.ContractParameter.CreateID ( )
inline
void Contracts.ContractParameter.Disable ( bool  recursive = false)
inline
void Contracts.ContractParameter.Enable ( )
inline
virtual string Contracts.ContractParameter.GetHashString ( )
inlineprotectedvirtual

Reimplemented in FinePrint.Contracts.Parameters.RoverWayPointParameter, FinePrint.Contracts.Parameters.RepairPartParameter, FinePrint.Contracts.Parameters.SurveyWaypointParameter, FinePrint.Contracts.Parameters.ConstructionParameter, FinePrint.Contracts.Parameters.LocationAndSituationParameter, FinePrint.Contracts.Parameters.CometScienceParameter, FinePrint.Contracts.Parameters.SpecificOrbitParameter, Expansions.Serenity.Contracts.CollectROCScienceArm, FinePrint.Contracts.Parameters.PartRequestParameter, FinePrint.Contracts.Parameters.VesselSystemsParameter, Expansions.Serenity.Contracts.CollectDeployedScience, FinePrint.Contracts.Parameters.CrewTraitParameter, FinePrint.Contracts.Parameters.SpecificVesselParameter, FinePrint.Contracts.Parameters.ResourceExtractionParameter, SentinelMission.SentinelParameter, Expansions.Serenity.Contracts.CollectROCScienceRetrieval, Contracts.Parameters.PartTest, FinePrint.Contracts.Parameters.ResourcePossessionParameter, FinePrint.Contracts.Parameters.ProgressTrackingParameter, FinePrint.Contracts.Parameters.StationaryPointParameter, FinePrint.Contracts.Parameters.CrewCapacityParameter, FinePrint.Contracts.Parameters.AsteroidParameter, FinePrint.Contracts.Parameters.CometParameter, FinePrint.Contracts.Parameters.KerbalDestinationParameter, FinePrint.Contracts.Parameters.KerbalTourParameter, FinePrint.Contracts.Parameters.CometDetectionParameter, FinePrint.Contracts.Parameters.VesselDestinationParameter, FinePrint.Contracts.Parameters.KerbalGeeAdventureParameter, FinePrint.Contracts.Parameters.StabilityParameter, Contracts.Parameters.CollectScience, Contracts.Parameters.KerbalDeaths, Contracts.Parameters.EnterSOI, Contracts.Parameters.PlantFlag, FinePrint.Contracts.Parameters.MobileBaseParameter, Contracts.Parameters.LandOnBody, Contracts.Parameters.EnterOrbit, Contracts.Parameters.OR, and Contracts.Parameters.XOR.

virtual string Contracts.ContractParameter.GetMessageComplete ( )
inlineprotectedvirtual
virtual string Contracts.ContractParameter.GetMessageFailed ( )
inlineprotectedvirtual
virtual string Contracts.ContractParameter.GetMessageIncomplete ( )
inlineprotectedvirtual
virtual string Contracts.ContractParameter.GetNotes ( )
inlineprotectedvirtual
ContractParameter Contracts.ContractParameter.GetParameter ( int  index)
inline
ContractParameter Contracts.ContractParameter.GetParameter ( string  id)
inline
ContractParameter Contracts.ContractParameter.GetParameter ( System.Type  type)
inline
T Contracts.ContractParameter.GetParameter< T > ( string  id = null)
inline

Implements Contracts.IContractParameterHost.

Type Constraints
T :ContractParameter 
virtual string Contracts.ContractParameter.GetTitle ( )
inlineprotectedvirtual

Reimplemented in FinePrint.Contracts.Parameters.RoverWayPointParameter, FinePrint.Contracts.Parameters.RepairPartParameter, FinePrint.Contracts.Parameters.SurveyWaypointParameter, FinePrint.Contracts.Parameters.ConstructionParameter, FinePrint.Contracts.Parameters.LocationAndSituationParameter, FinePrint.Contracts.Parameters.CometScienceParameter, FinePrint.Contracts.Parameters.SpecificOrbitParameter, Expansions.Serenity.Contracts.CollectROCScienceArm, FinePrint.Contracts.Parameters.PartRequestParameter, Contracts.Parameters.PartTest, FinePrint.Contracts.Parameters.VesselSystemsParameter, Expansions.Serenity.Contracts.CollectDeployedScience, FinePrint.Contracts.Parameters.CrewTraitParameter, FinePrint.Contracts.Parameters.SpecificVesselParameter, FinePrint.Contracts.Parameters.ResourceExtractionParameter, SentinelMission.SentinelParameter, Expansions.Serenity.Contracts.CollectROCScienceRetrieval, Contracts.Parameters.ReachFlightEnvelope, FinePrint.Contracts.Parameters.ResourcePossessionParameter, FinePrint.Contracts.Parameters.ProgressTrackingParameter, Contracts.Parameters.RecoverPart, Contracts.Parameters.AcquireCrew, Contracts.Parameters.AcquirePart, FinePrint.Contracts.Parameters.StationaryPointParameter, Contracts.Parameters.RecoverKerbal, FinePrint.Contracts.Parameters.CrewCapacityParameter, FinePrint.Contracts.Parameters.AsteroidParameter, FinePrint.Contracts.Parameters.CometParameter, FinePrint.Contracts.Parameters.KerbalDestinationParameter, FinePrint.Contracts.Parameters.KerbalTourParameter, FinePrint.Contracts.Parameters.CometDetectionParameter, FinePrint.Contracts.Parameters.VesselDestinationParameter, FinePrint.Contracts.Parameters.KerbalGeeAdventureParameter, FinePrint.Contracts.Parameters.StabilityParameter, Contracts.Parameters.CollectScience, Contracts.Parameters.KerbalDeaths, Contracts.Parameters.EnterSOI, Contracts.Parameters.PlantFlag, FinePrint.Contracts.Parameters.MobileBaseParameter, Contracts.Parameters.ReachSpeedEnvelope, Contracts.Parameters.LandOnBody, Contracts.Parameters.EnterOrbit, Contracts.Parameters.ReachAltitudeEnvelope, Contracts.Parameters.ReachSituation, Contracts.Parameters.ReachBiome, and Contracts.Parameters.ReachDestination.

void Contracts.ContractParameter.Load ( ConfigNode  node)
inline
void Contracts.ContractParameter.NestToParent ( IContractParameterHost  parent)
inline
virtual void Contracts.ContractParameter.OnLoad ( ConfigNode  node)
inlineprotectedvirtual

Reimplemented in FinePrint.Contracts.Parameters.ProgressTrackingParameter, FinePrint.Contracts.Parameters.SurveyWaypointParameter, FinePrint.Contracts.Parameters.RoverWayPointParameter, FinePrint.Contracts.Parameters.SpecificOrbitParameter, FinePrint.Contracts.Parameters.VesselSystemsParameter, FinePrint.Contracts.Parameters.CrewTraitParameter, FinePrint.Contracts.Parameters.AsteroidParameter, FinePrint.Contracts.Parameters.CometParameter, FinePrint.Contracts.Parameters.PartRequestParameter, FinePrint.Contracts.Parameters.RepairPartParameter, FinePrint.Contracts.Parameters.LocationAndSituationParameter, FinePrint.Contracts.Parameters.ResourceExtractionParameter, FinePrint.Contracts.Parameters.SpecificVesselParameter, FinePrint.Contracts.Parameters.CrewCapacityParameter, FinePrint.Contracts.Parameters.ConstructionParameter, Contracts.Parameters.ReachFlightEnvelope, SentinelMission.SentinelParameter, FinePrint.Contracts.Parameters.ResourcePossessionParameter, FinePrint.Contracts.Parameters.CometDetectionParameter, Contracts.Parameters.PartTest, FinePrint.Contracts.Parameters.VesselDestinationParameter, FinePrint.Contracts.Parameters.KerbalDestinationParameter, Expansions.Serenity.Contracts.CollectROCScienceArm, FinePrint.Contracts.Parameters.CometScienceParameter, FinePrint.Contracts.Parameters.StationaryPointParameter, Expansions.Serenity.Contracts.CollectDeployedScience, FinePrint.Contracts.Parameters.KerbalTourParameter, Expansions.Serenity.Contracts.CollectROCScienceRetrieval, FinePrint.Contracts.Parameters.KerbalGeeAdventureParameter, FinePrint.Contracts.Parameters.StabilityParameter, Contracts.Parameters.RecoverPart, Contracts.Parameters.AcquireCrew, Contracts.Parameters.AcquirePart, Contracts.Parameters.RecoverKerbal, Contracts.Parameters.ReachSituation, Contracts.Parameters.CollectScience, Contracts.Parameters.KerbalDeaths, Contracts.Parameters.ReachBiome, Contracts.Parameters.ReachSpeedEnvelope, Contracts.Parameters.ReachAltitudeEnvelope, Contracts.Parameters.EnterSOI, Contracts.Parameters.PlantFlag, Contracts.Parameters.ReachDestination, Contracts.Parameters.LandOnBody, and Contracts.Parameters.EnterOrbit.

virtual void Contracts.ContractParameter.OnParameterStateChange ( ContractParameter  p)
inlineprotectedvirtual
virtual void Contracts.ContractParameter.OnRegister ( )
inlineprotectedvirtual

Reimplemented in FinePrint.Contracts.Parameters.ProgressTrackingParameter, Contracts.Parameters.PartTest, FinePrint.Contracts.Parameters.RepairPartParameter, FinePrint.Contracts.Parameters.RoverWayPointParameter, FinePrint.Contracts.Parameters.SurveyWaypointParameter, FinePrint.Contracts.Parameters.SpecificOrbitParameter, FinePrint.Contracts.Parameters.ConstructionParameter, Contracts.Parameters.ReachFlightEnvelope, Expansions.Serenity.Contracts.CollectROCScienceArm, Expansions.Serenity.Contracts.CollectROCScienceRetrieval, FinePrint.Contracts.Parameters.VesselSystemsParameter, Expansions.Serenity.Contracts.CollectDeployedScience, FinePrint.Contracts.Parameters.SpecificVesselParameter, FinePrint.Contracts.Parameters.CometScienceParameter, FinePrint.Contracts.Parameters.CrewTraitParameter, Contracts.Parameters.RecoverPart, SentinelMission.SentinelParameter, Contracts.Parameters.AcquireCrew, Contracts.Parameters.AcquirePart, Contracts.Parameters.RecoverKerbal, FinePrint.Contracts.Parameters.PartRequestParameter, FinePrint.Contracts.Parameters.ResourcePossessionParameter, FinePrint.Contracts.Parameters.CrewCapacityParameter, FinePrint.Contracts.Parameters.ResourceExtractionParameter, Contracts.Parameters.CollectScience, Contracts.Parameters.ReachSituation, FinePrint.Contracts.Parameters.KerbalDestinationParameter, Contracts.Parameters.KerbalDeaths, FinePrint.Contracts.Parameters.AsteroidParameter, FinePrint.Contracts.Parameters.CometParameter, FinePrint.Contracts.Parameters.StationaryPointParameter, FinePrint.Contracts.Parameters.VesselDestinationParameter, FinePrint.Contracts.Parameters.CometDetectionParameter, Contracts.Parameters.ReachDestination, Contracts.Parameters.EnterSOI, Contracts.Parameters.PlantFlag, Contracts.Parameters.LandOnBody, Contracts.Parameters.EnterOrbit, FinePrint.Contracts.Parameters.KerbalTourParameter, FinePrint.Contracts.Parameters.LocationAndSituationParameter, FinePrint.Contracts.Parameters.KerbalGeeAdventureParameter, FinePrint.Contracts.Parameters.StabilityParameter, and FinePrint.Contracts.Parameters.MobileBaseParameter.

virtual void Contracts.ContractParameter.OnReset ( )
inlineprotectedvirtual
virtual void Contracts.ContractParameter.OnSave ( ConfigNode  node)
inlineprotectedvirtual

Reimplemented in FinePrint.Contracts.Parameters.ProgressTrackingParameter, FinePrint.Contracts.Parameters.SurveyWaypointParameter, FinePrint.Contracts.Parameters.RoverWayPointParameter, FinePrint.Contracts.Parameters.SpecificOrbitParameter, Contracts.Parameters.PartTest, FinePrint.Contracts.Parameters.VesselSystemsParameter, FinePrint.Contracts.Parameters.CrewTraitParameter, FinePrint.Contracts.Parameters.AsteroidParameter, FinePrint.Contracts.Parameters.CometParameter, FinePrint.Contracts.Parameters.RepairPartParameter, FinePrint.Contracts.Parameters.ConstructionParameter, FinePrint.Contracts.Parameters.PartRequestParameter, Contracts.Parameters.ReachFlightEnvelope, FinePrint.Contracts.Parameters.CrewCapacityParameter, FinePrint.Contracts.Parameters.LocationAndSituationParameter, FinePrint.Contracts.Parameters.SpecificVesselParameter, FinePrint.Contracts.Parameters.ResourceExtractionParameter, Expansions.Serenity.Contracts.CollectROCScienceArm, Expansions.Serenity.Contracts.CollectROCScienceRetrieval, Expansions.Serenity.Contracts.CollectDeployedScience, FinePrint.Contracts.Parameters.CometScienceParameter, FinePrint.Contracts.Parameters.CometDetectionParameter, FinePrint.Contracts.Parameters.ResourcePossessionParameter, SentinelMission.SentinelParameter, FinePrint.Contracts.Parameters.VesselDestinationParameter, FinePrint.Contracts.Parameters.KerbalDestinationParameter, FinePrint.Contracts.Parameters.StationaryPointParameter, FinePrint.Contracts.Parameters.KerbalTourParameter, Contracts.Parameters.RecoverPart, Contracts.Parameters.AcquireCrew, Contracts.Parameters.AcquirePart, Contracts.Parameters.RecoverKerbal, FinePrint.Contracts.Parameters.KerbalGeeAdventureParameter, Contracts.Parameters.CollectScience, Contracts.Parameters.ReachSituation, Contracts.Parameters.KerbalDeaths, FinePrint.Contracts.Parameters.StabilityParameter, Contracts.Parameters.ReachBiome, Contracts.Parameters.ReachSpeedEnvelope, Contracts.Parameters.ReachAltitudeEnvelope, Contracts.Parameters.EnterSOI, Contracts.Parameters.PlantFlag, Contracts.Parameters.ReachDestination, Contracts.Parameters.LandOnBody, and Contracts.Parameters.EnterOrbit.

virtual void Contracts.ContractParameter.OnUnregister ( )
inlineprotectedvirtual

Reimplemented in Contracts.Parameters.PartTest, FinePrint.Contracts.Parameters.ProgressTrackingParameter, FinePrint.Contracts.Parameters.RepairPartParameter, FinePrint.Contracts.Parameters.SurveyWaypointParameter, FinePrint.Contracts.Parameters.RoverWayPointParameter, Contracts.Parameters.ReachFlightEnvelope, FinePrint.Contracts.Parameters.SpecificOrbitParameter, FinePrint.Contracts.Parameters.ConstructionParameter, Expansions.Serenity.Contracts.CollectROCScienceArm, FinePrint.Contracts.Parameters.VesselSystemsParameter, Expansions.Serenity.Contracts.CollectROCScienceRetrieval, FinePrint.Contracts.Parameters.CrewTraitParameter, Expansions.Serenity.Contracts.CollectDeployedScience, FinePrint.Contracts.Parameters.CometScienceParameter, FinePrint.Contracts.Parameters.SpecificVesselParameter, Contracts.Parameters.RecoverPart, Contracts.Parameters.AcquireCrew, Contracts.Parameters.AcquirePart, Contracts.Parameters.RecoverKerbal, FinePrint.Contracts.Parameters.PartRequestParameter, FinePrint.Contracts.Parameters.CrewCapacityParameter, FinePrint.Contracts.Parameters.ResourceExtractionParameter, FinePrint.Contracts.Parameters.KerbalDestinationParameter, FinePrint.Contracts.Parameters.AsteroidParameter, FinePrint.Contracts.Parameters.CometParameter, FinePrint.Contracts.Parameters.VesselDestinationParameter, Contracts.Parameters.CollectScience, Contracts.Parameters.ReachSituation, Contracts.Parameters.KerbalDeaths, FinePrint.Contracts.Parameters.StationaryPointParameter, FinePrint.Contracts.Parameters.KerbalTourParameter, FinePrint.Contracts.Parameters.CometDetectionParameter, FinePrint.Contracts.Parameters.KerbalGeeAdventureParameter, FinePrint.Contracts.Parameters.LocationAndSituationParameter, Contracts.Parameters.ReachDestination, Contracts.Parameters.EnterSOI, Contracts.Parameters.PlantFlag, Contracts.Parameters.LandOnBody, Contracts.Parameters.EnterOrbit, and FinePrint.Contracts.Parameters.MobileBaseParameter.

virtual void Contracts.ContractParameter.OnUpdate ( )
inlineprotectedvirtual
void Contracts.ContractParameter.ParameterStateUpdate ( ContractParameter  p)
inline
virtual void Contracts.ContractParameter.PenalizeFailure ( )
inlineprotectedvirtual
void Contracts.ContractParameter.Register ( )
inline
void Contracts.ContractParameter.RemoveParameter ( int  index)
inline
void Contracts.ContractParameter.RemoveParameter ( string  id)
inline
void Contracts.ContractParameter.RemoveParameter ( System.Type  type)
inline
void Contracts.ContractParameter.RemoveParameter ( ContractParameter  parameter)
inline
void Contracts.ContractParameter.Reset ( )
inline
void Contracts.ContractParameter.Save ( ConfigNode  node)
inline
void Contracts.ContractParameter.SendStateMessage ( string  title,
string  message,
MessageSystemButton.MessageButtonColor  color,
MessageSystemButton.ButtonIcons  icon 
)
inlineprotected

Sends user a text message via messaging system

void Contracts.ContractParameter.SetComplete ( )
inlineprotected
void Contracts.ContractParameter.SetFailed ( )
inlineprotected
void Contracts.ContractParameter.SetFunds ( float  completion,
CelestialBody  body = null 
)
inline
void Contracts.ContractParameter.SetFunds ( float  completion,
float  failure,
CelestialBody  body = null 
)
inline
void Contracts.ContractParameter.SetIncomplete ( )
inlineprotected
void Contracts.ContractParameter.SetReputation ( float  completion,
float  failure,
CelestialBody  body = null 
)
inline
void Contracts.ContractParameter.SetReputation ( float  completion,
CelestialBody  body = null 
)
inline
void Contracts.ContractParameter.SetScience ( float  completion,
CelestialBody  body = null 
)
inline
void Contracts.ContractParameter.Unregister ( )
inline
void Contracts.ContractParameter.Update ( )
inline

Member Data Documentation

bool Contracts.ContractParameter.allowPartialFailure = false
protected
bool Contracts.ContractParameter.disableOnStateChange = true
protected
bool Contracts.ContractParameter.enabled = true
protected
double Contracts.ContractParameter.FundsCompletion

The funds gained for completing this parameter

double Contracts.ContractParameter.FundsFailure

The funds gained for failing this parameter

string Contracts.ContractParameter.id = null
protected
EventData<ContractParameter, ParameterState> Contracts.ContractParameter.OnStateChange = new EventData<ContractParameter, ParameterState>("OnStateChange")
bool Contracts.ContractParameter.optional = false
protected
float Contracts.ContractParameter.ReputationCompletion

The reputation gain for completing this parameter

float Contracts.ContractParameter.ReputationFailure

The reputation gain for failing this parameter

float Contracts.ContractParameter.ScienceCompletion

The science gained for completing this parameter

ParameterState Contracts.ContractParameter.state = ParameterState.Incomplete
protected

Property Documentation

bool Contracts.ContractParameter.AllowPartialFailure
getset

Whether a parameter failure also fails the contract.

IEnumerable<ContractParameter> Contracts.ContractParameter.AllParameters
get
bool Contracts.ContractParameter.DisableOnStateChange
getset
bool Contracts.ContractParameter.Enabled
getset
string Contracts.ContractParameter.HashString
get
string Contracts.ContractParameter.ID
getset
string Contracts.ContractParameter.MessageComplete
get
string Contracts.ContractParameter.MessageFailed
get
string Contracts.ContractParameter.MessageIncomplete
get
string Contracts.ContractParameter.Notes
get
bool Contracts.ContractParameter.Optional
getset
int Contracts.ContractParameter.ParameterCount
get
IContractParameterHost Contracts.ContractParameter.Parent
get
Contract Contracts.ContractParameter.Root
get
ParameterState Contracts.ContractParameter.State
get
ContractParameter Contracts.ContractParameter.this[int index]
get
ContractParameter Contracts.ContractParameter.this[string id]
get
ContractParameter Contracts.ContractParameter.this[System.Type type]
get
string Contracts.ContractParameter.Title
get

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