Kerbal Space Program
1.12.4
|
Classes | |
class | ClickEvent< ButtonTypes, CrewListItem > |
Public Types | |
enum | ButtonTypes { ButtonTypes.X = 0, ButtonTypes.V = 1, ButtonTypes.X2 = 2 } |
enum | KerbalTypes { KerbalTypes.AVAILABLE = 0, KerbalTypes.BADASS = 1, KerbalTypes.EVA = 2, KerbalTypes.RECRUIT = 3, KerbalTypes.TOURIST = 4 } |
Public Member Functions | |
void | AddButtonInputDelegate (UnityAction< ButtonTypes, CrewListItem > del) |
float | GetCourage () |
ProtoCrewMember | GetCrewRef () |
string | GetName () |
float | GetStupidity () |
void | SetButton (ButtonTypes type) |
void | SetButtonEnabled (bool state, string disabledReasonTitle="", string disabledReasonCaption="") |
void | SetCrewRef (ProtoCrewMember crewRef) |
void | SetKerbal (ProtoCrewMember crew, KerbalTypes type) |
void | SetKerbalAsApplicableType (ProtoCrewMember crew) |
void | SetLabel (string label) |
void | SetName (string name) |
void | SetStats (ProtoCrewMember pcm) |
void | SetStats (float courage, float stupidity) |
void | SetTooltip (ProtoCrewMember crew) |
void | SetXP (ProtoCrewMember pcm) |
void | SetXP (string trait, float xp, int level) |
Public Attributes | |
UIStateButton | button |
bool | isEmpty = false |
TMPro.TextMeshProUGUI | kerbalName |
RawImage | kerbalSprite |
ClickEvent< ButtonTypes, CrewListItem > | onClick = new ClickEvent<ButtonTypes, CrewListItem>() |
uint | pUid = 0 |
TMPro.TextMeshProUGUI | xp_trait |
Properties | |
bool | MouseoverEnabled [get, set] |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
UIStateButton KSP.UI.CrewListItem.button |
bool KSP.UI.CrewListItem.isEmpty = false |
TMPro.TextMeshProUGUI KSP.UI.CrewListItem.kerbalName |
RawImage KSP.UI.CrewListItem.kerbalSprite |
ClickEvent<ButtonTypes, CrewListItem> KSP.UI.CrewListItem.onClick = new ClickEvent<ButtonTypes, CrewListItem>() |
uint KSP.UI.CrewListItem.pUid = 0 |
TMPro.TextMeshProUGUI KSP.UI.CrewListItem.xp_trait |
|
getset |