FunGame-Core/Library/Constant/FunGameInfo.cs
milimoe b25698d91b
服务器插件优化;物品添加魔法技能组,文本优化 (#100)
* 添加了 SQLHelperFactory;完善了物品的描述信息;一些代码风格修改

* 构造的物品默认 1 级;为服务器插件添加控制器;添加邮件发送器的工厂;在物品中添加魔法技能组
2024-11-13 09:18:58 +08:00

59 lines
2.7 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace Milimoe.FunGame.Core.Library.Constant
{
public class FunGameInfo
{
public enum FunGame
{
FunGame_Core,
FunGame_Core_Api,
FunGame_Console,
FunGame_Desktop,
FunGame_Server
}
public const string FunGame_CopyRight = @"©2024 Milimoe. 米粒的糖果屋";
/// <summary>
/// 添加-debug启动项将开启DebugMode仅适用于Desktop或Console
/// <para>目前支持禁用心跳检测功能</para>
/// </summary>
public static bool FunGame_DebugMode { get; set; } = false;
public const string FunGame_Core = "FunGame Core";
public const string FunGame_Core_Api = "FunGame Core Api";
public const string FunGame_Console = "FunGame Console";
public const string FunGame_Desktop = "FunGame Desktop";
public const string FunGame_Server = "FunGame Server Console";
public const string FunGame_Version = "v1.0";
public const string FunGame_VersionPatch = "";
public const string FunGameCoreTitle = @" _____ _ _ _ _ ____ _ __ __ _____ ____ ___ ____ _____
| ___| | | | \ | |/ ___| / \ | \/ | ____| / ___/ _ \| _ \| ____|
| |_ | | | | \| | | _ / _ \ | |\/| | _| | | | | | | |_) | _|
| _| | |_| | |\ | |_| |/ ___ \| | | | |___ | |__| |_| | _ <| |___
|_| \___/|_| \_|\____/_/ \_\_| |_|_____| \____\___/|_| \_\_____|
";
public const string FunGameServerTitle = @" _____ _ _ _ _ ____ _ __ __ _____ ____ _____ ______ _______ ____
| ___| | | | \ | |/ ___| / \ | \/ | ____| / ___|| ____| _ \ \ / / ____| _ \
| |_ | | | | \| | | _ / _ \ | |\/| | _| \___ \| _| | |_) \ \ / /| _| | |_) |
| _| | |_| | |\ | |_| |/ ___ \| | | | |___ ___) | |___| _ < \ V / | |___| _ <
|_| \___/|_| \_|\____/_/ \_\_| |_|_____| |____/|_____|_| \_\ \_/ |_____|_| \_\
";
public static string GetInfo(FunGame FunGameType)
{
string type = FunGameType switch
{
FunGame.FunGame_Core => FunGame_Core,
FunGame.FunGame_Core_Api => FunGame_Core_Api,
FunGame.FunGame_Console => FunGame_Console,
FunGame.FunGame_Desktop => FunGame_Desktop,
FunGame.FunGame_Server => FunGame_Server,
_ => ""
};
return type + " [版本: " + FunGame_Version + FunGame_VersionPatch + "]\n" + (type.Equals(FunGame_Desktop) ? @"©" : "(C)") + "2024 Milimoe. 保留所有权利\n";
}
}
}