C# Class StationScience.Contracts.Parameters.StnSciParameter

Inheritance: ContractParameter, PartRelated, BodyRelated
Mostrar archivo Open project: tomforwood/StationScience Class Usage Examples

Public Methods

Method Description
Complete ( ) : void
GetBody ( ) : CelestialBody
GetPartType ( ) : AvailablePart
StnSciParameter ( ) : System
StnSciParameter ( AvailablePart type, CelestialBody body ) : System
getExperimentType ( ContractParameter o ) : AvailablePart
getTargetBody ( ContractParameter o ) : CelestialBody

Protected Methods

Method Description
GetHashString ( ) : string
GetNotes ( ) : string
GetTitle ( ) : string
OnLoad ( ConfigNode node ) : void
OnSave ( ConfigNode node ) : void

Private Methods

Method Description
SetExperiment ( string exp ) : bool
SetTarget ( string planet ) : bool

Method Details

Complete() public method

public Complete ( ) : void
return void

GetBody() public method

public GetBody ( ) : CelestialBody
return CelestialBody

GetHashString() protected method

protected GetHashString ( ) : string
return string

GetNotes() protected method

protected GetNotes ( ) : string
return string

GetPartType() public method

public GetPartType ( ) : AvailablePart
return AvailablePart

GetTitle() protected method

protected GetTitle ( ) : string
return string

OnLoad() protected method

protected OnLoad ( ConfigNode node ) : void
node ConfigNode
return void

OnSave() protected method

protected OnSave ( ConfigNode node ) : void
node ConfigNode
return void

StnSciParameter() public method

public StnSciParameter ( ) : System
return System

StnSciParameter() public method

public StnSciParameter ( AvailablePart type, CelestialBody body ) : System
type AvailablePart
body CelestialBody
return System

getExperimentType() static public method

static public getExperimentType ( ContractParameter o ) : AvailablePart
o ContractParameter
return AvailablePart

getTargetBody() static public method

static public getTargetBody ( ContractParameter o ) : CelestialBody
o ContractParameter
return CelestialBody