lampac/Shared/Models/Online/Settings/RezkaSettings.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

48 lines
1.0 KiB
C#

using Shared.Models.Base;
namespace Shared.Models.Online.Settings
{
public class RezkaSettings : BaseSettings, ICloneable
{
public RezkaSettings(string plugin, string host, bool streamproxy = false)
{
enable = true;
this.plugin = plugin;
this.streamproxy = streamproxy;
if (host != null)
this.host = host.StartsWith("http") ? host : Decrypt(host);
}
public string login { get; set; }
public string passwd { get; set; }
public bool premium { get; set; }
public bool reserve { get; set; }
public string uacdn { get; set; }
public bool forceua { get; set; }
public bool xrealip { get; set; }
public bool xapp { get; set; }
public bool? ajax { get; set; }
public RezkaSettings Clone()
{
return (RezkaSettings)MemberwiseClone();
}
object ICloneable.Clone()
{
return MemberwiseClone();
}
}
}