Table of Contents

Class TutorialsAndLessonsContextData

Namespace
KSP.UI
Assembly
Assembly-CSharp.dll
public class TutorialsAndLessonsContextData : ApiDataContext, IDisposable, IDataContext, IDataContextReadonly, IDataContextWritable
Inheritance
TutorialsAndLessonsContextData
Implements
Inherited Members
Extension Methods

Constructors

TutorialsAndLessonsContextData(SubTutorialsItem[], List<MissionData>, LessonIcon[], ProgressLessonIcon[])

public TutorialsAndLessonsContextData(SubTutorialsItem[] lessons, List<MissionData> completedlessons, LessonIcon[] lessonsIcons, ProgressLessonIcon[] progressLessonsIcons)

Parameters

lessons SubTutorialsItem[]
completedlessons List<MissionData>
lessonsIcons LessonIcon[]
progressLessonsIcons ProgressLessonIcon[]

Fields

FeatureImage

[DataProperty("featureImage")]
public PropertyReadonly<Sprite> FeatureImage

Field Value

PropertyReadonly<Sprite>

GroupDescription

[DataProperty("groupDescription")]
public PropertyReadonly<string> GroupDescription

Field Value

PropertyReadonly<string>

LessonsList

[DataList("lessons")]
public ContextListProperty<TutorialContextElement> LessonsList

Field Value

ContextListProperty<TutorialContextElement>

TutorialTitle

[DataProperty("tutorialTitle")]
public PropertyReadonly<string> TutorialTitle

Field Value

PropertyReadonly<string>

TutorialsList

[DataList("tutorials")]
public ContextListProperty<TutorialContextElement> TutorialsList

Field Value

ContextListProperty<TutorialContextElement>

UpdateContent

public UnityEvent UpdateContent

Field Value

UnityEvent

Methods

CloseSubMenu()

[DataAction("closeLessonsMenu")]
public void CloseSubMenu()

RefreshSubMenu()

public void RefreshSubMenu()