mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-16 16:37:48 +01:00
45 lines
880 B
C#
45 lines
880 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Flowframes.IO
|
|
{
|
|
class Paths
|
|
{
|
|
public const string framesDir = "frames";
|
|
public const string interpDir = "interp";
|
|
public const string chunksDir = "vchunks";
|
|
public const string scenesDir = "scenes";
|
|
|
|
public static void Init()
|
|
{
|
|
|
|
}
|
|
|
|
public static string GetDataPath ()
|
|
{
|
|
string path = Path.Combine(IOUtils.GetExeDir(), "FlowframesData");
|
|
Directory.CreateDirectory(path);
|
|
return path;
|
|
}
|
|
|
|
|
|
public static string GetPkgPath()
|
|
{
|
|
string path = Path.Combine(GetDataPath(), "pkgs");
|
|
Directory.CreateDirectory(path);
|
|
return path;
|
|
}
|
|
|
|
public static string GetLogPath()
|
|
{
|
|
string path = Path.Combine(GetDataPath(), "logs");
|
|
Directory.CreateDirectory(path);
|
|
return path;
|
|
}
|
|
}
|
|
}
|