![]() |
Kerbal Space Program
1.12.4
|
Static Public Member Functions | |
| static void | AppendAllText< T > (string data, string filename, Vessel flight=null) |
| Append a string to a file, or creates it if it doesn't exist. More... | |
| static KSP.IO.TextWriter | AppendText< T > (string filename, Vessel flight=null) |
| Open a stream that appends to a file. More... | |
| static KSP.IO.FileStream | Create< T > (string filename, Vessel flight=null) |
| Open a stream that creates a file. More... | |
| static KSP.IO.TextWriter | CreateText< T > (string filename, Vessel flight=null) |
| Open a stream that creates a file. More... | |
| static void | Delete< T > (string filename, Vessel flight=null) |
| Delete a file in your IO sandbox. More... | |
| static bool | Exists< T > (string filename, Vessel flight=null) |
| Find out if a file in your IO sandbox exists. More... | |
| static KSP.IO.FileStream | Open< T > (string filename, KSP.IO.FileMode mode, Vessel flight=null) |
| Open a stream that operates on a file. More... | |
| static KSP.IO.TextReader | OpenText< T > (string filename, Vessel flight=null) |
| Open a stream that operates on a file. More... | |
| static KSP.IO.FileStream | OpenWrite< T > (string filename, Vessel flight=null) |
| Open a stream that writes to a file. More... | |
| static byte[] | ReadAllBytes< T > (string filename, Vessel flight=null) |
| Read all the bytes from a file in your IO sandbox. More... | |
| static string[] | ReadAllLines< T > (string filename, Vessel flight=null) |
| Read all lines from a file in your IO sandbox. More... | |
| static string | ReadAllText< T > (string filename, Vessel flight=null) |
| Read all the text from a file in your IO sandbox. More... | |
| static void | WriteAllBytes< T > (byte[] data, string filename, Vessel flight=null) |
| Write a bunch of bytes to a file on disk More... | |
| static void | WriteAllLines< T > (string[] data, string filename, Vessel flight=null) |
| Write an array of strings to a file, with each string becoming a line. More... | |
| static void | WriteAllText< T > (string data, string filename, Vessel flight=null) |
| Write a string to a file. More... | |
|
inlinestatic |
Append a string to a file, or creates it if it doesn't exist.
| T | Class that is calling |
| filename | Filename to look for |
| flight | The flight to track |
| data | The string to store as a text file. |
|
inlinestatic |
Open a stream that appends to a file.
| T | Calling class |
| filename | The file to append to. |
| flight | A vessel that relates to the data about to be written. |
|
inlinestatic |
Open a stream that creates a file.
| T | Calling class |
| filename | The file to write to. |
| flight | A vessel that relates to the data about to be written. |
|
inlinestatic |
Open a stream that creates a file.
| T | Calling class |
| filename | The file to write to. |
| flight | A vessel that relates to the data about to be written. |
|
inlinestatic |
Delete a file in your IO sandbox.
| T | Class that is calling |
| filename | Filename to look for |
| flight | The flight to track |
|
inlinestatic |
Find out if a file in your IO sandbox exists.
| T | Class that is calling |
| filename | Filename to look for |
| flight | The flight to track |
|
inlinestatic |
Open a stream that operates on a file.
| T | Calling class |
| filename | The file to write to. |
| flight | A vessel that relates to the data about to be written. |
|
inlinestatic |
Open a stream that operates on a file.
| T | Calling class |
| filename | The file to write to. |
| flight | A vessel that relates to the data about to be written. |
|
inlinestatic |
Open a stream that writes to a file.
| T | Calling class |
| filename | The file to write to. |
| flight | A vessel that relates to the data about to be written. |
|
inlinestatic |
Read all the bytes from a file in your IO sandbox.
| T | Class that is calling |
| filename | Filename to look for |
| flight | The flight to track |
|
inlinestatic |
Read all lines from a file in your IO sandbox.
| T | Class that is calling |
| filename | Filename to look for |
| flight | The flight to track |
|
inlinestatic |
Read all the text from a file in your IO sandbox.
| T | Class that is calling |
| filename | Filename to look for |
| flight | The flight to track |
|
inlinestatic |
Write a bunch of bytes to a file on disk
| T | Class that is calling |
| filename | Filename to look for |
| flight | The flight to track |
| data | The bytes to store as a binary file |
|
inlinestatic |
Write an array of strings to a file, with each string becoming a line.
| T | Class that is calling |
| filename | Filename to look for |
| flight | The flight to track |
| data | strings to write as lines |
|
inlinestatic |
Write a string to a file.
| T | Class that is calling |
| filename | Filename to look for |
| flight | The flight to track |
| data | The string to store as a text file. |
1.8.7