|
| enum | ContractPrestige { ContractPrestige.Trivial = 0,
ContractPrestige.Significant = 1,
ContractPrestige.Exceptional = 2
} |
| |
| enum | DeadlineType { DeadlineType.Fixed = 0,
DeadlineType.Floating = 1,
DeadlineType.None = 2
} |
| |
| enum | State {
State.Generated = 0,
State.Offered = 1,
State.OfferExpired = 2,
State.Declined = 3,
State.Cancelled = 4,
State.Active = 5,
State.Completed = 6,
State.DeadlineExpired = 7,
State.Failed = 8,
State.Withdrawn = 9
} |
| |
|
| bool | AddKeywords (params string[] keywords) |
| |
| bool | AddKeywordsRequired (params string[] keywords) |
| |
| virtual void | AwardAdvance () |
| |
| virtual void | AwardCompletion () |
| |
| virtual bool | Generate () |
| |
| virtual string | GetDescription () |
| |
| float | GetDestinationWeight (CelestialBody body) |
| |
| virtual string | GetHashString () |
| |
| virtual string | GetNotes () |
| |
| virtual string | GetSynopsys () |
| |
| virtual string | GetTitle () |
| |
| virtual string | MessageAccepted () |
| |
| virtual string | MessageAdvances () |
| |
| virtual string | MessageCancellationPenalties (double fundsPenalty, float repPenalty) |
| |
| virtual string | MessageCancelled () |
| |
| virtual string | MessageCompleted () |
| |
| virtual string | MessageDeadlineExpired () |
| |
| virtual string | MessageFailed () |
| |
| virtual string | MessageFailurePenalties () |
| |
| virtual string | MessageOffered () |
| |
| virtual string | MessageOfferExpired () |
| |
| virtual string | MessageRewards () |
| |
| string | MissionNotes () |
| |
| string | MissionParameter (ContractParameter parameter, int indent) |
| |
| virtual void | OnAccepted () |
| |
| virtual void | OnCancelled () |
| |
| virtual void | OnCompleted () |
| |
| virtual void | OnDeadlineExpired () |
| |
| virtual void | OnDeclined () |
| |
| virtual void | OnFailed () |
| |
| virtual void | OnFinished () |
| |
| virtual void | OnGenerateFailed () |
| |
| virtual void | OnLoad (ConfigNode node) |
| |
| virtual void | OnOffered () |
| |
| virtual void | OnOfferExpired () |
| |
| virtual void | OnParameterStateChange (ContractParameter p) |
| |
| virtual void | OnRegister () |
| |
| virtual void | OnSave (ConfigNode node) |
| |
| virtual void | OnUnregister () |
| |
| virtual void | OnUpdate () |
| |
| virtual void | OnWithdrawn () |
| |
| virtual void | PenalizeCancellation () |
| |
| virtual void | PenalizeFailure () |
| |
| void | SendStateMessage (string title, string message, MessageSystemButton.MessageButtonColor color, MessageSystemButton.ButtonIcons icon) |
| |
| void | SetDeadlineDays (float days, CelestialBody body=null) |
| |
| void | SetDeadlineYears (float years, CelestialBody body=null) |
| |
| void | SetExpiry () |
| |
| void | SetExpiry (float minDays, float maxDays) |
| |
| void | SetExpiry (int minDays, int maxDays) |
| |
| void | SetFunds (float advance, float completion, CelestialBody body=null) |
| |
| void | SetFunds (float advance, float completion, float failure, CelestialBody body=null) |
| |
| void | SetReputation (float completion, CelestialBody body=null) |
| |
| void | SetReputation (float completion, float failure, CelestialBody body=null) |
| |
| void | SetScience (float completion, CelestialBody body=null) |
| |
| void | SetState (Contract.State newState) |
| |
|
| static int | CountBodies_Complete (bool includeKerbin, bool includeSun, string nodeComplete) |
| |
| static int | CountBodies_Reached (bool includeKerbin, bool includeSun) |
| |
| static List< CelestialBody > | GetBodies (bool includeKerbin, bool includeSun) |
| |
| static List< CelestialBody > | GetBodies (Contract.ProgressState bodyState, Func< CelestialBody, bool > where=null) |
| |
| static List< CelestialBody > | GetBodies (string nodeName, Contract.ProgressState nodeState, Func< CelestialBody, bool > where=null) |
| |
| static List< CelestialBody > | GetBodies (Contract.ProgressState bodyState, string nodeName, Contract.ProgressState nodeState, Func< CelestialBody, bool > where=null) |
| |
| static List< CelestialBody > | GetBodies_Complete (bool includeKerbin, bool includeSun, string complete) |
| |
| static List< CelestialBody > | GetBodies_InComplete (bool includeKerbin, bool includeSun, string notComplete) |
| |
| static List< CelestialBody > | GetBodies_NextUnreached (int depth, Func< CelestialBody, bool > where=null) |
| |
| static List< CelestialBody > | GetBodies_NotReached (bool includeKerbin, bool includeSun) |
| |
| static List< CelestialBody > | GetBodies_Reached (bool includeKerbin, bool includeSun) |
| |
| Enumerator |
|---|
| Trivial |
|
| Significant |
|
| Exceptional |
|
| Enumerator |
|---|
| Fixed |
|
| Floating |
|
| None |
|
| Enumerator |
|---|
| Unreached |
|
| Reached |
|
| Complete |
|
| Enumerator |
|---|
| Generated |
|
| Offered |
|
| OfferExpired |
|
| Declined |
|
| Cancelled |
|
| Active |
|
| Completed |
|
| DeadlineExpired |
|
| Failed |
|
| Withdrawn |
|
| Contracts.Contract.Contract |
( |
| ) |
|
| bool Contracts.Contract.Accept |
( |
| ) |
|
| bool Contracts.Contract.AddKeywords |
( |
params string[] |
keywords | ) |
|
|
protected |
| bool Contracts.Contract.AddKeywordsRequired |
( |
params string[] |
keywords | ) |
|
|
protected |
| virtual void Contracts.Contract.AwardAdvance |
( |
| ) |
|
|
protectedvirtual |
| virtual void Contracts.Contract.AwardCompletion |
( |
| ) |
|
|
protectedvirtual |
| virtual bool Contracts.Contract.CanBeCancelled |
( |
| ) |
|
|
virtual |
| virtual bool Contracts.Contract.CanBeDeclined |
( |
| ) |
|
|
virtual |
| bool Contracts.Contract.Cancel |
( |
| ) |
|
| bool Contracts.Contract.Complete |
( |
| ) |
|
| static int Contracts.Contract.CountBodies_Complete |
( |
bool |
includeKerbin, |
|
|
bool |
includeSun, |
|
|
string |
nodeComplete |
|
) |
| |
|
staticprotected |
| static int Contracts.Contract.CountBodies_Reached |
( |
bool |
includeKerbin, |
|
|
bool |
includeSun |
|
) |
| |
|
staticprotected |
| bool Contracts.Contract.Decline |
( |
| ) |
|
| bool Contracts.Contract.Fail |
( |
| ) |
|
| virtual bool Contracts.Contract.Generate |
( |
| ) |
|
|
protectedvirtual |
| void Contracts.Contract.GenerateFailed |
( |
| ) |
|
| static List<CelestialBody> Contracts.Contract.GetBodies |
( |
bool |
includeKerbin, |
|
|
bool |
includeSun |
|
) |
| |
|
staticprotected |
| static List<CelestialBody> Contracts.Contract.GetBodies_Complete |
( |
bool |
includeKerbin, |
|
|
bool |
includeSun, |
|
|
string |
complete |
|
) |
| |
|
staticprotected |
| static List<CelestialBody> Contracts.Contract.GetBodies_InComplete |
( |
bool |
includeKerbin, |
|
|
bool |
includeSun, |
|
|
string |
notComplete |
|
) |
| |
|
staticprotected |
| static List<CelestialBody> Contracts.Contract.GetBodies_NotReached |
( |
bool |
includeKerbin, |
|
|
bool |
includeSun |
|
) |
| |
|
staticprotected |
| static List<CelestialBody> Contracts.Contract.GetBodies_Reached |
( |
bool |
includeKerbin, |
|
|
bool |
includeSun |
|
) |
| |
|
staticprotected |
| virtual string Contracts.Contract.GetDescription |
( |
| ) |
|
|
protectedvirtual |
| float Contracts.Contract.GetDestinationWeight |
( |
CelestialBody |
body | ) |
|
|
protected |
| virtual string Contracts.Contract.GetHashString |
( |
| ) |
|
|
protectedvirtual |
| virtual string Contracts.Contract.GetNotes |
( |
| ) |
|
|
protectedvirtual |
| virtual string Contracts.Contract.GetSynopsys |
( |
| ) |
|
|
protectedvirtual |
| virtual string Contracts.Contract.GetTitle |
( |
| ) |
|
|
protectedvirtual |
| bool Contracts.Contract.IsFinished |
( |
| ) |
|
| void Contracts.Contract.Kill |
( |
| ) |
|
| virtual bool Contracts.Contract.MeetRequirements |
( |
| ) |
|
|
virtual |
| virtual string Contracts.Contract.MessageAccepted |
( |
| ) |
|
|
protectedvirtual |
| virtual string Contracts.Contract.MessageAdvances |
( |
| ) |
|
|
protectedvirtual |
| virtual string Contracts.Contract.MessageCancellationPenalties |
( |
double |
fundsPenalty, |
|
|
float |
repPenalty |
|
) |
| |
|
protectedvirtual |
| virtual string Contracts.Contract.MessageCancelled |
( |
| ) |
|
|
protectedvirtual |
| virtual string Contracts.Contract.MessageCompleted |
( |
| ) |
|
|
protectedvirtual |
| virtual string Contracts.Contract.MessageDeadlineExpired |
( |
| ) |
|
|
protectedvirtual |
| virtual string Contracts.Contract.MessageFailed |
( |
| ) |
|
|
protectedvirtual |
| virtual string Contracts.Contract.MessageFailurePenalties |
( |
| ) |
|
|
protectedvirtual |
| virtual string Contracts.Contract.MessageOffered |
( |
| ) |
|
|
protectedvirtual |
| virtual string Contracts.Contract.MessageOfferExpired |
( |
| ) |
|
|
protectedvirtual |
| virtual string Contracts.Contract.MessageRewards |
( |
| ) |
|
|
protectedvirtual |
| virtual string Contracts.Contract.MissionControlTextRich |
( |
| ) |
|
|
virtual |
| string Contracts.Contract.MissionNotes |
( |
| ) |
|
|
protected |
| string Contracts.Contract.MissionParameter |
( |
ContractParameter |
parameter, |
|
|
int |
indent |
|
) |
| |
|
protected |
| bool Contracts.Contract.Offer |
( |
| ) |
|
| virtual void Contracts.Contract.OnAccepted |
( |
| ) |
|
|
protectedvirtual |
| virtual void Contracts.Contract.OnCancelled |
( |
| ) |
|
|
protectedvirtual |
| virtual void Contracts.Contract.OnCompleted |
( |
| ) |
|
|
protectedvirtual |
| virtual void Contracts.Contract.OnDeadlineExpired |
( |
| ) |
|
|
protectedvirtual |
| virtual void Contracts.Contract.OnDeclined |
( |
| ) |
|
|
protectedvirtual |
| virtual void Contracts.Contract.OnFailed |
( |
| ) |
|
|
protectedvirtual |
| virtual void Contracts.Contract.OnFinished |
( |
| ) |
|
|
protectedvirtual |
| virtual void Contracts.Contract.OnGenerateFailed |
( |
| ) |
|
|
protectedvirtual |
| virtual void Contracts.Contract.OnLoad |
( |
ConfigNode |
node | ) |
|
|
protectedvirtual |
| virtual void Contracts.Contract.OnOffered |
( |
| ) |
|
|
protectedvirtual |
| virtual void Contracts.Contract.OnOfferExpired |
( |
| ) |
|
|
protectedvirtual |
| virtual void Contracts.Contract.OnRegister |
( |
| ) |
|
|
protectedvirtual |
| virtual void Contracts.Contract.OnSave |
( |
ConfigNode |
node | ) |
|
|
protectedvirtual |
| virtual void Contracts.Contract.OnUnregister |
( |
| ) |
|
|
protectedvirtual |
| virtual void Contracts.Contract.OnUpdate |
( |
| ) |
|
|
protectedvirtual |
| virtual void Contracts.Contract.OnWithdrawn |
( |
| ) |
|
|
protectedvirtual |
| virtual void Contracts.Contract.PenalizeCancellation |
( |
| ) |
|
|
protectedvirtual |
| virtual void Contracts.Contract.PenalizeFailure |
( |
| ) |
|
|
protectedvirtual |
| void Contracts.Contract.Register |
( |
| ) |
|
| void Contracts.Contract.RemoveParameter |
( |
int |
index | ) |
|
| void Contracts.Contract.RemoveParameter |
( |
string |
id | ) |
|
| void Contracts.Contract.RemoveParameter |
( |
Type |
type | ) |
|
| void Contracts.Contract.SendStateMessage |
( |
string |
title, |
|
|
string |
message, |
|
|
MessageSystemButton.MessageButtonColor |
color, |
|
|
MessageSystemButton.ButtonIcons |
icon |
|
) |
| |
|
protected |
| void Contracts.Contract.SetDeadlineDays |
( |
float |
days, |
|
|
CelestialBody |
body = null |
|
) |
| |
|
protected |
| void Contracts.Contract.SetDeadlineYears |
( |
float |
years, |
|
|
CelestialBody |
body = null |
|
) |
| |
|
protected |
| void Contracts.Contract.SetExpiry |
( |
| ) |
|
|
protected |
| void Contracts.Contract.SetExpiry |
( |
float |
minDays, |
|
|
float |
maxDays |
|
) |
| |
|
protected |
| void Contracts.Contract.SetExpiry |
( |
int |
minDays, |
|
|
int |
maxDays |
|
) |
| |
|
protected |
| void Contracts.Contract.SetFunds |
( |
float |
advance, |
|
|
float |
completion, |
|
|
CelestialBody |
body = null |
|
) |
| |
|
protected |
| void Contracts.Contract.SetFunds |
( |
float |
advance, |
|
|
float |
completion, |
|
|
float |
failure, |
|
|
CelestialBody |
body = null |
|
) |
| |
|
protected |
| void Contracts.Contract.SetReputation |
( |
float |
completion, |
|
|
CelestialBody |
body = null |
|
) |
| |
|
protected |
| void Contracts.Contract.SetReputation |
( |
float |
completion, |
|
|
float |
failure, |
|
|
CelestialBody |
body = null |
|
) |
| |
|
protected |
| void Contracts.Contract.SetScience |
( |
float |
completion, |
|
|
CelestialBody |
body = null |
|
) |
| |
|
protected |
| void Contracts.Contract.Unregister |
( |
| ) |
|
| void Contracts.Contract.Update |
( |
| ) |
|
| void Contracts.Contract.Withdraw |
( |
| ) |
|
| Agent Contracts.Contract.agent |
|
protected |
| bool Contracts.Contract.AutoAccept |
| double Contracts.Contract.dateAccepted |
|
protected |
| double Contracts.Contract.dateDeadline |
|
protected |
| double Contracts.Contract.dateExpire |
|
protected |
| double Contracts.Contract.dateFinished |
|
protected |
| double Contracts.Contract.FundsAdvance |
| double Contracts.Contract.FundsCompletion |
| double Contracts.Contract.FundsFailure |
| float Contracts.Contract.ReputationCompletion |
| float Contracts.Contract.ReputationFailure |
| float Contracts.Contract.ScienceCompletion |
| double Contracts.Contract.TimeDeadline |
| double Contracts.Contract.TimeExpiry |
| Agent Contracts.Contract.Agent |
|
get |
| Guid Contracts.Contract.ContractGuid |
|
get |
| long Contracts.Contract.ContractID |
|
get |
| int Contracts.Contract.contractsInExistance |
|
staticget |
| double Contracts.Contract.DateAccepted |
|
get |
| double Contracts.Contract.DateDeadline |
|
get |
| double Contracts.Contract.DateExpire |
|
get |
| double Contracts.Contract.DateFinished |
|
get |
| string Contracts.Contract.Description |
|
get |
| double Contracts.Contract.GameTime |
|
staticgetprotected |
| List<string> Contracts.Contract.Keywords |
|
get |
| List<string> Contracts.Contract.KeywordsRequired |
|
get |
| int Contracts.Contract.MissionSeed |
|
get |
| string Contracts.Contract.Notes |
|
get |
| int Contracts.Contract.ParameterCount |
|
get |
| IContractParameterHost Contracts.Contract.Parent |
|
get |
| string Contracts.Contract.Synopsys |
|
get |
| string Contracts.Contract.Title |
|
get |
The documentation for this class was generated from the following file: