mirror of
https://gitee.com/cssfw/EasyTools.git
synced 2026-03-28 12:01:36 +08:00
16 lines
488 B
C#
16 lines
488 B
C#
using LabApi.Loader.Features.Paths;
|
|
using System;
|
|
using System.ComponentModel;
|
|
using System.IO;
|
|
|
|
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");
|
|
}
|
|
}
|