mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-26 14:00:17 +00:00
...
This commit is contained in:
parent
3f37b3913e
commit
0b7492d6f8
1 changed files with 7 additions and 25 deletions
|
@ -13,15 +13,9 @@ namespace SanAndreasUnity.Utilities
|
||||||
public const string const_game_dir = "game_dir";
|
public const string const_game_dir = "game_dir";
|
||||||
|
|
||||||
|
|
||||||
public static string FileName
|
public static string FileName => "config.json";
|
||||||
{
|
|
||||||
get { return "config.json"; }
|
|
||||||
}
|
|
||||||
|
|
||||||
public static string UserFileName
|
public static string UserFileName => "config.user.json";
|
||||||
{
|
|
||||||
get { return "config.user.json"; }
|
|
||||||
}
|
|
||||||
|
|
||||||
public static string ConfigFilesDirectoryPath
|
public static string ConfigFilesDirectoryPath
|
||||||
{
|
{
|
||||||
|
@ -34,23 +28,11 @@ namespace SanAndreasUnity.Utilities
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static string FilePath
|
public static string FilePath => Path.Combine(ConfigFilesDirectoryPath, FileName);
|
||||||
{
|
|
||||||
get { return Path.Combine(ConfigFilesDirectoryPath, FileName); }
|
|
||||||
}
|
|
||||||
|
|
||||||
public static string UserFilePath
|
public static string UserFilePath => Path.Combine(ConfigFilesDirectoryPath, UserFileName);
|
||||||
{
|
|
||||||
get { return Path.Combine(ConfigFilesDirectoryPath, UserFileName); }
|
|
||||||
}
|
|
||||||
|
|
||||||
public static string GamePath
|
public static string GamePath => GetPath (const_game_dir);
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return GetPath (const_game_dir);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static string DataPath
|
public static string DataPath
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue