space_ex v0.8.0 SpaceEx.SpaceCenter.ContractState

The state of a contract.

See SpaceEx.SpaceCenter.Contract.state/1.

Link to this section Summary

Functions

The contract is active

The contract has been canceled

The contract has been completed

The deadline for the contract has expired

The contract has been declined

The contract has been failed

The contract has been generated

The contract was offered to the player, but the offer expired

The contract has been offered to the player

The contract has been withdrawn

Link to this section Functions

The contract is active.

Returns: :active

The contract has been canceled.

Returns: :canceled

The contract has been completed.

Returns: :completed

Link to this function deadline_expired()

The deadline for the contract has expired.

Returns: :deadline_expired

The contract has been declined.

Returns: :declined

The contract has been failed.

Returns: :failed

The contract has been generated.

Returns: :generated

Link to this function offer_expired()

The contract was offered to the player, but the offer expired.

Returns: :offer_expired

The contract has been offered to the player.

Returns: :offered

The contract has been withdrawn.

Returns: :withdrawn