MainForm - Mark 'GetDataPath', 'HasDataFolder' and 'CreateDataFolder' as Obsolete/Needs moving

This commit is contained in:
miku-666
2024-08-15 16:29:52 +02:00
parent 2751425113
commit 4935357333

View File

@@ -1539,16 +1539,19 @@ namespace PckStudio
e.CancelEdit = true;
}
[Obsolete("Move this")]
public string GetDataPath()
{
return Path.Combine(Path.GetDirectoryName(saveLocation), "Data");
}
[Obsolete("Move this")]
public bool HasDataFolder()
{
return Directory.Exists(GetDataPath());
}
[Obsolete("Move this")]
public bool CreateDataFolder()
{
if (!HasDataFolder())