Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Classes | Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Properties | List of all members
Expansions.Missions.Runtime.MissionsApp Class Reference
Inheritance diagram for Expansions.Missions.Runtime.MissionsApp:
KSP.UI.Screens.UIApp

Classes

class  MissionListItem
 class to store info about each mission in the app list More...
 

Public Member Functions

MissionsAppVesselInfo GetVesselListAppVesselInfo (uint persistentId)
 
void RefreshMissionRequested (Mission mission, bool changePositions=true)
 
void ResetVesselsCountsLists (Mission mission)
 Clears and resets all the statics and gameobjects for Vessels. Call when leaving the editor after completed building all vessels in the list.

Parameters
missionMission to reset counts for
More...
 
void SetVesselItemReadyIcon (VesselSituation vesselSituation, MissionsAppVesselInfo vesselInfo)
 Set the Vessel Item readyIcon (the tick box on the left side of the vessel header list item) Will also set the MissionsAppVesselInfo vesselLaunched More...
 
void UpdateLauncherButtonPlayAnim (float duration=5f)
 
void UpdateLauncherButtonStopAnim ()
 
- Public Member Functions inherited from KSP.UI.Screens.UIApp
virtual void Awake ()
 
void ForceAddToAppLauncher ()
 

Public Attributes

float refreshTimeToWait = 0.5f
 
- Public Attributes inherited from KSP.UI.Screens.UIApp
Animator appLauncherAnim
 
Texture appLauncherIcon
 

Static Public Attributes

static MissionsApp Instance
 

Protected Member Functions

override void DisplayApp ()
 
override
ApplicationLauncher.AppScenes 
GetAppScenes ()
 
override Vector3 GetAppScreenPos (Vector3 defaultAnchorPos)
 
override void HideApp ()
 
override bool OnAppAboutToStart ()
 
override void OnAppDestroy ()
 
override void OnAppInitialized ()
 
- Protected Member Functions inherited from KSP.UI.Screens.UIApp
void MouseInput_PointerEnter (PointerEventData eventData)
 
void MouseInput_PointerExit (PointerEventData eventData)
 
virtual void OnAppStarted ()
 
virtual void Reposition ()
 

Properties

MissionsAppVesselInfo CurrentVessel [get]
 This is the Current Vessel selected for building in the Editor More...
 
DictionaryValueList< string,
MissionListItem
MissionList [get]
 A dictionary of the Mission List shown during Flight Scene More...
 
MissionAppMode Mode [get]
 The current Mode of the MissionsApp More...
 
DictionaryValueList< uint,
UICascadingList.CascadingListItem
VesselList [get]
 A DictionaryValueList of the Vessel List shown during Editor Scene More...
 
- Properties inherited from KSP.UI.Screens.UIApp
bool appIsLive [get, set]
 
ApplicationLauncherButton appLauncherButton [get, set]
 
bool hover [get, set]
 
bool IsShowing [get]
 Is the App window visible on the screen More...
 
bool pinned [get, set]
 

Additional Inherited Members

- Protected Attributes inherited from KSP.UI.Screens.UIApp
int AppStartFrameDelay = 5
 The amount of frames to delay OnAppAboutToStart after the applauncher reports to be ready. Defaults to 5, should be enough to ensure all flight and scenario modules are loaded. Increase if necessary. More...
 
Callback defaultCallback = delegate { }
 
bool enableMutuallyExclusive = true
 
bool enableOnHover = true
 

Member Function Documentation

override void Expansions.Missions.Runtime.MissionsApp.DisplayApp ( )
inlineprotectedvirtual

Implements KSP.UI.Screens.UIApp.

override ApplicationLauncher.AppScenes Expansions.Missions.Runtime.MissionsApp.GetAppScenes ( )
inlineprotectedvirtual

Implements KSP.UI.Screens.UIApp.

override Vector3 Expansions.Missions.Runtime.MissionsApp.GetAppScreenPos ( Vector3  defaultAnchorPos)
inlineprotectedvirtual

Implements KSP.UI.Screens.UIApp.

MissionsAppVesselInfo Expansions.Missions.Runtime.MissionsApp.GetVesselListAppVesselInfo ( uint  persistentId)
inline
override void Expansions.Missions.Runtime.MissionsApp.HideApp ( )
inlineprotectedvirtual

Implements KSP.UI.Screens.UIApp.

override bool Expansions.Missions.Runtime.MissionsApp.OnAppAboutToStart ( )
inlineprotectedvirtual

Implements KSP.UI.Screens.UIApp.

override void Expansions.Missions.Runtime.MissionsApp.OnAppDestroy ( )
inlineprotectedvirtual

Implements KSP.UI.Screens.UIApp.

override void Expansions.Missions.Runtime.MissionsApp.OnAppInitialized ( )
inlineprotectedvirtual

Implements KSP.UI.Screens.UIApp.

void Expansions.Missions.Runtime.MissionsApp.RefreshMissionRequested ( Mission  mission,
bool  changePositions = true 
)
inline
void Expansions.Missions.Runtime.MissionsApp.ResetVesselsCountsLists ( Mission  mission)
inline

Clears and resets all the statics and gameobjects for Vessels. Call when leaving the editor after completed building all vessels in the list.

Parameters
missionMission to reset counts for

void Expansions.Missions.Runtime.MissionsApp.SetVesselItemReadyIcon ( VesselSituation  vesselSituation,
MissionsAppVesselInfo  vesselInfo 
)
inline

Set the Vessel Item readyIcon (the tick box on the left side of the vessel header list item) Will also set the MissionsAppVesselInfo vesselLaunched

Parameters
vesselSituationThe VesselSituation
vesselInfothe MissionsAppVesselInfo - can be null. If null will search the vesselList for it
void Expansions.Missions.Runtime.MissionsApp.UpdateLauncherButtonPlayAnim ( float  duration = 5f)
inline
void Expansions.Missions.Runtime.MissionsApp.UpdateLauncherButtonStopAnim ( )
inline

Member Data Documentation

MissionsApp Expansions.Missions.Runtime.MissionsApp.Instance
static
float Expansions.Missions.Runtime.MissionsApp.refreshTimeToWait = 0.5f

Property Documentation

MissionsAppVesselInfo Expansions.Missions.Runtime.MissionsApp.CurrentVessel
get

This is the Current Vessel selected for building in the Editor

DictionaryValueList<string, MissionListItem> Expansions.Missions.Runtime.MissionsApp.MissionList
get

A dictionary of the Mission List shown during Flight Scene

MissionAppMode Expansions.Missions.Runtime.MissionsApp.Mode
get

The current Mode of the MissionsApp

DictionaryValueList<uint, UICascadingList.CascadingListItem> Expansions.Missions.Runtime.MissionsApp.VesselList
get

A DictionaryValueList of the Vessel List shown during Editor Scene


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