Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
FileIO Class Reference
Inheritance diagram for FileIO:

Classes

class  Projects
 

Public Member Functions

delegate void LoadCallback (GameObject[] loaded)
 

Static Public Member Functions

static void CloseGUI ()
 
static void Load3d ()
 
static void Load3d (String _path)
 
static void Load3d (bool _makecol)
 
static void Load3d (bool _makecol, bool _save)
 
static void Load3d (bool _makecol, bool _save, LoadCallback usercallback)
 
static void Load3d (String _path, bool _makecol, bool _save)
 
static void Load3d (String _path, bool _makecol, bool _save, LoadCallback usercallback)
 
static void Loaded (bool success)
 
static void LoadHandle ()
 
static bool ProjectCreate (string name, string path)
 
static void ProjectRegister ()
 
static bool ProjectSilentCreate (string name, string path, bool replace)
 
static bool ProjectSilentLoad (string name, string path)
 
static void ProjectsMenu ()
 
static string ResolvePath (string filepath, string basepath, bool wwwload)
 
static void SaveMeshesToProject (GameObject[] gos, bool replace)
 
static void SaveTexturesToProject (Texture2D[] textures, bool replace)
 
static void SaveTextureToProject (Texture2D ct, bool replace)
 

Static Public Attributes

static string AppDataFolder =""
 
static string CurProjectFolder =""
 
static string CurProjectName =""
 
static List< Projectscurrentprojects
 
static DirectoryInfo dI = null
 
static string FBTitle = ""
 
static string FileExt = ""
 
static int GUIno = 0
 
static bool ignoreMaterials
 
static bool isProject =false
 
static GameObject[] LastLoaded
 
static string location = ""
 
static bool LOCKMOUSE =false
 
static int OS = 0
 
static string path = ""
 
static string PFolder =""
 Personal Folder i.e. MyDocs etc;. More...
 
static string projectdatafile ="ProjectData.xml"
 
static string projectfolderamend ="_(XProject)"
 
static GameObject ProjectGO
 
static string projectmeshext =".mesh"
 
static string projectmeshfolder ="Meshes"
 
static string projecttexturefolder ="Textures"
 
static string RootDir = "/"
 Stores Root Directory. More...
 
static string startFolder = ""
 

Member Function Documentation

static void FileIO.CloseGUI ( )
inlinestatic
static void FileIO.Load3d ( )
inlinestatic
static void FileIO.Load3d ( String  _path)
inlinestatic
static void FileIO.Load3d ( bool  _makecol)
inlinestatic
static void FileIO.Load3d ( bool  _makecol,
bool  _save 
)
inlinestatic
static void FileIO.Load3d ( bool  _makecol,
bool  _save,
LoadCallback  usercallback 
)
inlinestatic
static void FileIO.Load3d ( String  _path,
bool  _makecol,
bool  _save 
)
inlinestatic
static void FileIO.Load3d ( String  _path,
bool  _makecol,
bool  _save,
LoadCallback  usercallback 
)
inlinestatic
delegate void FileIO.LoadCallback ( GameObject[]  loaded)
static void FileIO.Loaded ( bool  success)
inlinestatic
static void FileIO.LoadHandle ( )
inlinestatic
static bool FileIO.ProjectCreate ( string  name,
string  path 
)
inlinestatic

!! overwite append project data to projectlistfile

static void FileIO.ProjectRegister ( )
inlinestatic
static bool FileIO.ProjectSilentCreate ( string  name,
string  path,
bool  replace 
)
inlinestatic
static bool FileIO.ProjectSilentLoad ( string  name,
string  path 
)
inlinestatic
static void FileIO.ProjectsMenu ( )
inlinestatic
static string FileIO.ResolvePath ( string  filepath,
string  basepath,
bool  wwwload 
)
inlinestatic
static void FileIO.SaveMeshesToProject ( GameObject[]  gos,
bool  replace 
)
inlinestatic
static void FileIO.SaveTexturesToProject ( Texture2D[]  textures,
bool  replace 
)
inlinestatic
static void FileIO.SaveTextureToProject ( Texture2D  ct,
bool  replace 
)
inlinestatic

Member Data Documentation

string FileIO.AppDataFolder =""
static
string FileIO.CurProjectFolder =""
static
string FileIO.CurProjectName =""
static
List<Projects> FileIO.currentprojects
static
DirectoryInfo FileIO.dI = null
static
string FileIO.FBTitle = ""
static
string FileIO.FileExt = ""
static
int FileIO.GUIno = 0
static
bool FileIO.ignoreMaterials
static
bool FileIO.isProject =false
static
GameObject [] FileIO.LastLoaded
static
string FileIO.location = ""
static
bool FileIO.LOCKMOUSE =false
static
int FileIO.OS = 0
static
string FileIO.path = ""
static
string FileIO.PFolder =""
static

Personal Folder i.e. MyDocs etc;.

string FileIO.projectdatafile ="ProjectData.xml"
static
string FileIO.projectfolderamend ="_(XProject)"
static
GameObject FileIO.ProjectGO
static
string FileIO.projectmeshext =".mesh"
static
string FileIO.projectmeshfolder ="Meshes"
static
string FileIO.projecttexturefolder ="Textures"
static
string FileIO.RootDir = "/"
static

Stores Root Directory.

string FileIO.startFolder = ""
static

The documentation for this class was generated from the following file: