Create streams in sandboxed environment
More...
Create streams in sandboxed environment
static object KSP.IO.IOUtils.DeserializeFromBinary |
( |
byte[] |
input | ) |
|
|
inlinestatic |
Deserialize a binary serialized object
- Parameters
-
- Returns
static string KSP.IO.IOUtils.GetFilePathFor |
( |
Type |
T, |
|
|
string |
file, |
|
|
Vessel |
flight = null |
|
) |
| |
|
inlinestatic |
Return the full path for a given filename, provided a class from the plugin.
PluginData/[.flights/FLIGHT_UUID/]assemblyname/file
- Parameters
-
T | A type from the calling plugin |
file | The desired filename (path information will be stripped) |
flight | The flight associated with this file |
- Returns
< Add filename
static byte [] KSP.IO.IOUtils.SerializeToBinary |
( |
object |
something | ) |
|
|
inlinestatic |
Serialize an object (same as using a BinaryFormatter).
- Parameters
-
- Returns
The documentation for this class was generated from the following file: