KspData LoadKspFile T  Method (String, KspProcessor T ) KerbalData - KSP Data Unlocked!
Loads and de-serializes a KSP data files 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,
	KspProcessor<T> processor
)
where T : class, new()

Parameters

path
Type: OnlineSystem String
full path of file location
processor
Type: KerbalData.Serialization KspProcessor T 
processor instance to use for de-serialization
Type Parameters

T
model type to de-serialize to

Return Value

de-serialized object instance
See Also