-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfig.cs
More file actions
35 lines (30 loc) · 1.3 KB
/
Config.cs
File metadata and controls
35 lines (30 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// -----------------------------------------------------------------------
// <copyright file="Config.cs" company="Redforce04">
// Copyright (c) Redforce04. All rights reserved.
// Licensed under the CC BY-SA 3.0 license.
// </copyright>
// -----------------------------------------------------------------------
namespace BananaLibrary;
using System.ComponentModel;
using API.Interfaces;
/// <summary>
/// The main instance of the config.
/// </summary>
public sealed class Config : IConfig
{
/// <summary>
/// Gets or sets a value indicating whether Banana Library should be loaded.
/// </summary>
[Description("A boolean indicator that determines whether Banana Library should be loaded.")]
public bool IsEnabled { get; set; } = true;
/// <summary>
/// Gets or sets a value indicating whether Banana Library should output debug logs.
/// </summary>
[Description("A boolean indicator that determines whether Banana Library should output debug logs.")]
public bool Debug { get; set; } = false;
/// <summary>
/// Gets or sets a value indicating the currently active Banana Server.
/// </summary>
[Description("A string ID indicator that determines which Banana Server is currently running.")]
public string CurrentBananaServerId { get; set; } = string.Empty;
}