mirror of
https://github.com/lampame/lampac-ukraine.git
synced 2026-04-16 17:32:20 +00:00
43 lines
1.2 KiB
C#
43 lines
1.2 KiB
C#
using Newtonsoft.Json;
|
|
using Shared;
|
|
using Shared.Engine;
|
|
using Newtonsoft.Json.Linq;
|
|
using Shared;
|
|
using Shared.Models.Online.Settings;
|
|
using Shared.Models.Module;
|
|
|
|
using Newtonsoft.Json;
|
|
using Shared;
|
|
using Shared.Engine;
|
|
using Newtonsoft.Json.Linq;
|
|
|
|
namespace Unimay
|
|
{
|
|
public class ModInit
|
|
{
|
|
public static OnlinesSettings Unimay;
|
|
|
|
/// <summary>
|
|
/// модуль загружен
|
|
/// </summary>
|
|
public static void loaded(InitspaceModel initspace)
|
|
{
|
|
Unimay = new OnlinesSettings("Unimay", "https://api.unimay.media/v1", streamproxy: false, useproxy: false)
|
|
{
|
|
displayname = "Unimay",
|
|
displayindex = 0,
|
|
proxy = new Shared.Models.Base.ProxySettings()
|
|
{
|
|
useAuth = true,
|
|
username = "a",
|
|
password = "a",
|
|
list = new string[] { "socks5://IP:PORT" }
|
|
}
|
|
};
|
|
Unimay = ModuleInvoke.Conf("Unimay", Unimay).ToObject<OnlinesSettings>();
|
|
|
|
// Виводити "уточнити пошук"
|
|
AppInit.conf.online.with_search.Add("unimay");
|
|
}
|
|
}
|
|
} |