Contracts#
- class ContractManager#
Contracts manager. Obtained by calling
SpaceCenter.ContractManager.
- class Contract#
A contract. Can be accessed using
SpaceCenter.ContractManager.- ContractState State { get; }#
State of the contract.
- Game Scenes:
All
- void Accept ()#
Accept an offered contract.
- Game Scenes:
All
- void Cancel ()#
Cancel an active contract.
- Game Scenes:
All
- void Decline ()#
Decline an offered contract.
- Game Scenes:
All
- Double ReputationCompletion { get; }#
Reputation gained on completion of the contract.
- Game Scenes:
All
- IList<ContractParameter> Parameters { get; }#
Parameters for the contract.
- Game Scenes:
All
- enum ContractState#
The state of a contract. See
Contract.State.- Active#
The contract is active.
- Canceled#
The contract has been canceled.
- Completed#
The contract has been completed.
- DeadlineExpired#
The deadline for the contract has expired.
- Declined#
The contract has been declined.
- Failed#
The contract has been failed.
- Generated#
The contract has been generated.
- Offered#
The contract has been offered to the player.
- OfferExpired#
The contract was offered to the player, but the offer expired.
- Withdrawn#
The contract has been withdrawn.
- class ContractParameter#
A contract parameter. See
Contract.Parameters.- IList<ContractParameter> Children { get; }#
Child contract parameters.
- Game Scenes:
All
- Double FundsCompletion { get; }#
Funds received on completion of the contract parameter.
- Game Scenes:
All
- Double ReputationCompletion { get; }#
Reputation gained on completion of the contract parameter.
- Game Scenes:
All