Table of Contents
Class replacing the original functionality of FileIOUtil before BTD6 update 33.0
public static class FileIOHelper
Inheritance System.Object FileIOHelper
JSON Serializer settings used for methods in this class
public static readonly JsonSerializerSettings Settings;
Il2CppNewtonsoft.Json.JsonSerializerSettings
Same as the original FileIOUtil.sandboxRoot, INCLUDES A SLASH AT THE END
public static string sandboxRoot { get; }
Same as the original FileIOUtil.GetSandboxPath(), INCLUDES A SLASH AT THE END
public static string GetSandboxPath();
Same as the original FileIOUtil.LoadFile
public static string LoadFile(string fileName);
fileName
System.String
File name within the sandbox directory
Same as the original FileIOUtil.LoadObject
public static T LoadObject<T>(string fileName)
where T : Object;
T
fileName
System.String
File name within the sandbox directory
Same as the original FileIOUtil.SaveFile
public static void SaveFile(string fileName, string text);
fileName
System.String
File name within the sandbox directory
text
System.String
Text file contents to save
Saves an il2cpp object directly to the sandbox path like the original FileIOUtil.SaveObject
Will also create subdirectories as needed to save the file
public static void SaveObject(string fileName, Object data);
fileName
System.String
Name of file, extension included
data
Il2CppSystem.Object