![]() |
Kerbal Space Program
1.12.4
|
Classes | |
| class | NodeTemplateName |
| used to access node with template name based on : MENode.basicNodeSource More... | |
Public Types | |
| 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 | |
| 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< GameScenes > | targetScenes |
Protected Member Functions | |
| TutorialPage | AddTutorialPage (string pageId, string pageTitleLocId, string dialogLocId, KFSMStateChange onEnterCallback, BasicTutorial.TutorialButtonType pageType=BasicTutorial.TutorialButtonType.Next) |
| List< TutorialPage > | AddTutorialPage (TutorialPageConfig config) |
| MultiOptionDialog | CreateDialog (BasicTutorial.TutorialButtonType pageType, string pageId, string loc) |
| virtual void | CreateTutorialPages () |
| void | DestroyTutorialPage (TutorialPage page) |
| void | EnableTutorialPageButton (bool enable, int index) |
| DialogGUIButton[] | FindButtons (ref DialogGUIBase[] buttons) |
| MEGUIParameter | GetLaunchSiteParam () |
| virtual string | GetNextTutorialName () |
| 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 | OnContinueButtonClick () |
| virtual void | OnDoneButtonClick () |
| virtual void | OnNextButtonClick () |
| virtual void | OnOkButtonClick () |
| void | SetDialogRect (Rect r) |
Static Protected Member Functions | |
| static void | ShowMissionPlayDialog () |
Static Protected Member Functions inherited from TutorialScenario | |
| static ConfigNode | GetTutorialNode (string name) |
Protected Attributes | |
| 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< TutorialPage > | tutorialPages |
| 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... | |
Additional Inherited Members | |
Properties inherited from ScenarioModule | |
| int | ClassID [get] |
| string | ClassName [get] |
| BaseEventList | Events [get] |
| BaseFieldList | Fields [get] |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
|
inlineprotected |
|
inlineprotectedvirtual |
Reimplemented in AdvancedTutorial, BasicTutorial, and IntermediateTutorial.
|
inlineprotected |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotectedvirtual |
Reimplemented in BasicTutorial, and IntermediateTutorial.
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotectedvirtual |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotectedvirtual |
This is called before the tutorial assets are set up. Use this to change the asset settings on subclasses
Reimplemented from TutorialScenario.
|
inlineprotected |
|
inlineprotectedvirtual |
Reimplemented from TutorialScenario.
|
inlineprotectedvirtual |
Reimplemented from TutorialScenario.
|
inline |
|
inline |
Remove the searchFieldClickHandler.onPointerClick event
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Restore the searchFieldClickHandler.onPointerClick event
|
inline |
Save the searchFieldClickHandler.onPointerClick event
|
inline |
|
inlinestaticprotected |
|
inline |
|
protected |
| bool METutorialScenario.complete |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| const string METutorialScenario.dialogMessageParam = "Expansions.Missions.Actions.ActionDialogMessage.message" |
| string METutorialScenario.lockId = "tutorial" |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| string METutorialScenario.stateName = "welcome" |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.7