Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Protected Member Functions | List of all members
Contracts.Agents.Mentalities.NoRandomContractMentality Class Reference

Mentality that can be used to prevent random contracts from being assigned to the agent. More...

Inheritance diagram for Contracts.Agents.Mentalities.NoRandomContractMentality:
Contracts.Agents.AgentMentality

Public Member Functions

override bool CanProcessContract (Contract contract)
 
override void OnAdded ()
 Called immediately after being added to an agent. More...
 
override KeywordScore ScoreKeyword (string keyword)
 
- Public Member Functions inherited from Contracts.Agents.AgentMentality
virtual void ProcessContract (Contract contract)
 

Protected Member Functions

override string GetDisplayName ()
 
- Protected Member Functions inherited from Contracts.Agents.AgentMentality
void FactorDeadline (Contract contract, bool positive)
 
void FactorExpiry (Contract contract, bool positive)
 
void FactorFundsAdvance (Contract contract, bool positive)
 
void FactorFundsCompletion (Contract contract, bool positive)
 
void FactorFundsFailure (Contract contract, bool positive)
 
void FactorReputationCompletion (Contract contract, bool positive)
 
void FactorReputationFailure (Contract contract, bool positive)
 
void FactorScienceCompletion (Contract contract, bool positive)
 
virtual string GetDescription ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Contracts.Agents.AgentMentality
static AgentMentality AddMentality (Agent agent, string mentalityName, float factor)
 
static System.Type GetMentalityType (string typeName)
 
- Properties inherited from Contracts.Agents.AgentMentality
Agent Agent [get]
 
string Description [get]
 
string DisplayName [get]
 
float Factor [get]
 

Detailed Description

Mentality that can be used to prevent random contracts from being assigned to the agent.

Member Function Documentation

override bool Contracts.Agents.Mentalities.NoRandomContractMentality.CanProcessContract ( Contract  contract)
inlinevirtual

Reimplemented from Contracts.Agents.AgentMentality.

override string Contracts.Agents.Mentalities.NoRandomContractMentality.GetDisplayName ( )
inlineprotectedvirtual

Reimplemented from Contracts.Agents.AgentMentality.

override void Contracts.Agents.Mentalities.NoRandomContractMentality.OnAdded ( )
inlinevirtual

Called immediately after being added to an agent.

Reimplemented from Contracts.Agents.AgentMentality.

override KeywordScore Contracts.Agents.Mentalities.NoRandomContractMentality.ScoreKeyword ( string  keyword)
inlinevirtual

Reimplemented from Contracts.Agents.AgentMentality.


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