コード例 #1
0
        public MiguModule()
        {
            string authorName;

            try { authorName = BiliUtils.GetUserNameByUserId(35744708); }
            catch { authorName = "西井丶"; }
            SetInfo("咪咕音乐", authorName, "*****@*****.**", MiguMusicApi.Version, "使用咪咕音乐平台进行点歌~");
            this.GetType().GetProperty("IsPlaylistSupported", BindingFlags.SetProperty | BindingFlags.Public | BindingFlags.Instance).SetValue(this, true); // Enable Playlist Supporting
        }
コード例 #2
0
 public PluginMain()
 {
     this.PluginName = "咪咕喵块";
     try { this.PluginAuth = BiliUtils.GetUserNameByUserId(35744708); }
     catch { this.PluginAuth = "西井丶"; }
     this.PluginCont = "*****@*****.**";
     this.PluginDesc = "使用咪咕音乐平台进行点歌~";
     this.PluginVer  = MiguMusicApi.Version;
     base.Start();
 }