Loads and de-serializes a KSP data files into the requested type
Namespace: KerbalDataAssembly: 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:
System 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 instanceSee Also