C# 클래스 MissionController.MissionGoal

A single mission goal.
상속: InstructionSet
파일 보기 프로젝트 열기: pweingardt/KSPMissionController 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
crewCount int
description String
doneOnce bool
id String
maxTotalMass double
minSeconds double
minTotalMass double
nonPermanent bool
optional bool
repeatable bool
reward int
throttleDown bool
vesselIndenpendent bool

공개 메소드들

메소드 설명
getType ( ) : String

Caption in the window for this mission goal

getValues ( Vessel vessel, GameEvent events ) : List

Returns all values related to this mission goal

isDone ( Vessel vessel, GameEvent events ) : bool

Checks, if this mission goal has been accomplished.

보호된 메소드들

메소드 설명
values ( Vessel v, GameEvent events ) : List

Returns an array of necessary values, like orbital parameters.

메소드 상세

getType() 공개 메소드

Caption in the window for this mission goal
public getType ( ) : String
리턴 String

getValues() 공개 메소드

Returns all values related to this mission goal
public getValues ( Vessel vessel, GameEvent events ) : List
vessel Vessel current vessel
events GameEvent
리턴 List

isDone() 공개 메소드

Checks, if this mission goal has been accomplished.
public isDone ( Vessel vessel, GameEvent events ) : bool
vessel Vessel current vessel
events GameEvent
리턴 bool

values() 보호된 메소드

Returns an array of necessary values, like orbital parameters.
protected values ( Vessel v, GameEvent events ) : List
v Vessel current vessel, might be null when in editor mode or in space center mode!
events GameEvent
리턴 List

프로퍼티 상세

crewCount 공개적으로 프로퍼티

The minimal crew count needed for this mission goal
public int crewCount
리턴 int

description 공개적으로 프로퍼티

The mission goals description
public String description
리턴 String

doneOnce 공개적으로 프로퍼티

Indicates that the mission goals has been finished once. Don't set this inside a mission file.
public bool doneOnce
리턴 bool

id 공개적으로 프로퍼티

Used to store finished mission goals. Do not set manually!
public String id
리턴 String

maxTotalMass 공개적으로 프로퍼티

public double maxTotalMass
리턴 double

minSeconds 공개적으로 프로퍼티

Minimal time for this mission goal in seconds.
public double minSeconds
리턴 double

minTotalMass 공개적으로 프로퍼티

The maximal and minimal total mass
public double minTotalMass
리턴 double

nonPermanent 공개적으로 프로퍼티

nonPermanent = false makes the mission goal a permanent condition to finish the mission goal. Use with caution.
public bool nonPermanent
리턴 bool

optional 공개적으로 프로퍼티

optional = true makes this mission goal optional
public bool optional
리턴 bool

repeatable 공개적으로 프로퍼티

If repeatable = true, this mission goals can be accomplished more than once.
public bool repeatable
리턴 bool

reward 공개적으로 프로퍼티

Optional reward for this specific mission goal
public int reward
리턴 int

throttleDown 공개적으로 프로퍼티

If true, the vessel needs to be throttled down in order to finish this mission goal
public bool throttleDown
리턴 bool

vesselIndenpendent 공개적으로 프로퍼티

If true it does not matter with which vessel this goal has been finished.
public bool vesselIndenpendent
리턴 bool