Beispiel #1
0
        public PixivSite()
        {
            var mangaIlluMenu = new MoeMenuItems(new MoeMenuItem("插画+动图"), new MoeMenuItem("漫画"));

            SubMenu.Add("最新/搜索", mangaIlluMenu); // 0
            SubMenu.Add("作者ID", mangaIlluMenu);  // 1

            var rankLv4Menu = new MoeMenuItems(null, "综合", "插画", "漫画", "动图");

            var ranSubMenu = IsR18 ? new MoeMenuItems(rankLv4Menu, "今日", "本周", "最受男性欢迎", "最受女性欢迎")
                : new MoeMenuItems(rankLv4Menu, "今日", "本周", "本月", "新人", "原创", "最受男性欢迎", "最受女性欢迎");

            var rankingMiten = new MoeMenuItem("排行", ranSubMenu)
            {
                Func = { ShowDatePicker = true, ShowKeyword = false }
            };

            SubMenu.Add(rankingMiten); // 2

            SupportState.IsSupportAccount = true;

            DownloadTypes.Add("原图", 4);
            DownloadTypes.Add("中图", 3);
            //DownloadTypes.Add("小图", 2);

            SupportState.IsSupportRating = false;
            SupportState.IsSupportSearchByImageLastId = true;
            SupportState.IsSupportSelectPixivRankNew  = true;
            SupportState.IsSupportSearchByAuthorId    = true;
            LoginPageUrl = "https://accounts.pixiv.net/login";
        }
Beispiel #2
0
 public MoeMenuItems(MoeMenuItems submenu, params string[] itemsNames)
 {
     foreach (var name in itemsNames)
     {
         Add(new MoeMenuItem(name, submenu));
     }
 }
Beispiel #3
0
 public void Add(string name, MoeMenuItems subMenu)
 {
     Add(new MoeMenuItem
     {
         MenuItemName = name,
         SubMenu      = subMenu
     });
 }
Beispiel #4
0
 public MoeMenuItem(string name, MoeMenuItems menu = null)
 {
     MenuItemName = name;
     if (menu != null)
     {
         SubMenu = menu;
     }
 }
Beispiel #5
0
        public BilibiliSite()
        {
            var sub = new MoeMenuItems(new MoeMenuItem("最新"), new MoeMenuItem("最热"));

            SubMenu.Add("画友", sub);
            SubMenu.Add("摄影(COS)", sub);
            SubMenu.Add("摄影(私服)", sub);

            SupportState.IsSupportRating = false;
            DownloadTypes.Add("原图", 4);
        }
Beispiel #6
0
        public MiniTokyoSite()
        {
            var lv3 = new MoeMenuItems(null, "最新", "最热");

            SubMenu.Add("壁纸", lv3);
            SubMenu.Add("扫描图", lv3);
            SubMenu.Add("手机壁纸", lv3);
            SubMenu.Add("Indy Art", lv3);

            DownloadTypes.Add("原图", 4);
        }
Beispiel #7
0
        public BilibiliSite()
        {
            var sub = new MoeMenuItems(new MoeMenuItem("最新"), new MoeMenuItem("最热"));

            SubMenu.Add("画友", sub);
            SubMenu.Add("摄影(COS)", sub);
            SubMenu.Add("摄影(私服)", sub);

            SupportState.IsSupportRating = false;
            DownloadTypes.Add("原图", 4);

            SupportState.IsSupportAccount     = true;
            SupportState.IsSupportThumbButton = true;
            SupportState.IsSupportStarButton  = true;
            LoginPageUrl = "https://passport.bilibili.com/login";
        }