C# Class StationScience.Contracts.Parameters.StnSciParameter

Inheritance: ContractParameter, PartRelated, BodyRelated
Afficher le fichier Open project: tomforwood/StationScience Class Usage Examples

Méthodes publiques

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

Méthodes protégées

Méthode Description
GetHashString ( ) : string
GetNotes ( ) : string
GetTitle ( ) : string
OnLoad ( ConfigNode node ) : void
OnSave ( ConfigNode node ) : void

Private Methods

Méthode Description
SetExperiment ( string exp ) : bool
SetTarget ( string planet ) : bool

Method Details

Complete() public méthode

public Complete ( ) : void
Résultat void

GetBody() public méthode

public GetBody ( ) : CelestialBody
Résultat CelestialBody

GetHashString() protected méthode

protected GetHashString ( ) : string
Résultat string

GetNotes() protected méthode

protected GetNotes ( ) : string
Résultat string

GetPartType() public méthode

public GetPartType ( ) : AvailablePart
Résultat AvailablePart

GetTitle() protected méthode

protected GetTitle ( ) : string
Résultat string

OnLoad() protected méthode

protected OnLoad ( ConfigNode node ) : void
node ConfigNode
Résultat void

OnSave() protected méthode

protected OnSave ( ConfigNode node ) : void
node ConfigNode
Résultat void

StnSciParameter() public méthode

public StnSciParameter ( ) : System
Résultat System

StnSciParameter() public méthode

public StnSciParameter ( AvailablePart type, CelestialBody body ) : System
type AvailablePart
body CelestialBody
Résultat System

getExperimentType() static public méthode

static public getExperimentType ( ContractParameter o ) : AvailablePart
o ContractParameter
Résultat AvailablePart

getTargetBody() static public méthode

static public getTargetBody ( ContractParameter o ) : CelestialBody
o ContractParameter
Résultat CelestialBody