Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Protected Member Functions | List of all members
IntermediateTutorial Class Reference
Inheritance diagram for IntermediateTutorial:
METutorialScenario TutorialScenario ScenarioModule IConfigNode

Public Member Functions

override void OnLoad (ConfigNode node)
 
override void OnSave (ConfigNode node)
 
- Public Member Functions inherited from METutorialScenario
bool CanSkipCurrentTutorialOnNodeDragEnd (int countBeforeDrag)
 
void ClearFilter ()
 
void DragNodeHelper (Func< MEGUINodeIcon, bool > filterCriteria, string categoryName="")
 
void EnableAllTutorialPageButtons (bool enable)
 
void FilterNodes (bool add)
 
void FilterNodes (bool add, Func< MEGUINodeIcon, bool > criteria)
 
MEGUIParameter GetApplyScoreScoreParam ()
 
MEGUIParameter GetDialogMessageParam ()
 
MEGUIParameter GetFacilityParam ()
 
MEGUINode GetMEGUINode (int nodeIndex)
 
int GetMEGUINodeIndex (MEGUINode guiNode)
 
List< MEGUINodeGetMEGUINodes (string templateName)
 
MENode GetMENode (int nodeIndex)
 
List< MENodeGetMENodeByTemplateName (string nodeDefinition)
 
MEGUIParameter GetOrbitCelestialBody ()
 
MEGUIParameter GetScienceCelestialBodyParam ()
 
MEGUIParameter GetScienceExperimentParam ()
 
MEGUIParameter GetScienceIsEventNodeParam ()
 
MEGUIParameter GetScienceSituationParam ()
 
MEGUINode GetSelectedMEGUINode ()
 
MENode GetSelectedMENode ()
 
int GetSelectedNodeIndex ()
 
string GetSelectedNodeTemplateName ()
 
MEGUIParameter GetSituationParam ()
 
MEGUIParameter GetTimeNodeOperator ()
 
MEGUIParameter GetTimeNodeStartNode ()
 
MEGUIParameter GetTimeNodeTime ()
 
MEGUIParameter GetVesselDestroyedVesselParam ()
 
MEGUIParameter GetVesselLandedBiomes ()
 
MEGUIParameter GetVesselLandedCelestialBody ()
 
MEGUIParameter GetVesselLandedLocationType ()
 
MEGUIParameter GetVesselLandedSettings ()
 
MEGUIParameter GetVesselSettings ()
 
void HideAllTutorialSelectors ()
 
void HideTutorialSelection (MEGUIParameter parameter)
 
void HighlightNodeFiltered (bool highLight)
 
void LockCanvas (bool locked)
 
void LockNodeFilter (bool locked)
 
void LockNodeList (bool locked)
 
void LockNodeSettings (bool locked)
 
void LockSapParameters (NodeDefinition nodedefinition, params string[] excluded)
 
void RemoveDragHelper ()
 
void RemoveOnClickOnSearchListener ()
 Remove the searchFieldClickHandler.onPointerClick event More...
 
void ResetHighLightLink ()
 
void ResetNodeFilterMask ()
 
void ResetNodeListMask ()
 
void ResetNodeSettingsMask ()
 
void RestoreOnClickOnSearchListener ()
 Restore the searchFieldClickHandler.onPointerClick event More...
 
void SaveOnClickOnSearchListener ()
 Save the searchFieldClickHandler.onPointerClick event More...
 
void SetEditorLock ()
 
void ShowTutorialSelection (MEGUIParameter parameter)
 
- Public Member Functions inherited from ScenarioModule
void Load (ConfigNode node)
 
virtual void OnAwake ()
 
void Save (ConfigNode node)
 

Protected Member Functions

override void CreateTutorialPages ()
 
override string GetNextTutorialName ()
 
override void OnContinueButtonClick ()
 
override void OnDoneButtonClick ()
 
override void OnTutorialSetup ()
 
- Protected Member Functions inherited from METutorialScenario
TutorialPage AddTutorialPage (string pageId, string pageTitleLocId, string dialogLocId, KFSMStateChange onEnterCallback, BasicTutorial.TutorialButtonType pageType=BasicTutorial.TutorialButtonType.Next)
 
List< TutorialPageAddTutorialPage (TutorialPageConfig config)
 
MultiOptionDialog CreateDialog (BasicTutorial.TutorialButtonType pageType, string pageId, string loc)
 
void DestroyTutorialPage (TutorialPage page)
 
void EnableTutorialPageButton (bool enable, int index)
 
DialogGUIButton[] FindButtons (ref DialogGUIBase[] buttons)
 
MEGUIParameter GetLaunchSiteParam ()
 
MEGUIParameter GetParameter (string fieldid)
 
MEGUIParameter GetPartPickerParam ()
 
MEGUIParameter GetSubParameter (List< string > fieldsId)
 
virtual void GoToNextTutorial ()
 
void HighlightNode (int nodeIndex, bool active)
 
bool IsTutorialParameterSelected (MEGUIParameter parameter)
 
override void OnAssetSetup ()
 This is called before the tutorial assets are set up. Use this to change the asset settings on subclasses More...
 
void OnEnterEmpty (KFSMState state)
 
override void OnOnDestroy ()
 
override void OnTutorialSetup ()
 
- Protected Member Functions inherited from TutorialScenario
void CloseTutorialWindow (bool destroySelf=true)
 
DialogGUIBase[] CreateDialog (string pageId, string textLoc, DialogGUIButton button)
 
DialogGUIBase[] CreateDialog (string pageId, string textLoc, DialogGUIButton[] button)
 
DialogGUIBase[] CreateDialog (string pageId, string textLoc)
 
MultiOptionDialog CreateDoneDialog (string pageId, string textLoc)
 
MultiOptionDialog CreateMultiButtonDialog (string pageId, string textLoc, BasicTutorial.TutorialButtonType buttons)
 
MultiOptionDialog CreateNextDialog (string pageId, string textLoc)
 
MultiOptionDialog CreateNoButtonDialog (string pageId, string textLoc)
 
MultiOptionDialog CreateOkDialog (string pageId, string textLoc)
 
TutorialPage CreateTutorialPage (string pageId, string titleLoc, KFSMStateChange onEnterCallback)
 
string GetCurrentStateName ()
 
virtual void OnCloseButtonClick ()
 
virtual void OnNextButtonClick ()
 
virtual void OnOkButtonClick ()
 
void SetDialogRect (Rect r)
 

Additional Inherited Members

- Public Types inherited from METutorialScenario
enum  NodeDefinition {
  NodeDefinition.None = -1, NodeDefinition.StartNode = 0, NodeDefinition.CreateVessel = 1, NodeDefinition.Orbit = 2,
  NodeDefinition.VesselLanded = 3, NodeDefinition.ScienceExperiment = 4, NodeDefinition.DialogMessage = 5, NodeDefinition.DialogMessage2 = 6,
  NodeDefinition.VesselLanded2 = 7, NodeDefinition.TimeSinceNode = 8, NodeDefinition.ApplyScore = 9, NodeDefinition.Count
}
 used to access node with index based on : MissionEditorLogic.Instance.GetDisplayedNodes[(int)NodeDefinition] More...
 
enum  TutorialButtonType {
  TutorialButtonType.NoButton = 0x00, TutorialButtonType.Next = 0x01, TutorialButtonType.Ok = 0x02, TutorialButtonType.Done = 0x04,
  TutorialButtonType.Continue = 0x08
}
 bitwise expression More...
 
- Public Attributes inherited from METutorialScenario
bool complete
 
const string dialogMessageParam = "Expansions.Missions.Actions.ActionDialogMessage.message"
 
string lockId = "tutorial"
 
string stateName = "welcome"
 
- Public Attributes inherited from TutorialScenario
bool ExclusiveTutorial = true
 
string guiSkinName = "KSP window 1"
 
KerbalInstructor instructor
 
int instructorPortraitSize = 128
 
string instructorPrefabName = "Instructor_Wernher"
 
RenderTexture instructorTexture
 
GameObject mainlight
 
int textureBorderRadius = 124
 
string tutorialArrowPrefabName = "tutorialArrows"
 
string tutorialControlColorString = "#BADA55"
 
string tutorialHighlightColorString = "orange"
 
- Public Attributes inherited from ScenarioModule
ScenarioRunner runner
 
ProtoScenarioModule snapshot
 
List< GameScenestargetScenes
 
- Static Protected Member Functions inherited from METutorialScenario
static void ShowMissionPlayDialog ()
 
- Static Protected Member Functions inherited from TutorialScenario
static ConfigNode GetTutorialNode (string name)
 
- Protected Attributes inherited from METutorialScenario
const string applyScoreScoreParam = "Expansions.Missions.Actions.ActionMissionScore.score"
 
const string createVesselFacilityParam = "facility"
 
const string createVesselLaunchSiteParam = "launchSite"
 
const string createVesselLocationSettings = "location"
 
const string createVesselPartPicker = "requiredParts"
 
const string createVesselSettings = "Expansions.Missions.Actions.ActionCreateVessel.vesselSituation"
 
const string createVesselSituationParam = "situation"
 
const string orbitCelestialBodyParam = "Expansions.Missions.Tests.TestOrbit.missionOrbit"
 
const string scienceCelestialBody = "Expansions.Missions.Tests.TestScienceExperiment.biomeData"
 
const string scienceExperimentIsEventNode = "Expansions.Missions.MENode.isEvent"
 
const string scienceExperimentParam = "Expansions.Missions.Tests.TestScienceExperiment.experimentID"
 
const string scienceSituationParam = "Expansions.Missions.Tests.TestScienceExperiment.experimentSituation"
 
const string timeNodeNodeParam = "Expansions.Missions.Tests.TestTimeSinceNode.nodeID"
 
const string timeNodeOperatorParam = "Expansions.Missions.Tests.TestTimeSinceNode.comparisonOperator"
 
const string timeNodeTimeParam = "Expansions.Missions.Tests.TestTimeSinceNode.time"
 
MEBasicNodeListFilter
< MEGUINodeIcon
tutorialFilter_none = new MEBasicNodeListFilter<MEGUINodeIcon>("tutorial_None", a => false)
 
List< TutorialPagetutorialPages
 
const string vesselDestroyedVesselParam = "Expansions.Missions.Tests.TestVessel.vesselID"
 
const string vesselLandedCelestialBiomeParam = "biomeData"
 
const string vesselLandedCelestialBodyParam = "bodyData"
 
const string vesselLandedLocationTypeParam = "locationChoice"
 
const string vesselLandedSettings = "Expansions.Missions.Tests.TestVesselSituationLanded.locationSituation"
 
- Protected Attributes inherited from TutorialScenario
Rect avatarRect
 
TutorialPage currentPage
 
PopupDialog dialogDisplay
 
Rect dRect
 
Rect rect = new Rect(100f, 80f, 400f, 180f)
 
UISkinDef skin
 
TutorialFSM Tutorial
 
bool TutorialDialogEnabled = true
 If this is an "exclusive" tutorial, or if it is an advisory popup in a normal game. More...
 
- Properties inherited from ScenarioModule
int ClassID [get]
 
string ClassName [get]
 
BaseEventList Events [get]
 
BaseFieldList Fields [get]
 

Member Function Documentation

override void IntermediateTutorial.CreateTutorialPages ( )
inlineprotectedvirtual

Reimplemented from METutorialScenario.

override string IntermediateTutorial.GetNextTutorialName ( )
inlineprotectedvirtual

Reimplemented from METutorialScenario.

override void IntermediateTutorial.OnContinueButtonClick ( )
inlineprotectedvirtual

Reimplemented from TutorialScenario.

override void IntermediateTutorial.OnDoneButtonClick ( )
inlineprotectedvirtual

Reimplemented from TutorialScenario.

override void IntermediateTutorial.OnLoad ( ConfigNode  node)
inlinevirtual

Reimplemented from ScenarioModule.

override void IntermediateTutorial.OnSave ( ConfigNode  node)
inlinevirtual

Reimplemented from ScenarioModule.

override void IntermediateTutorial.OnTutorialSetup ( )
inlineprotectedvirtual

Reimplemented from TutorialScenario.


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