lampac/Shared/Models/Online/Settings/VokinoSettings.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
835 B
C#

using Shared.Models.Base;
using Shared.Models.Online.VoKino;
namespace Shared.Models.Online.Settings
{
public class VokinoSettings : BaseSettings, ICloneable
{
public VokinoSettings(string plugin, string host, bool streamproxy, bool rip = false)
{
this.streamproxy = streamproxy;
this.plugin = plugin;
this.rip = rip;
if (host != null)
this.host = host.StartsWith("http") ? host : Decrypt(host);
}
public bool onlyBalancerName { get; set; }
public ViewOnline online { get; set; } = new ViewOnline();
public VokinoSettings Clone()
{
return (VokinoSettings)MemberwiseClone();
}
object ICloneable.Clone()
{
return MemberwiseClone();
}
}
}