Files
Yae/src/GlobalVars.cs
2022-07-13 20:37:43 +08:00

22 lines
817 B
C#

using System.Diagnostics.CodeAnalysis;
using System.Reflection;
namespace YaeAchievement;
[SuppressMessage("Usage", "CA2211:非常量字段应当不可见")]
[SuppressMessage("ReSharper", "ConvertToConstant.Global")]
[SuppressMessage("ReSharper", "FieldCanBeMadeReadOnly.Global")]
public static class GlobalVars {
public static bool Verbose = false;
public static bool UnexpectedExit = true;
public static string GamePath = "";
public static Version AppVersion = Assembly.GetEntryAssembly()!.GetName().Version!;
public const string LibName = "YaeLib.dll";
public const string PipeName = "YaeAchievementPipe";
public const string BucketHost = "https://cn-cd-1259389942.file.myqcloud.com";
public const string ConfigFileName = "YaeAchievement.runtimeconfig.json";
}