|
override bool | Equals (object obj) |
|
override int | GetHashCode () |
|
string | GetNodeBodyParameterString () |
| Returns the string to be displayed when the parameter is displayed in the node body More...
|
|
void | Initialize (ProtoCrewMember kerbal, MENode node) |
|
bool | IsValid (ProtoCrewMember targetKerbal) |
| Does the passed kerbal match the stored one? If there is no stored one, then will also be true (any crew, any tourist, etc) if the passed in kerbal type is the type set (typeToShow) in the parameter. More...
|
|
void | Load (ConfigNode node) |
|
| MissionKerbal () |
|
| MissionKerbal (ProtoCrewMember kerbal, MENode node, UpdateNodeBodyUI updateNodeBodyUI, ProtoCrewMember.KerbalType typetoShow=ProtoCrewMember.KerbalType.Crew, bool showAnyKerbal=true, bool anyTextIsActiveKerbal=false) |
|
void | onKerbalAdded (ProtoCrewMember crew) |
|
void | onKerbalNameChange (ProtoCrewMember crew, string oldName, string newName) |
|
void | onKerbalRemoved (ProtoCrewMember crew) |
|
void | onKerbalStatusChange (ProtoCrewMember crew, ProtoCrewMember.RosterStatus prevStatus, ProtoCrewMember.RosterStatus newStatus) |
|
void | onKerbalTypeChange (ProtoCrewMember crew, ProtoCrewMember.KerbalType oldType, ProtoCrewMember.KerbalType newType) |
|
void | Save (ConfigNode node) |
|
void | setcurrentKerbalAvailable () |
| Will set the currently selected kerbal's roster status to available if one is selected. More...
|
|
List< MEGUIDropDownItem > | SetKerbalList () |
| Fills up the dropdown list for selecting kerbals with the available crew More...
|
|
List< MEGUIDropDownItem > | SetKerbalTypeList () |
| Fills up the dropdown list for selecting kerbal types More...
|
|
delegate void | UpdateNodeBodyUI () |
|
Expansions.Missions.MissionKerbal.MissionKerbal |
( |
| ) |
|
|
inline |
override bool Expansions.Missions.MissionKerbal.Equals |
( |
object |
obj | ) |
|
|
inline |
override int Expansions.Missions.MissionKerbal.GetHashCode |
( |
| ) |
|
|
inline |
string Expansions.Missions.MissionKerbal.GetNodeBodyParameterString |
( |
| ) |
|
|
inline |
Returns the string to be displayed when the parameter is displayed in the node body
- Returns
- String to be displayed when the parameter is displayed in the node body,
bool Expansions.Missions.MissionKerbal.IsValid |
( |
ProtoCrewMember |
targetKerbal | ) |
|
|
inline |
Does the passed kerbal match the stored one? If there is no stored one, then will also be true (any crew, any tourist, etc) if the passed in kerbal type is the type set (typeToShow) in the parameter.
- Parameters
-
targetKerbal | Kerbal to compare to |
- Returns
- True if the kerbal matches or this is set to AnyValid
void Expansions.Missions.MissionKerbal.Load |
( |
ConfigNode |
node | ) |
|
|
inline |
void Expansions.Missions.MissionKerbal.onKerbalAdded |
( |
ProtoCrewMember |
crew | ) |
|
|
inline |
void Expansions.Missions.MissionKerbal.onKerbalNameChange |
( |
ProtoCrewMember |
crew, |
|
|
string |
oldName, |
|
|
string |
newName |
|
) |
| |
|
inline |
void Expansions.Missions.MissionKerbal.onKerbalRemoved |
( |
ProtoCrewMember |
crew | ) |
|
|
inline |
void Expansions.Missions.MissionKerbal.Save |
( |
ConfigNode |
node | ) |
|
|
inline |
void Expansions.Missions.MissionKerbal.setcurrentKerbalAvailable |
( |
| ) |
|
|
inline |
Will set the currently selected kerbal's roster status to available if one is selected.
Fills up the dropdown list for selecting kerbals with the available crew
- Returns
Fills up the dropdown list for selecting kerbal types
- Returns
delegate void Expansions.Missions.MissionKerbal.UpdateNodeBodyUI |
( |
| ) |
|
bool Expansions.Missions.MissionKerbal.anyTextIsActiveKerbal |
If true will set the text to be "Active Kerbal" instead of Any Kerbal.
bool Expansions.Missions.MissionKerbal.showAllRosterStatus |
If true will override statusToShow and show ALL kerbals regardless of status.
bool Expansions.Missions.MissionKerbal.showAnyKerbal |
If true will add the "Any Kerbal" option to the dropdown list.
bool Expansions.Missions.MissionKerbal.showStrandedOnly |
If true will show stranded kerbals only.
The RosterStatus of kerbal's to show in the mission builder
bool Expansions.Missions.MissionKerbal.AnyValid |
|
getset |
Is any kerbal valid for comparisons
string Expansions.Missions.MissionKerbal.Name |
|
get |
Returns the name of the selected Kerbal. Or if none selected "Any Kerbal" - Localized
The KerbalType to show in the Kerbal List
The documentation for this class was generated from the following file: