KspData LoadKspFile T  Method (String, String) KerbalData - KSP Data Unlocked!
Loads and de-serializes a KSP data file into the requested type

Namespace: KerbalData
Assembly: KerbalData (in KerbalData.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static T LoadKspFile<T>(
	string path,
	string configSectionName = "kerbalData"
)
where T : class, new()

Parameters

path
Type: OnlineSystem String
full path of file location
configSectionName (Optional)
Type: OnlineSystem String
configuration section name to use for processor lookup
Type Parameters

T
model type to de-serialize to

Return Value

de-serialized object instance
See Also