|
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) |
|
T | 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 () |
|
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...
|
|
bool | allowPartialFailure = false |
|
bool | disableOnStateChange = true |
|
bool | enabled = true |
|
string | id = null |
|
bool | optional = false |
|
ParameterState | state = ParameterState.Incomplete |
|
bool | AllowPartialFailure [get, set] |
| Whether a parameter failure also fails the contract. More...
|
|
IEnumerable< ContractParameter > | AllParameters [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] |
|
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] |
|