SecondBot/BSBshared/Json/JsonConfig.cs
Madpeter c7d8429eef new config value: HttpPublicUrlBase
used with the http interface.
2020-05-03 23:44:39 +01:00

45 lines
1.5 KiB
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace BetterSecondBotShared.Json
{
public class JsonConfig
{
// Required
public string userName { get; set; }
public string password { get; set; }
public string master { get; set; }
public string code { get; set; }
// Mixed
public bool allowRLV { get; set; }
public string DefaultSitUUID { get; set; }
public bool CommandsToConsole { get; set; }
public int MaxCommandHistory { get; set; }
public string RelayImToAvatar { get; set; }
// Discord
public string discordWebhookURL { get; set; }
public string discordGroupTarget { get; set; }
public bool DiscordFullServer { get; set; }
public string DiscordClientToken { get; set; }
public ulong DiscordServerID { get; set; }
public int DiscordServerImHistoryHours { get; set; }
// @home
public string[] homeRegion { get; set; }
public bool AtHomeSimOnly { get; set; }
public float AtHomeSimPosMaxRange { get; set; }
// HTTP interface
public bool EnableHttp { get; set; }
public int Httpport { get; set; }
public string Httpkey { get; set; }
public bool HttpRequireSigned { get; set; }
public string HttpHost { get; set; }
public bool HttpAsCnC { get; set; }
public string HttpPublicUrlBase { get; set; }
}
}