Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | List of all members
IContractObjectiveModule Interface Reference

Represents a group of modules for contract objectives, or even a subset within a single module, such as relay antennae, or motorized wheels. More...

Inheritance diagram for IContractObjectiveModule:
ModuleDataTransmitter ModuleDeployableSolarPanel ModuleDockingNode ModuleGenerator ModuleGrappleNode ModuleWheelBase

Public Member Functions

bool CheckContractObjectiveValidity ()
 Whether this particular module is valid for this objective. For example, leg wheels versus rover wheels. More...
 
string GetContractObjectiveType ()
 Gets the string identifier for this contract type. Stock contracts use ContractDefs constants, but could be used for non-stock contracts. More...
 

Detailed Description

Represents a group of modules for contract objectives, or even a subset within a single module, such as relay antennae, or motorized wheels.

Member Function Documentation

bool IContractObjectiveModule.CheckContractObjectiveValidity ( )

Whether this particular module is valid for this objective. For example, leg wheels versus rover wheels.

Returns
If the module is valid.

Implemented in ModuleDockingNode, ModuleWheelBase, ModuleGrappleNode, ModuleDataTransmitter, ModuleDeployableSolarPanel, and ModuleGenerator.

string IContractObjectiveModule.GetContractObjectiveType ( )

Gets the string identifier for this contract type. Stock contracts use ContractDefs constants, but could be used for non-stock contracts.

Returns
A string identifier for this type of objective.

Implemented in ModuleDockingNode, ModuleWheelBase, ModuleGrappleNode, ModuleDataTransmitter, ModuleDeployableSolarPanel, and ModuleGenerator.


The documentation for this interface was generated from the following file: