mirror of
https://gitee.com/cssfw/EasyTools.git
synced 2026-03-28 12:01:36 +08:00
20 lines
590 B
C#
20 lines
590 B
C#
using LabApi.Loader.Features.Paths;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace EasyTools.Configs
|
|
{
|
|
public class DataBaseConfig
|
|
{
|
|
[Description("是否启用玩家数据储存系统")]
|
|
public bool database_enable { get; set; } = true;
|
|
[Description("数据库存储路径")]
|
|
public string database_path { get; set; } = Path.Combine(PathManager.Configs.FullName ?? Environment.CurrentDirectory, @"EasyTools.db");
|
|
}
|
|
}
|