2023-01-28 20:51:29 +08:00
|
|
|
|
global using GTA;
|
|
|
|
|
global using GTA.Native;
|
|
|
|
|
global using static GTA.Native.Function;
|
|
|
|
|
global using static GTA.Native.Hash;
|
|
|
|
|
global using static RageCoop.Client.Shared;
|
|
|
|
|
global using Console = GTA.Console;
|
2023-02-12 22:06:57 +08:00
|
|
|
|
global using static RageCoop.Core.Shared;
|
2023-01-28 20:51:29 +08:00
|
|
|
|
using System.IO;
|
2022-11-16 17:37:31 +08:00
|
|
|
|
|
|
|
|
|
namespace RageCoop.Client
|
|
|
|
|
{
|
2022-11-16 17:40:07 +08:00
|
|
|
|
internal static class Shared
|
2022-11-16 17:37:31 +08:00
|
|
|
|
{
|
|
|
|
|
public static string BasePath = "RageCoop";
|
|
|
|
|
public static string DataPath = Path.Combine(BasePath, "Data");
|
|
|
|
|
public static string LogPath = Path.Combine(DataPath, "RageCoop.Client.log");
|
2022-11-16 17:40:07 +08:00
|
|
|
|
public static string SettingsPath = Path.Combine(DataPath, "Setting.json");
|
2022-11-16 17:37:31 +08:00
|
|
|
|
|
|
|
|
|
public static string VehicleWeaponDataPath = Path.Combine(DataPath, "VehicleWeapons.json");
|
|
|
|
|
public static string WeaponFixDataPath = Path.Combine(DataPath, "WeaponFixes.json");
|
|
|
|
|
public static string WeaponInfoDataPath = Path.Combine(DataPath, "Weapons.json");
|
|
|
|
|
public static string AnimationsDataPath = Path.Combine(DataPath, "Animations.json");
|
|
|
|
|
|
|
|
|
|
public static string CefSubProcessPath = Path.Combine(BasePath, "SubProcess", "RageCoop.Client.CefHost.exe");
|
|
|
|
|
}
|
2022-11-16 17:40:07 +08:00
|
|
|
|
}
|