|
static void | LoadTechTitles (string filePath, Dictionary< string, string > dict) |
| Fills the tech title lookup dictionary More...
|
|
static void | LoadTechTitles (string filePath, Dictionary< string, string > dict, bool loadFromDatabase) |
| Fills the tech title lookup dictionary More...
|
|
static void | LoadTechTree (string filePath, List< ProtoRDNode > rdNodes, bool loadFromDatabase) |
|
static void | ReLoad (string filePath, bool loadFromDatabase) |
| Reload the TechTree. More...
|
|
ProtoTechNode KSP.UI.Screens.RDTechTree.FindTech |
( |
string |
requiredTechId | ) |
|
|
inline |
List<ProtoTechNode> KSP.UI.Screens.RDTechTree.GetCheapestUnavailableNodes |
( |
int |
tolerance | ) |
|
|
inline |
Get a list of still unavailable RnD Techs with the lowest possible cost plus a tolerance.
- Parameters
-
tolerance | An extra allowed difference in cost which would still include a node on the list. Use to group together nodes of slightly different costs. |
- Returns
List<ProtoTechNode> KSP.UI.Screens.RDTechTree.GetNextUnavailableNodes |
( |
| ) |
|
|
inline |
Get a list of all unavailable nodes which are one node away from being unlocked.
- Returns
GameObject KSP.UI.Screens.RDTechTree.GetRDScreenPrefab |
( |
| ) |
|
|
inline |
ConfigNode KSP.UI.Screens.RDTechTree.GetTreeConfigNode |
( |
| ) |
|
|
inline |
ProtoRDNode [] KSP.UI.Screens.RDTechTree.GetTreeNodes |
( |
| ) |
|
|
inline |
static void KSP.UI.Screens.RDTechTree.LoadTechTitles |
( |
string |
filePath, |
|
|
Dictionary< string, string > |
dict |
|
) |
| |
|
inlinestatic |
Fills the tech title lookup dictionary
- Parameters
-
static void KSP.UI.Screens.RDTechTree.LoadTechTitles |
( |
string |
filePath, |
|
|
Dictionary< string, string > |
dict, |
|
|
bool |
loadFromDatabase |
|
) |
| |
|
inlinestatic |
Fills the tech title lookup dictionary
- Parameters
-
filepath | |
dict | |
loadFromDatabase | If true will attempt to load from GameDatabase TechTree nodes, before falling back to the techtree cfg URL |
void KSP.UI.Screens.RDTechTree.LoadTechTree |
( |
string |
filePath, |
|
|
List< RDNode > |
rdNodes |
|
) |
| |
|
inline |
void KSP.UI.Screens.RDTechTree.LoadTechTree |
( |
string |
filePath, |
|
|
List< RDNode > |
rdNodes, |
|
|
bool |
loadFromDatabase |
|
) |
| |
|
inline |
void KSP.UI.Screens.RDTechTree.LoadTechTree |
( |
string |
filePath, |
|
|
List< ProtoRDNode > |
rdNodes |
|
) |
| |
|
inline |
static void KSP.UI.Screens.RDTechTree.LoadTechTree |
( |
string |
filePath, |
|
|
List< ProtoRDNode > |
rdNodes, |
|
|
bool |
loadFromDatabase |
|
) |
| |
|
inlinestatic |
void KSP.UI.Screens.RDTechTree.RefreshUI |
( |
| ) |
|
|
inline |
void KSP.UI.Screens.RDTechTree.ReLoad |
( |
| ) |
|
|
inline |
static void KSP.UI.Screens.RDTechTree.ReLoad |
( |
string |
filePath, |
|
|
bool |
loadFromDatabase |
|
) |
| |
|
inlinestatic |
Reload the TechTree.
- Parameters
-
filePath | The FilePath to load the tech tree from. By default this is HighLogic.CurrentGame.Parameters.Career.TechTreeUrl |
loadFromDatabase | If true will load from GameDatabase "TechTree" nodes. If false will load from filePath |
void KSP.UI.Screens.RDTechTree.SaveTechTree |
( |
List< RDNode > |
nodes, |
|
|
string |
filePath |
|
) |
| |
|
inline |
void KSP.UI.Screens.RDTechTree.SpawnTechTreeNodes |
( |
| ) |
|
|
inline |
void KSP.UI.Screens.RDTechTree.WipeTechTree |
( |
List< RDNode > |
nodes | ) |
|
|
inline |
string KSP.UI.Screens.RDTechTree.backupTechTreeUrl = "GameData/Squad/Resources/TechTree.cfg" |
|
static |
EventData<RDTechTree> KSP.UI.Screens.RDTechTree.OnTechTreeDespawn = new EventData<RDTechTree>("OnTechTreeDespawn") |
|
static |
EventData<RDTechTree> KSP.UI.Screens.RDTechTree.OnTechTreeSpawn = new EventData<RDTechTree>("OnTechTreeSpawn") |
|
static |
The documentation for this class was generated from the following file: