lampac/Shared/Models/Online/Settings/CollapsSettings.cs
lampac-talks f843f04fd4 chore: initial commit 154.3
Signed-off-by: lampac-talks <lampac-talks@users.noreply.github.com>
2026-01-30 16:23:09 +03:00

35 lines
834 B
C#

using Shared.Models.Base;
namespace Shared.Models.Online.Settings
{
public class CollapsSettings : BaseSettings, ICloneable
{
public CollapsSettings(string plugin, string host, bool enable = true, bool streamproxy = false, bool two = false)
{
this.enable = enable;
this.plugin = plugin;
this.streamproxy = streamproxy;
this.two = two;
if (host != null)
this.host = host.StartsWith("http") ? host : Decrypt(host);
}
public bool two { get; set; }
public bool dash { get; set; }
public CollapsSettings Clone()
{
return (CollapsSettings)MemberwiseClone();
}
object ICloneable.Clone()
{
return MemberwiseClone();
}
}
}