Class TechnologyNode
- Namespace
- KSP.Research
- Assembly
- Assembly-CSharp.dll
[Obsolete("System has been replaced by KSP.Game.Science.RDCenterUIController")]
public class TechnologyNode : KerbalMonoBehaviour
- Inheritance
-
TechnologyNode
- Inherited Members
-
- Extension Methods
-
Constructors
TechnologyNode()
Fields
BindRoot
public ContextBindRoot BindRoot
Field Value
- ContextBindRoot
Children
[DataList("technology.children")]
public List<TechnologyNode> Children
Field Value
- List<TechnologyNode>
Description
public Property<string> Description
Field Value
- Property<string>
Icon
public Property<Sprite> Icon
Field Value
- Property<Sprite>
Id
public Property<string> Id
Field Value
- Property<string>
Name
public Property<string> Name
Field Value
- Property<string>
Parents
[DataList("technology.parents")]
public List<TechnologyNode> Parents
Field Value
- List<TechnologyNode>
PrerequisiteLogic
[DataProperty("technology.prerequisiteLogic")]
public Property<PrerequisiteLogicType> PrerequisiteLogic
Field Value
- Property<PrerequisiteLogicType>
Prerequisites
[DataList("technology.prerequisites")]
public List<string> Prerequisites
Field Value
- List<string>
ScienceCost
public Property<int> ScienceCost
Field Value
- Property<int>
TechnologyCategory
[DataProperty("technology.technologyCategory")]
public Property<TechnologyCategoryType> TechnologyCategory
Field Value
- Property<TechnologyCategoryType>
TechnologyIcon
public Image TechnologyIcon
Field Value
- Image
TechnologyVisibility
[DataProperty("technology.technologyVisibility")]
public Property<TechnologyVisibilityType> TechnologyVisibility
Field Value
- Property<TechnologyVisibilityType>
UpdateUI
public UnityAction UpdateUI
Field Value
- UnityAction
Properties
Parent
public TechnologyNode Parent { get; }
Property Value
- TechnologyNode
Methods
AddChild(TechnologyNode)
public void AddChild(TechnologyNode techNode)
Parameters
techNode TechnologyNode
AddParent(TechnologyNode)
public void AddParent(TechnologyNode techNode)
Parameters
techNode TechnologyNode
CheckIfTechnologyNodeIsPurchasable()
public void CheckIfTechnologyNodeIsPurchasable()
InitializeTechNode(Technology)
public void InitializeTechNode(Technology techData)
Parameters
techData Technology
RemoveChild(TechnologyNode)
public bool RemoveChild(TechnologyNode techNode)
Parameters
techNode TechnologyNode
Returns
- bool
SelectNode(bool)
public void SelectNode(bool isSelected)
Parameters
isSelected bool
UnlockTechnology()
public void UnlockTechnology()
UpdateTechNodeVisibilityAndInteraction()
public void UpdateTechNodeVisibilityAndInteraction()