public Task Run(string typeCode, IReadOnlyDictionary <string, object> data)
        {
            switch (typeCode)
            {
            case "Api_SendPraise":
                _qQLightApi.Api_SendPraise(QQID: data["QQID"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_SendShake":
                _qQLightApi.Api_SendShake(QQID: data["QQID"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_Getbkn":
                var Api_GetbknResult =
                    _qQLightApi.Api_Getbkn(Cookies: data["Cookies"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetbknApiOut
                {
                    Result = Api_GetbknResult
                }));

            case "Api_Getbkn_Long":
                var Api_Getbkn_LongResult =
                    _qQLightApi.Api_Getbkn_Long(Cookies: data["Cookies"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_Getbkn_LongApiOut
                {
                    Result = Api_Getbkn_LongResult
                }));

            case "Api_QuitGroup":
                _qQLightApi.Api_QuitGroup(GroupID: data["GroupID"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_QuitDiscussGroup":
                _qQLightApi.Api_QuitDiscussGroup(GroupID: data["GroupID"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_SetSignature":
                _qQLightApi.Api_SetSignature(Signature: data["Signature"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_SetDiscussName":
                _qQLightApi.Api_SetDiscussName(DiscussGroupID: data["DiscussGroupID"].ToString(), Name: data["Name"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_SetGroupName":
                _qQLightApi.Api_SetGroupName(GroupID: data["GroupID"].ToString(), Name: data["Name"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_BanGroup":
                _qQLightApi.Api_BanGroup(GroupID: data["GroupID"].ToString(), IsBanGroup: Convert.ToBoolean(data["IsBanGroup"]), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_SetManager":
                _qQLightApi.Api_SetManager(GroupID: data["GroupID"].ToString(), QQID: data["QQID"].ToString(), IsManager: Convert.ToBoolean(data["IsManager"]), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_Ban":
                _qQLightApi.Api_Ban(GroupID: data["GroupID"].ToString(), QQ: data["QQ"].ToString(), time: Convert.ToInt32(data["time"]), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_SetAnony":
                _qQLightApi.Api_SetAnony(GroupID: data["GroupID"].ToString(), IsSetAnony: Convert.ToBoolean(data["IsSetAnony"]), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_RemoveMember":
                _qQLightApi.Api_RemoveMember(GroupID: data["GroupID"].ToString(), QQID: data["QQID"].ToString(), IsBan: Convert.ToBoolean(data["IsBan"]), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_RemoveGroup":
                _qQLightApi.Api_RemoveGroup(GroupID: data["GroupID"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_GetCookies":
                var Api_GetCookiesResult =
                    _qQLightApi.Api_GetCookies(AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetCookiesApiOut
                {
                    Result = Api_GetCookiesResult
                }));

            case "Api_GetQzoneToken":
                var Api_GetQzoneTokenResult =
                    _qQLightApi.Api_GetQzoneToken(AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetQzoneTokenApiOut
                {
                    Result = Api_GetQzoneTokenResult
                }));

            case "Api_GetQzoneCookies":
                var Api_GetQzoneCookiesResult =
                    _qQLightApi.Api_GetQzoneCookies(AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetQzoneCookiesApiOut
                {
                    Result = Api_GetQzoneCookiesResult
                }));

            case "Api_SendTaotao":
                var Api_SendTaotaoResult =
                    _qQLightApi.Api_SendTaotao(Str: data["Str"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_SendTaotaoApiOut
                {
                    Result = Api_SendTaotaoResult
                }));

            case "Api_GetLoginQQ":
                var Api_GetLoginQQResult =
                    _qQLightApi.Api_GetLoginQQ(AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetLoginQQApiOut
                {
                    Result = Api_GetLoginQQResult
                }));

            case "Api_GetPath":
                var Api_GetPathResult =
                    _qQLightApi.Api_GetPath(AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetPathApiOut
                {
                    Result = Api_GetPathResult
                }));

            case "Api_Error":
                var Api_ErrorResult =
                    _qQLightApi.Api_Error(Code: data["Code"].ToString(), Str: data["Str"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_ErrorApiOut
                {
                    Result = Api_ErrorResult
                }));

            case "Api_SendMsg":
                var Api_SendMsgResult =
                    _qQLightApi.Api_SendMsg(Type: Convert.ToInt32(data["Type"]), GroupID: data["GroupID"].ToString(), QQID: data["QQID"].ToString(), Msg: data["Msg"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_SendMsgApiOut
                {
                    Result = Api_SendMsgResult
                }));

            case "Api_SetGroupAdd":
                _qQLightApi.Api_SetGroupAdd(GroupID: data["GroupID"].ToString(), QQID: data["QQID"].ToString(), Seq: data["Seq"].ToString(), Type: Convert.ToInt32(data["Type"]), Reason: data["Reason"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_SetFriendAdd":
                _qQLightApi.Api_SetFriendAdd(QQID: data["QQID"].ToString(), Type: Convert.ToInt32(data["Type"]), Reason: data["Reason"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_SendLog":
                _qQLightApi.Api_SendLog(Type: data["Type"].ToString(), Msg: data["Msg"].ToString(), FontColor: Convert.ToInt32(data["FontColor"]), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_SetFriendName":
                _qQLightApi.Api_SetFriendName(QQID: data["QQID"].ToString(), Name: data["Name"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_DeleteFriend":
                _qQLightApi.Api_DeleteFriend(QQID: data["QQID"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_AddGroup":
                _qQLightApi.Api_AddGroup(GroupID: data["GroupID"].ToString(), 附加信息: data["附加信息"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_AddFriend":
                _qQLightApi.Api_AddFriend(QQID: data["QQID"].ToString(), Info: data["Info"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_JsonMusic":
                var Api_JsonMusicResult =
                    _qQLightApi.Api_JsonMusic(SongID: data["SongID"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_JsonMusicApiOut
                {
                    Result = Api_JsonMusicResult
                }));

            case "Api_GetGroupCard":
                var Api_GetGroupCardResult =
                    _qQLightApi.Api_GetGroupCard(GroupID: data["GroupID"].ToString(), QQID: data["QQID"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetGroupCardApiOut
                {
                    Result = Api_GetGroupCardResult
                }));

            case "Api_GetNick":
                var Api_GetNickResult =
                    _qQLightApi.Api_GetNick(QQID: data["QQID"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetNickApiOut
                {
                    Result = Api_GetNickResult
                }));

            case "Api_GetGroupName":
                var Api_GetGroupNameResult =
                    _qQLightApi.Api_GetGroupName(GroupID: data["GroupID"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetGroupNameApiOut
                {
                    Result = Api_GetGroupNameResult
                }));

            case "Api_GetSoftVersion":
                var Api_GetSoftVersionResult =
                    _qQLightApi.Api_GetSoftVersion(AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetSoftVersionApiOut
                {
                    Result = Api_GetSoftVersionResult
                }));

            case "Api_GetGroupIntroduce":
                var Api_GetGroupIntroduceResult =
                    _qQLightApi.Api_GetGroupIntroduce(GroupID: data["GroupID"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetGroupIntroduceApiOut
                {
                    Result = Api_GetGroupIntroduceResult
                }));

            case "Api_GetGroupOwner":
                var Api_GetGroupOwnerResult =
                    _qQLightApi.Api_GetGroupOwner(GroupID: data["GroupID"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetGroupOwnerApiOut
                {
                    Result = Api_GetGroupOwnerResult
                }));

            case "Api_SetGroupCard":
                _qQLightApi.Api_SetGroupCard(GroupID: data["GroupID"].ToString(), QQID: data["QQID"].ToString(), NewCard: data["NewCard"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_GetPraiseNum":
                var Api_GetPraiseNumResult =
                    _qQLightApi.Api_GetPraiseNum(QQID: data["QQID"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetPraiseNumApiOut
                {
                    Result = Api_GetPraiseNumResult
                }));

            case "Api_GetQQLevel":
                var Api_GetQQLevelResult =
                    _qQLightApi.Api_GetQQLevel(QQID: data["QQID"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetQQLevelApiOut
                {
                    Result = Api_GetQQLevelResult
                }));

            case "Api_SetNick":
                _qQLightApi.Api_SetNick(NewNick: data["NewNick"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_Taotaodolike":
                var Api_TaotaodolikeResult =
                    _qQLightApi.Api_Taotaodolike(QQID: data["QQID"].ToString(), URL: data["URL"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_TaotaodolikeApiOut
                {
                    Result = Api_TaotaodolikeResult
                }));

            case "Api_Taotaofeeds":
                var Api_TaotaofeedsResult =
                    _qQLightApi.Api_Taotaofeeds(QQID: data["QQID"].ToString(), URL: data["URL"].ToString(), Content: data["Content"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_TaotaofeedsApiOut
                {
                    Result = Api_TaotaofeedsResult
                }));

            case "Api_GetQQAge":
                var Api_GetQQAgeResult =
                    _qQLightApi.Api_GetQQAge(QQID: data["QQID"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetQQAgeApiOut
                {
                    Result = Api_GetQQAgeResult
                }));

            case "Api_GetQQSex":
                var Api_GetQQSexResult =
                    _qQLightApi.Api_GetQQSex(QQID: data["QQID"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetQQSexApiOut
                {
                    Result = Api_GetQQSexResult
                }));

            case "Api_GetFriendList":
                var Api_GetFriendListResult =
                    _qQLightApi.Api_GetFriendList(Cache: Convert.ToBoolean(data["Cache"]), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetFriendListApiOut
                {
                    Result = Api_GetFriendListResult
                }));

            case "Api_GetGroupList":
                var Api_GetGroupListResult =
                    _qQLightApi.Api_GetGroupList(Cache: Convert.ToBoolean(data["Cache"]), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetGroupListApiOut
                {
                    Result = Api_GetGroupListResult
                }));

            case "Api_GetGroupMemberList":
                var Api_GetGroupMemberListResult =
                    _qQLightApi.Api_GetGroupMemberList(GroupID: data["GroupID"].ToString(), Cache: Convert.ToBoolean(data["Cache"]), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetGroupMemberListApiOut
                {
                    Result = Api_GetGroupMemberListResult
                }));

            case "Api_GetQQInfo":
                var Api_GetQQInfoResult =
                    _qQLightApi.Api_GetQQInfo(QQID: data["QQID"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetQQInfoApiOut
                {
                    Result = Api_GetQQInfoResult
                }));

            case "Api_GetGroupInfo":
                var Api_GetGroupInfoResult =
                    _qQLightApi.Api_GetGroupInfo(GroupID: data["GroupID"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetGroupInfoApiOut
                {
                    Result = Api_GetGroupInfoResult
                }));

            case "Api_DeleteMsg":
                _qQLightApi.Api_DeleteMsg(Type: Convert.ToInt32(data["Type"]), GroupID: data["GroupID"].ToString(), QQID: data["QQID"].ToString(), MsgID: data["MsgID"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_SetQQState":
                _qQLightApi.Api_SetQQState(Type: Convert.ToInt32(data["Type"]), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_InviteFriend":
                _qQLightApi.Api_InviteFriend(GroupID: data["GroupID"].ToString(), QQID: data["QQID"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_GetQQInfo_v2":
                var Api_GetQQInfo_v2Result =
                    _qQLightApi.Api_GetQQInfo_v2(QQID: data["QQID"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetQQInfo_v2ApiOut
                {
                    Result = Api_GetQQInfo_v2Result
                }));

            case "CoUninitialize":
                _qQLightApi.CoUninitialize();
                return(Task.CompletedTask);

            case "CoInitialize":
                _qQLightApi.CoInitialize(pvReserved: Convert.ToInt32(data["pvReserved"]));
                return(Task.CompletedTask);

            case "Api_UpLoadPic":
                var Api_UpLoadPicResult =
                    _qQLightApi.Api_UpLoadPic(Type: Convert.ToInt32(data["Type"]), 对象: data["对象"].ToString(), Bin: data["Bin"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_UpLoadPicApiOut
                {
                    Result = Api_UpLoadPicResult
                }));

            case "Api_SetPluginState":
                var Api_SetPluginStateResult =
                    _qQLightApi.Api_SetPluginState(State: Convert.ToBoolean(data["State"]), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_SetPluginStateApiOut
                {
                    Result = Api_SetPluginStateResult
                }));

            case "Api_DeleteFile":
                _qQLightApi.Api_DeleteFile(群号: data["群号"].ToString(), 文件GUID: data["文件GUID"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_RepeatFile":
                _qQLightApi.Api_RepeatFile(来源对象: data["来源对象"].ToString(), 转发群号: data["转发群号"].ToString(), 文件GUID: data["文件GUID"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_ClearOffLineFile":
                _qQLightApi.Api_ClearOffLineFile(AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "WideCharToMultiByte":
                var WideCharToMultiByteResult =
                    _qQLightApi.WideCharToMultiByte(CodePage: Convert.ToInt32(data["CodePage"]), dwFlags: Convert.ToInt32(data["dwFlags"]), lpWideCharStr: Convert.FromBase64String(data["lpWideCharStr"].ToString()), cchWideChar: Convert.ToInt32(data["cchWideChar"]), lpMultiByteStr: data["lpMultiByteStr"].ToString(), cchMultiByte: Convert.ToInt32(data["cchMultiByte"]), lpDefaultChar: Convert.ToInt32(data["lpDefaultChar"]), lpUsedDefaultChar: Convert.ToInt32(data["lpUsedDefaultChar"]));
                return(_mahuaCenter.HandleMahuaOutput(new WideCharToMultiByteApiOut
                {
                    Result = WideCharToMultiByteResult
                }));

            default:
                throw new ArgumentOutOfRangeException(nameof(typeCode));
            }
        }
Ejemplo n.º 2
0
        public Task Run(string typeCode, IReadOnlyDictionary <string, object> data)
        {
            switch (typeCode)
            {
            case "Api_GetGtk_Bkn":
                var Api_GetGtk_BknResult =
                    _mpqApi.Api_GetGtk_Bkn(响应的QQ: data["响应的QQ"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetGtk_BknApiOut
                {
                    Result = Api_GetGtk_BknResult
                }));

            case "Api_GetBkn32":
                var Api_GetBkn32Result =
                    _mpqApi.Api_GetBkn32(响应的QQ: data["响应的QQ"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetBkn32ApiOut
                {
                    Result = Api_GetBkn32Result
                }));

            case "Api_GetLdw":
                var Api_GetLdwResult =
                    _mpqApi.Api_GetLdw(响应的QQ: data["响应的QQ"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetLdwApiOut
                {
                    Result = Api_GetLdwResult
                }));

            case "Api_GetRunPath":
                var Api_GetRunPathResult =
                    _mpqApi.Api_GetRunPath();
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetRunPathApiOut
                {
                    Result = Api_GetRunPathResult
                }));

            case "Api_GetOnlineQQlist":
                var Api_GetOnlineQQlistResult =
                    _mpqApi.Api_GetOnlineQQlist();
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetOnlineQQlistApiOut
                {
                    Result = Api_GetOnlineQQlistResult
                }));

            case "Api_GetQQlist":
                var Api_GetQQlistResult =
                    _mpqApi.Api_GetQQlist();
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetQQlistApiOut
                {
                    Result = Api_GetQQlistResult
                }));

            case "Api_GetSessionkey":
                var Api_GetSessionkeyResult =
                    _mpqApi.Api_GetSessionkey(响应的QQ: data["响应的QQ"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetSessionkeyApiOut
                {
                    Result = Api_GetSessionkeyResult
                }));

            case "Api_GetClientkey":
                var Api_GetClientkeyResult =
                    _mpqApi.Api_GetClientkey(响应的QQ: data["响应的QQ"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetClientkeyApiOut
                {
                    Result = Api_GetClientkeyResult
                }));

            case "Api_GetLongClientkey":
                var Api_GetLongClientkeyResult =
                    _mpqApi.Api_GetLongClientkey(响应的QQ: data["响应的QQ"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetLongClientkeyApiOut
                {
                    Result = Api_GetLongClientkeyResult
                }));

            case "Api_GetCookies":
                var Api_GetCookiesResult =
                    _mpqApi.Api_GetCookies(响应的QQ: data["响应的QQ"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetCookiesApiOut
                {
                    Result = Api_GetCookiesResult
                }));

            case "Api_GetPrefix":
                var Api_GetPrefixResult =
                    _mpqApi.Api_GetPrefix();
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetPrefixApiOut
                {
                    Result = Api_GetPrefixResult
                }));

            case "Api_Cache_NameCard":
                _mpqApi.Api_Cache_NameCard(群号: data["群号"].ToString(), QQ: data["QQ"].ToString(), 片: data["名片"].ToString());
                return(Task.CompletedTask);

            case "Api_DBan":
                _mpqApi.Api_DBan(响应的QQ: data["响应的QQ"].ToString(), QQ: data["QQ"].ToString());
                return(Task.CompletedTask);

            case "Api_Ban":
                _mpqApi.Api_Ban(响应的QQ: data["响应的QQ"].ToString(), QQ: data["QQ"].ToString());
                return(Task.CompletedTask);

            case "Api_Shutup":
                var Api_ShutupResult =
                    _mpqApi.Api_Shutup(响应的QQ: data["响应的QQ"].ToString(), 群号: data["群号"].ToString(), QQ: data["QQ"].ToString(), 时长: Convert.ToInt32(data["时长"]));
                return(_mahuaCenter.HandleMahuaOutput(new Api_ShutupApiOut
                {
                    Result = Api_ShutupResult
                }));

            case "Api_SetNotice":
                _mpqApi.Api_SetNotice(响应的QQ: data["响应的QQ"].ToString(), 群号: data["群号"].ToString(), 标题: data["标题"].ToString(), 内容: data["内容"].ToString());
                return(Task.CompletedTask);

            case "Api_GetNotice":
                var Api_GetNoticeResult =
                    _mpqApi.Api_GetNotice(响应的QQ: data["响应的QQ"].ToString(), 群号: data["群号"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetNoticeApiOut
                {
                    Result = Api_GetNoticeResult
                }));

            case "Api_GetNameCard":
                var Api_GetNameCardResult =
                    _mpqApi.Api_GetNameCard(响应的QQ: data["响应的QQ"].ToString(), 群号: data["群号"].ToString(), QQ: data["QQ"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetNameCardApiOut
                {
                    Result = Api_GetNameCardResult
                }));

            case "Api_SetNameCard":
                _mpqApi.Api_SetNameCard(响应的QQ: data["响应的QQ"].ToString(), 群号: data["群号"].ToString(), QQ: data["QQ"].ToString(), 片: data["名片"].ToString());
                return(Task.CompletedTask);

            case "Api_QuitDG":
                _mpqApi.Api_QuitDG(响应的QQ: data["响应的QQ"].ToString(), 讨论组ID: data["讨论组ID"].ToString());
                return(Task.CompletedTask);

            case "Api_DelFriend":
                var Api_DelFriendResult =
                    _mpqApi.Api_DelFriend(响应的QQ: data["响应的QQ"].ToString(), QQ: data["QQ"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_DelFriendApiOut
                {
                    Result = Api_DelFriendResult
                }));

            case "Api_Kick":
                var Api_KickResult =
                    _mpqApi.Api_Kick(响应的QQ: data["响应的QQ"].ToString(), 群号: data["群号"].ToString(), 对象: data["对象"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_KickApiOut
                {
                    Result = Api_KickResult
                }));

            case "Api_JoinGroup":
                _mpqApi.Api_JoinGroup(响应的QQ: data["响应的QQ"].ToString(), 群号: data["群号"].ToString(), 附加理由: data["附加理由"].ToString());
                return(Task.CompletedTask);

            case "Api_QuitGroup":
                _mpqApi.Api_QuitGroup(响应的QQ: data["响应的QQ"].ToString(), 群号: data["群号"].ToString());
                return(Task.CompletedTask);

            case "Api_UploadPic":
                var Api_UploadPicResult =
                    _mpqApi.Api_UploadPic(响应的QQ: data["响应的QQ"].ToString(), 参_上传类型: Convert.ToInt32(data["参_上传类型"]), 参_参考对象: data["参_参考对象"].ToString(), 参_图片数据: Convert.FromBase64String(data["参_图片数据"].ToString()));
                return(_mahuaCenter.HandleMahuaOutput(new Api_UploadPicApiOut
                {
                    Result = Api_UploadPicResult
                }));

            case "Api_GuidGetPicLink":
                var Api_GuidGetPicLinkResult =
                    _mpqApi.Api_GuidGetPicLink(图片GUID: data["图片GUID"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_GuidGetPicLinkApiOut
                {
                    Result = Api_GuidGetPicLinkResult
                }));

            case "Api_Reply":
                var Api_ReplyResult =
                    _mpqApi.Api_Reply(响应的QQ: data["响应的QQ"].ToString(), 信息类型: Convert.ToInt32(data["信息类型"]), 回复对象: data["回复对象"].ToString(), 内容: data["内容"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_ReplyApiOut
                {
                    Result = Api_ReplyResult
                }));

            case "Api_SendMsg":
                var Api_SendMsgResult =
                    _mpqApi.Api_SendMsg(响应的QQ: data["响应的QQ"].ToString(), 信息类型: Convert.ToInt32(data["信息类型"]), 参考子类型: Convert.ToInt32(data["参考子类型"]), 收信群_讨论组: data["收信群_讨论组"].ToString(), 收信对象: data["收信对象"].ToString(), 内容: data["内容"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_SendMsgApiOut
                {
                    Result = Api_SendMsgResult
                }));

            case "Api_Send":
                var Api_SendResult =
                    _mpqApi.Api_Send(封包内容: data["封包内容"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_SendApiOut
                {
                    Result = Api_SendResult
                }));

            case "Api_OutPut":
                var Api_OutPutResult =
                    _mpqApi.Api_OutPut(内容: data["内容"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_OutPutApiOut
                {
                    Result = Api_OutPutResult
                }));

            case "Api_IsEnable":
                var Api_IsEnableResult =
                    _mpqApi.Api_IsEnable();
                return(_mahuaCenter.HandleMahuaOutput(new Api_IsEnableApiOut
                {
                    Result = Api_IsEnableResult
                }));

            case "Api_Login":
                var Api_LoginResult =
                    _mpqApi.Api_Login(QQ: data["QQ"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_LoginApiOut
                {
                    Result = Api_LoginResult
                }));

            case "Api_Logout":
                _mpqApi.Api_Logout(QQ: data["QQ"].ToString());
                return(Task.CompletedTask);

            case "Api_Tea加密":
                var Api_Tea加密Result =
                    _mpqApi.Api_Tea加密(加密内容: data["加密内容"].ToString(), Key: data["Key"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_Tea加密ApiOut
                {
                    Result = Api_Tea加密Result
                }));

            case "Api_Tea解密":
                var Api_Tea解密Result =
                    _mpqApi.Api_Tea解密(解密内容: data["解密内容"].ToString(), Key: data["Key"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_Tea解密ApiOut
                {
                    Result = Api_Tea解密Result
                }));

            case "Api_GetNick":
                var Api_GetNickResult =
                    _mpqApi.Api_GetNick(QQ: data["QQ"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetNickApiOut
                {
                    Result = Api_GetNickResult
                }));

            case "Api_GetQQLevel":
                var Api_GetQQLevelResult =
                    _mpqApi.Api_GetQQLevel(QQ: data["QQ"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetQQLevelApiOut
                {
                    Result = Api_GetQQLevelResult
                }));

            case "Api_GNGetGid":
                var Api_GNGetGidResult =
                    _mpqApi.Api_GNGetGid(群号: data["群号"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_GNGetGidApiOut
                {
                    Result = Api_GNGetGidResult
                }));

            case "Api_GidGetGN":
                var Api_GidGetGNResult =
                    _mpqApi.Api_GidGetGN(群ID: data["群ID"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_GidGetGNApiOut
                {
                    Result = Api_GidGetGNResult
                }));

            case "Api_GetVersion":
                var Api_GetVersionResult =
                    _mpqApi.Api_GetVersion();
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetVersionApiOut
                {
                    Result = Api_GetVersionResult
                }));

            case "Api_GetVersionName":
                var Api_GetVersionNameResult =
                    _mpqApi.Api_GetVersionName();
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetVersionNameApiOut
                {
                    Result = Api_GetVersionNameResult
                }));

            case "Api_GetTimeStamp":
                var Api_GetTimeStampResult =
                    _mpqApi.Api_GetTimeStamp();
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetTimeStampApiOut
                {
                    Result = Api_GetTimeStampResult
                }));

            case "Api_GetLog":
                var Api_GetLogResult =
                    _mpqApi.Api_GetLog();
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetLogApiOut
                {
                    Result = Api_GetLogResult
                }));

            case "Api_IfBlock":
                var Api_IfBlockResult =
                    _mpqApi.Api_IfBlock(响应的QQ: data["响应的QQ"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_IfBlockApiOut
                {
                    Result = Api_IfBlockResult
                }));

            case "Api_GetAdminList":
                var Api_GetAdminListResult =
                    _mpqApi.Api_GetAdminList(响应的QQ: data["响应的QQ"].ToString(), 群号: data["群号"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetAdminListApiOut
                {
                    Result = Api_GetAdminListResult
                }));

            case "Api_AddTaotao":
                var Api_AddTaotaoResult =
                    _mpqApi.Api_AddTaotao(响应的QQ: data["响应的QQ"].ToString(), 内容: data["内容"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_AddTaotaoApiOut
                {
                    Result = Api_AddTaotaoResult
                }));

            case "Api_GetSign":
                var Api_GetSignResult =
                    _mpqApi.Api_GetSign(响应的QQ: data["响应的QQ"].ToString(), 对象: data["对象"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetSignApiOut
                {
                    Result = Api_GetSignResult
                }));

            case "Api_SetSign":
                var Api_SetSignResult =
                    _mpqApi.Api_SetSign(响应的QQ: data["响应的QQ"].ToString(), 内容: data["内容"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_SetSignApiOut
                {
                    Result = Api_SetSignResult
                }));

            case "Api_GetGroupListA":
                var Api_GetGroupListAResult =
                    _mpqApi.Api_GetGroupListA(响应的QQ: data["响应的QQ"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetGroupListAApiOut
                {
                    Result = Api_GetGroupListAResult
                }));

            case "Api_GetGroupListB":
                var Api_GetGroupListBResult =
                    _mpqApi.Api_GetGroupListB(响应的QQ: data["响应的QQ"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetGroupListBApiOut
                {
                    Result = Api_GetGroupListBResult
                }));

            case "Api_GetGroupMemberA":
                var Api_GetGroupMemberAResult =
                    _mpqApi.Api_GetGroupMemberA(响应的QQ: data["响应的QQ"].ToString(), 群号: data["群号"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetGroupMemberAApiOut
                {
                    Result = Api_GetGroupMemberAResult
                }));

            case "Api_GetGroupMemberB":
                var Api_GetGroupMemberBResult =
                    _mpqApi.Api_GetGroupMemberB(响应的QQ: data["响应的QQ"].ToString(), 群号: data["群号"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetGroupMemberBApiOut
                {
                    Result = Api_GetGroupMemberBResult
                }));

            case "Api_GetFriendList":
                var Api_GetFriendListResult =
                    _mpqApi.Api_GetFriendList(响应的QQ: data["响应的QQ"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetFriendListApiOut
                {
                    Result = Api_GetFriendListResult
                }));

            case "Api_GetQQAge":
                var Api_GetQQAgeResult =
                    _mpqApi.Api_GetQQAge(响应的QQ: data["响应的QQ"].ToString(), QQ: data["QQ"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetQQAgeApiOut
                {
                    Result = Api_GetQQAgeResult
                }));

            case "Api_GetAge":
                var Api_GetAgeResult =
                    _mpqApi.Api_GetAge(响应的QQ: data["响应的QQ"].ToString(), QQ: data["QQ"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetAgeApiOut
                {
                    Result = Api_GetAgeResult
                }));

            case "Api_GetPersonalProfile":
                var Api_GetPersonalProfileResult =
                    _mpqApi.Api_GetPersonalProfile(响应的QQ: data["响应的QQ"].ToString(), QQ: data["QQ"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetPersonalProfileApiOut
                {
                    Result = Api_GetPersonalProfileResult
                }));

            case "Api_GetEmail":
                var Api_GetEmailResult =
                    _mpqApi.Api_GetEmail(响应的QQ: data["响应的QQ"].ToString(), QQ: data["QQ"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetEmailApiOut
                {
                    Result = Api_GetEmailResult
                }));

            case "Api_GetGender":
                var Api_GetGenderResult =
                    _mpqApi.Api_GetGender(响应的QQ: data["响应的QQ"].ToString(), QQ: data["QQ"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetGenderApiOut
                {
                    Result = Api_GetGenderResult
                }));

            case "Api_SendTyping":
                var Api_SendTypingResult =
                    _mpqApi.Api_SendTyping(响应的QQ: data["响应的QQ"].ToString(), QQ: data["QQ"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_SendTypingApiOut
                {
                    Result = Api_SendTypingResult
                }));

            case "Api_SendShake":
                var Api_SendShakeResult =
                    _mpqApi.Api_SendShake(响应的QQ: data["响应的QQ"].ToString(), QQ: data["QQ"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_SendShakeApiOut
                {
                    Result = Api_SendShakeResult
                }));

            case "Api_GetRadomOnlineQQ":
                var Api_GetRadomOnlineQQResult =
                    _mpqApi.Api_GetRadomOnlineQQ();
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetRadomOnlineQQApiOut
                {
                    Result = Api_GetRadomOnlineQQResult
                }));

            case "Api_AddQQ":
                var Api_AddQQResult =
                    _mpqApi.Api_AddQQ(QQ: data["QQ"].ToString(), 密码: data["密码"].ToString(), 自动登录: Convert.ToBoolean(data["自动登录"]));
                return(_mahuaCenter.HandleMahuaOutput(new Api_AddQQApiOut
                {
                    Result = Api_AddQQResult
                }));

            case "Api_SetOLStatus":
                var Api_SetOLStatusResult =
                    _mpqApi.Api_SetOLStatus(响应的QQ: data["响应的QQ"].ToString(), 在线状态: Convert.ToInt32(data["在线状态"]), 状态附加信息: data["状态附加信息"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_SetOLStatusApiOut
                {
                    Result = Api_SetOLStatusResult
                }));

            case "Api_GetMC":
                var Api_GetMCResult =
                    _mpqApi.Api_GetMC();
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetMCApiOut
                {
                    Result = Api_GetMCResult
                }));

            case "Api_GroupInvitation":
                var Api_GroupInvitationResult =
                    _mpqApi.Api_GroupInvitation(响应的QQ: data["响应的QQ"].ToString(), 好友QQ: data["好友QQ"].ToString(), 群号: data["群号"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_GroupInvitationApiOut
                {
                    Result = Api_GroupInvitationResult
                }));

            case "Api_CreateDG":
                var Api_CreateDGResult =
                    _mpqApi.Api_CreateDG(响应的QQ: data["响应的QQ"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_CreateDGApiOut
                {
                    Result = Api_CreateDGResult
                }));

            case "Api_KickDG":
                var Api_KickDGResult =
                    _mpqApi.Api_KickDG(响应的QQ: data["响应的QQ"].ToString(), 讨论组ID: data["讨论组ID"].ToString(), 成员: data["成员"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_KickDGApiOut
                {
                    Result = Api_KickDGResult
                }));

            case "Api_DGInvitation":
                var Api_DGInvitationResult =
                    _mpqApi.Api_DGInvitation(响应的QQ: data["响应的QQ"].ToString(), 讨论组ID: data["讨论组ID"].ToString(), 成员组: data["成员组"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_DGInvitationApiOut
                {
                    Result = Api_DGInvitationResult
                }));

            case "Api_GetDGList":
                var Api_GetDGListResult =
                    _mpqApi.Api_GetDGList(响应的QQ: data["响应的QQ"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetDGListApiOut
                {
                    Result = Api_GetDGListResult
                }));

            case "Api_SendMusic":
                var Api_SendMusicResult =
                    _mpqApi.Api_SendMusic(响应的QQ: data["响应的QQ"].ToString(), 收信对象类型: Convert.ToInt32(data["收信对象类型"]), 收信对象所属群_讨论组: data["收信对象所属群_讨论组"].ToString(), 收信对象QQ: data["收信对象QQ"].ToString(), 音乐简介: data["音乐简介"].ToString(), 音乐播放页面连接: data["音乐播放页面连接"].ToString(), 音乐封面连接: data["音乐封面连接"].ToString(), 音乐文件直连连接: data["音乐文件直连连接"].ToString(), 曲名: data["曲名"].ToString(), 歌手名: data["歌手名"].ToString(), 音乐来源名: data["音乐来源名"].ToString(), 音乐来源图标连接: data["音乐来源图标连接"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_SendMusicApiOut
                {
                    Result = Api_SendMusicResult
                }));

            case "Api_SendObjectMsg":
                var Api_SendObjectMsgResult =
                    _mpqApi.Api_SendObjectMsg(响应的QQ: data["响应的QQ"].ToString(), 收信对象类型: Convert.ToInt32(data["收信对象类型"]), 收信对象所属群_讨论组: data["收信对象所属群_讨论组"].ToString(), 收信对象QQ: data["收信对象QQ"].ToString(), ObjectMsg: data["ObjectMsg"].ToString(), 结构子类型: Convert.ToInt32(data["结构子类型"]));
                return(_mahuaCenter.HandleMahuaOutput(new Api_SendObjectMsgApiOut
                {
                    Result = Api_SendObjectMsgResult
                }));

            case "Api_IsFriend":
                var Api_IsFriendResult =
                    _mpqApi.Api_IsFriend(响应的QQ: data["响应的QQ"].ToString(), 对象QQ: data["对象QQ"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new Api_IsFriendApiOut
                {
                    Result = Api_IsFriendResult
                }));

            default:
                throw new ArgumentOutOfRangeException(nameof(typeCode));
            }
        }
        public Task Run(string typeCode, IReadOnlyDictionary <string, object> data)
        {
            switch (typeCode)
            {
            case "CQ_sendPrivateMsg":
                var CQ_sendPrivateMsgResult =
                    _cqpApi.CQ_sendPrivateMsg(AuthCode: _cqpAuthCodeContainer.AuthCode, QQID: Convert.ToInt64(data["QQID"]), msg: data["msg"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new CQ_sendPrivateMsgApiOut
                {
                    Result = CQ_sendPrivateMsgResult
                }));

            case "CQ_sendGroupMsg":
                var CQ_sendGroupMsgResult =
                    _cqpApi.CQ_sendGroupMsg(AuthCode: _cqpAuthCodeContainer.AuthCode, 群号: Convert.ToInt64(data["群号"]), msg: data["msg"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new CQ_sendGroupMsgApiOut
                {
                    Result = CQ_sendGroupMsgResult
                }));

            case "CQ_sendDiscussMsg":
                var CQ_sendDiscussMsgResult =
                    _cqpApi.CQ_sendDiscussMsg(AuthCode: _cqpAuthCodeContainer.AuthCode, 讨论组号: Convert.ToInt64(data["讨论组号"]), msg: data["msg"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new CQ_sendDiscussMsgApiOut
                {
                    Result = CQ_sendDiscussMsgResult
                }));

            case "CQ_deleteMsg":
                var CQ_deleteMsgResult =
                    _cqpApi.CQ_deleteMsg(AuthCode: _cqpAuthCodeContainer.AuthCode, MsgId: Convert.ToInt64(data["MsgId"]));
                return(_mahuaCenter.HandleMahuaOutput(new CQ_deleteMsgApiOut
                {
                    Result = CQ_deleteMsgResult
                }));

            case "CQ_sendLikeV2":
                var CQ_sendLikeV2Result =
                    _cqpApi.CQ_sendLikeV2(AuthCode: _cqpAuthCodeContainer.AuthCode, QQID: Convert.ToInt64(data["QQID"]), times: Convert.ToInt32(data["times"]));
                return(_mahuaCenter.HandleMahuaOutput(new CQ_sendLikeV2ApiOut
                {
                    Result = CQ_sendLikeV2Result
                }));

            case "CQ_getCookies":
                var CQ_getCookiesResult =
                    _cqpApi.CQ_getCookies(AuthCode: _cqpAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new CQ_getCookiesApiOut
                {
                    Result = CQ_getCookiesResult
                }));

            case "CQ_getRecord":
                var CQ_getRecordResult =
                    _cqpApi.CQ_getRecord(AuthCode: _cqpAuthCodeContainer.AuthCode, file: data["file"].ToString(), outformat: data["outformat"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new CQ_getRecordApiOut
                {
                    Result = CQ_getRecordResult
                }));

            case "CQ_getCsrfToken":
                var CQ_getCsrfTokenResult =
                    _cqpApi.CQ_getCsrfToken(AuthCode: _cqpAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new CQ_getCsrfTokenApiOut
                {
                    Result = CQ_getCsrfTokenResult
                }));

            case "CQ_getAppDirectory":
                var CQ_getAppDirectoryResult =
                    _cqpApi.CQ_getAppDirectory(AuthCode: _cqpAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new CQ_getAppDirectoryApiOut
                {
                    Result = CQ_getAppDirectoryResult
                }));

            case "CQ_getLoginQQ":
                var CQ_getLoginQQResult =
                    _cqpApi.CQ_getLoginQQ(AuthCode: _cqpAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new CQ_getLoginQQApiOut
                {
                    Result = CQ_getLoginQQResult
                }));

            case "CQ_getLoginNick":
                var CQ_getLoginNickResult =
                    _cqpApi.CQ_getLoginNick(AuthCode: _cqpAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new CQ_getLoginNickApiOut
                {
                    Result = CQ_getLoginNickResult
                }));

            case "CQ_setGroupKick":
                var CQ_setGroupKickResult =
                    _cqpApi.CQ_setGroupKick(AuthCode: _cqpAuthCodeContainer.AuthCode, 群号: Convert.ToInt64(data["群号"]), QQID: Convert.ToInt64(data["QQID"]), 拒绝再加群: Convert.ToBoolean(data["拒绝再加群"]));
                return(_mahuaCenter.HandleMahuaOutput(new CQ_setGroupKickApiOut
                {
                    Result = CQ_setGroupKickResult
                }));

            case "CQ_setGroupBan":
                var CQ_setGroupBanResult =
                    _cqpApi.CQ_setGroupBan(AuthCode: _cqpAuthCodeContainer.AuthCode, 群号: Convert.ToInt64(data["群号"]), QQID: Convert.ToInt64(data["QQID"]), 禁言时间: Convert.ToInt64(data["禁言时间"]));
                return(_mahuaCenter.HandleMahuaOutput(new CQ_setGroupBanApiOut
                {
                    Result = CQ_setGroupBanResult
                }));

            case "CQ_setGroupAdmin":
                var CQ_setGroupAdminResult =
                    _cqpApi.CQ_setGroupAdmin(AuthCode: _cqpAuthCodeContainer.AuthCode, 群号: Convert.ToInt64(data["群号"]), QQID: Convert.ToInt64(data["QQID"]), 成为管理员: Convert.ToBoolean(data["成为管理员"]));
                return(_mahuaCenter.HandleMahuaOutput(new CQ_setGroupAdminApiOut
                {
                    Result = CQ_setGroupAdminResult
                }));

            case "CQ_setGroupSpecialTitle":
                var CQ_setGroupSpecialTitleResult =
                    _cqpApi.CQ_setGroupSpecialTitle(AuthCode: _cqpAuthCodeContainer.AuthCode, 群号: Convert.ToInt64(data["群号"]), QQID: Convert.ToInt64(data["QQID"]), 头衔: data["头衔"].ToString(), 过期时间: Convert.ToInt64(data["过期时间"]));
                return(_mahuaCenter.HandleMahuaOutput(new CQ_setGroupSpecialTitleApiOut
                {
                    Result = CQ_setGroupSpecialTitleResult
                }));

            case "CQ_setGroupWholeBan":
                var CQ_setGroupWholeBanResult =
                    _cqpApi.CQ_setGroupWholeBan(AuthCode: _cqpAuthCodeContainer.AuthCode, 群号: Convert.ToInt64(data["群号"]), 开启禁言: Convert.ToBoolean(data["开启禁言"]));
                return(_mahuaCenter.HandleMahuaOutput(new CQ_setGroupWholeBanApiOut
                {
                    Result = CQ_setGroupWholeBanResult
                }));

            case "CQ_setGroupAnonymousBan":
                var CQ_setGroupAnonymousBanResult =
                    _cqpApi.CQ_setGroupAnonymousBan(AuthCode: _cqpAuthCodeContainer.AuthCode, 群号: Convert.ToInt64(data["群号"]), 匿名: data["匿名"].ToString(), 禁言时间: Convert.ToInt64(data["禁言时间"]));
                return(_mahuaCenter.HandleMahuaOutput(new CQ_setGroupAnonymousBanApiOut
                {
                    Result = CQ_setGroupAnonymousBanResult
                }));

            case "CQ_setGroupAnonymous":
                var CQ_setGroupAnonymousResult =
                    _cqpApi.CQ_setGroupAnonymous(AuthCode: _cqpAuthCodeContainer.AuthCode, 群号: Convert.ToInt64(data["群号"]), 开启匿名: Convert.ToBoolean(data["开启匿名"]));
                return(_mahuaCenter.HandleMahuaOutput(new CQ_setGroupAnonymousApiOut
                {
                    Result = CQ_setGroupAnonymousResult
                }));

            case "CQ_setGroupCard":
                var CQ_setGroupCardResult =
                    _cqpApi.CQ_setGroupCard(AuthCode: _cqpAuthCodeContainer.AuthCode, 群号: Convert.ToInt64(data["群号"]), QQID: Convert.ToInt64(data["QQID"]), 新名片_昵称: data["新名片_昵称"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new CQ_setGroupCardApiOut
                {
                    Result = CQ_setGroupCardResult
                }));

            case "CQ_setGroupLeave":
                var CQ_setGroupLeaveResult =
                    _cqpApi.CQ_setGroupLeave(AuthCode: _cqpAuthCodeContainer.AuthCode, 群号: Convert.ToInt64(data["群号"]), 是否解散: Convert.ToBoolean(data["是否解散"]));
                return(_mahuaCenter.HandleMahuaOutput(new CQ_setGroupLeaveApiOut
                {
                    Result = CQ_setGroupLeaveResult
                }));

            case "CQ_setDiscussLeave":
                var CQ_setDiscussLeaveResult =
                    _cqpApi.CQ_setDiscussLeave(AuthCode: _cqpAuthCodeContainer.AuthCode, 讨论组号: Convert.ToInt64(data["讨论组号"]));
                return(_mahuaCenter.HandleMahuaOutput(new CQ_setDiscussLeaveApiOut
                {
                    Result = CQ_setDiscussLeaveResult
                }));

            case "CQ_setFriendAddRequest":
                var CQ_setFriendAddRequestResult =
                    _cqpApi.CQ_setFriendAddRequest(AuthCode: _cqpAuthCodeContainer.AuthCode, 请求反馈标识: data["请求反馈标识"].ToString(), 反馈类型: Convert.ToInt32(data["反馈类型"]), 备注: data["备注"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new CQ_setFriendAddRequestApiOut
                {
                    Result = CQ_setFriendAddRequestResult
                }));

            case "CQ_setGroupAddRequestV2":
                var CQ_setGroupAddRequestV2Result =
                    _cqpApi.CQ_setGroupAddRequestV2(AuthCode: _cqpAuthCodeContainer.AuthCode, 请求反馈标识: data["请求反馈标识"].ToString(), 请求类型: Convert.ToInt32(data["请求类型"]), 反馈类型: Convert.ToInt32(data["反馈类型"]), 理由: data["理由"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new CQ_setGroupAddRequestV2ApiOut
                {
                    Result = CQ_setGroupAddRequestV2Result
                }));

            case "CQ_addLog":
                var CQ_addLogResult =
                    _cqpApi.CQ_addLog(AuthCode: _cqpAuthCodeContainer.AuthCode, 优先级: Convert.ToInt32(data["优先级"]), 类型: data["类型"].ToString(), 内容: data["内容"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new CQ_addLogApiOut
                {
                    Result = CQ_addLogResult
                }));

            case "CQ_setFatal":
                var CQ_setFatalResult =
                    _cqpApi.CQ_setFatal(AuthCode: _cqpAuthCodeContainer.AuthCode, 错误信息: data["错误信息"].ToString());
                return(_mahuaCenter.HandleMahuaOutput(new CQ_setFatalApiOut
                {
                    Result = CQ_setFatalResult
                }));

            case "CQ_getGroupMemberInfoV2":
                var CQ_getGroupMemberInfoV2Result =
                    _cqpApi.CQ_getGroupMemberInfoV2(AuthCode: _cqpAuthCodeContainer.AuthCode, 群号: Convert.ToInt64(data["群号"]), QQID: Convert.ToInt64(data["QQID"]), 使用缓存: Convert.ToBoolean(data["不使用缓存"]));
                return(_mahuaCenter.HandleMahuaOutput(new CQ_getGroupMemberInfoV2ApiOut
                {
                    Result = CQ_getGroupMemberInfoV2Result
                }));

            case "CQ_getGroupMemberList":
                var CQ_getGroupMemberListResult =
                    _cqpApi.CQ_getGroupMemberList(AuthCode: _cqpAuthCodeContainer.AuthCode, 群号: Convert.ToInt64(data["群号"]));
                return(_mahuaCenter.HandleMahuaOutput(new CQ_getGroupMemberListApiOut
                {
                    Result = CQ_getGroupMemberListResult
                }));

            case "CQ_getGroupList":
                var CQ_getGroupListResult =
                    _cqpApi.CQ_getGroupList(AuthCode: _cqpAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new CQ_getGroupListApiOut
                {
                    Result = CQ_getGroupListResult
                }));

            case "CQ_getStrangerInfo":
                var CQ_getStrangerInfoResult =
                    _cqpApi.CQ_getStrangerInfo(AuthCode: _cqpAuthCodeContainer.AuthCode, QQID: Convert.ToInt64(data["QQID"]), 使用缓存: Convert.ToBoolean(data["不使用缓存"]));
                return(_mahuaCenter.HandleMahuaOutput(new CQ_getStrangerInfoApiOut
                {
                    Result = CQ_getStrangerInfoResult
                }));

            default:
                throw new ArgumentOutOfRangeException(nameof(typeCode));
            }
        }
        public Task Run(string typeCode, IReadOnlyDictionary <string, object> data)
        {
            switch (typeCode)
            {
            case "Api_SendPraise":
                _qQLightApi.Api_SendPraise(QQ号: data["QQ号"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_SendShake":
                _qQLightApi.Api_SendShake(QQ号: data["QQ号"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_Getbkn":
                var Api_GetbknResult =
                    _qQLightApi.Api_Getbkn(AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetbknApiOut
                {
                    Result = Api_GetbknResult
                }));

            case "Api_QuitGroup":
                _qQLightApi.Api_QuitGroup(群号: data["群号"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_QuitDiscussGroup":
                _qQLightApi.Api_QuitDiscussGroup(讨论组号: data["讨论组号"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_SetSignature":
                _qQLightApi.Api_SetSignature(个性签名: data["个性签名"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_SetDiscussName":
                _qQLightApi.Api_SetDiscussName(讨论组号: data["讨论组号"].ToString(), 称: data["名称"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_BanGroup":
                _qQLightApi.Api_BanGroup(群号: data["群号"].ToString(), 是否全群禁言: Convert.ToBoolean(data["是否全群禁言"]), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_RemoveGroup":
                _qQLightApi.Api_RemoveGroup(群号: data["群号"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_SetManager":
                _qQLightApi.Api_SetManager(群号: data["群号"].ToString(), QQ号: data["QQ号"].ToString(), 是否设置为管理员: Convert.ToBoolean(data["是否设置为管理员"]), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_Ban":
                _qQLightApi.Api_Ban(群号: data["群号"].ToString(), QQ: data["QQ"].ToString(), 禁言时长: Convert.ToInt32(data["禁言时长"]), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_SetAnony":
                _qQLightApi.Api_SetAnony(群号: data["群号"].ToString(), 是否允许匿名聊天: Convert.ToBoolean(data["是否允许匿名聊天"]), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_RemoveMember":
                _qQLightApi.Api_RemoveMember(群号: data["群号"].ToString(), QQ号: data["QQ号"].ToString(), 是否不再接收加群申请: Convert.ToBoolean(data["是否不再接收加群申请"]), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_GetCookies":
                var Api_GetCookiesResult =
                    _qQLightApi.Api_GetCookies(AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetCookiesApiOut
                {
                    Result = Api_GetCookiesResult
                }));

            case "Api_GetClientKey":
                var Api_GetClientKeyResult =
                    _qQLightApi.Api_GetClientKey(AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetClientKeyApiOut
                {
                    Result = Api_GetClientKeyResult
                }));

            case "Api_GetLoginQQ":
                var Api_GetLoginQQResult =
                    _qQLightApi.Api_GetLoginQQ(AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetLoginQQApiOut
                {
                    Result = Api_GetLoginQQResult
                }));

            case "Api_GetPluginState":
                var Api_GetPluginStateResult =
                    _qQLightApi.Api_GetPluginState(AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetPluginStateApiOut
                {
                    Result = Api_GetPluginStateResult
                }));

            case "Api_GetPath":
                var Api_GetPathResult =
                    _qQLightApi.Api_GetPath(AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetPathApiOut
                {
                    Result = Api_GetPathResult
                }));

            case "Api_SendMsg":
                _qQLightApi.Api_SendMsg(类型: Convert.ToInt32(data["类型"]), 群组: data["群组"].ToString(), QQ号: data["QQ号"].ToString(), 内容: data["内容"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_SetGroupAdd":
                _qQLightApi.Api_SetGroupAdd(群号: data["群号"].ToString(), QQ号: data["QQ号"].ToString(), Seq: data["Seq"].ToString(), 操作方式: Convert.ToInt32(data["操作方式"]), 拒绝理由: data["拒绝理由"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_SetFriendAdd":
                _qQLightApi.Api_SetFriendAdd(QQ号: data["QQ号"].ToString(), 操作方式: Convert.ToInt32(data["操作方式"]), 拒绝理由: data["拒绝理由"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_SendLog":
                _qQLightApi.Api_SendLog(类型: data["类型"].ToString(), 内容: data["内容"].ToString(), 字体颜色: Convert.ToInt32(data["字体颜色"]), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_SetFriendName":
                _qQLightApi.Api_SetFriendName(好友QQ: data["好友QQ"].ToString(), 备注名: data["备注名"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_DeleteFriend":
                _qQLightApi.Api_DeleteFriend(好友QQ: data["好友QQ"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_AddGroup":
                _qQLightApi.Api_AddGroup(群号: data["群号"].ToString(), 附加信息: data["附加信息"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_AddFriend":
                _qQLightApi.Api_AddFriend(目标QQ: data["目标QQ"].ToString(), 附加信息: data["附加信息"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_163Music":
                var Api_163MusicResult =
                    _qQLightApi.Api_163Music(歌曲ID: data["歌曲ID"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_163MusicApiOut
                {
                    Result = Api_163MusicResult
                }));

            case "Api_QQMusic":
                var Api_QQMusicResult =
                    _qQLightApi.Api_QQMusic(歌曲ID: data["歌曲ID"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_QQMusicApiOut
                {
                    Result = Api_QQMusicResult
                }));

            case "Api_JsonMusic":
                var Api_JsonMusicResult =
                    _qQLightApi.Api_JsonMusic(歌曲ID: data["歌曲ID"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_JsonMusicApiOut
                {
                    Result = Api_JsonMusicResult
                }));

            case "Api_Error":
                var Api_ErrorResult =
                    _qQLightApi.Api_Error(Code: data["Code"].ToString(), Str: data["Str"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_ErrorApiOut
                {
                    Result = Api_ErrorResult
                }));

            case "Api_GetGroupCard":
                var Api_GetGroupCardResult =
                    _qQLightApi.Api_GetGroupCard(群号: data["群号"].ToString(), QQ号: data["QQ号"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetGroupCardApiOut
                {
                    Result = Api_GetGroupCardResult
                }));

            case "Api_GetNick":
                var Api_GetNickResult =
                    _qQLightApi.Api_GetNick(QQ号: data["QQ号"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetNickApiOut
                {
                    Result = Api_GetNickResult
                }));

            case "Api_SetGroupCard":
                _qQLightApi.Api_SetGroupCard(群号: data["群号"].ToString(), QQ号: data["QQ号"].ToString(), 新名片: data["新名片"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_GetPraiseNum":
                var Api_GetPraiseNumResult =
                    _qQLightApi.Api_GetPraiseNum(QQ号: data["QQ号"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetPraiseNumApiOut
                {
                    Result = Api_GetPraiseNumResult
                }));

            case "Api_GetFriendList":
                var Api_GetFriendListResult =
                    _qQLightApi.Api_GetFriendList(AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetFriendListApiOut
                {
                    Result = Api_GetFriendListResult
                }));

            case "Api_GetGroupList":
                var Api_GetGroupListResult =
                    _qQLightApi.Api_GetGroupList(AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetGroupListApiOut
                {
                    Result = Api_GetGroupListResult
                }));

            case "Api_GetGroupMemberList":
                var Api_GetGroupMemberListResult =
                    _qQLightApi.Api_GetGroupMemberList(群号: data["群号"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetGroupMemberListApiOut
                {
                    Result = Api_GetGroupMemberListResult
                }));

            case "Api_GetQQInfo":
                var Api_GetQQInfoResult =
                    _qQLightApi.Api_GetQQInfo(QQ号: data["QQ号"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetQQInfoApiOut
                {
                    Result = Api_GetQQInfoResult
                }));

            case "Api_GetGroupInfo":
                var Api_GetGroupInfoResult =
                    _qQLightApi.Api_GetGroupInfo(群号: data["群号"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetGroupInfoApiOut
                {
                    Result = Api_GetGroupInfoResult
                }));

            case "Api_Restart":
                var Api_RestartResult =
                    _qQLightApi.Api_Restart(AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_RestartApiOut
                {
                    Result = Api_RestartResult
                }));

            case "Api_UpdatePlugin":
                var Api_UpdatePluginResult =
                    _qQLightApi.Api_UpdatePlugin(AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_UpdatePluginApiOut
                {
                    Result = Api_UpdatePluginResult
                }));

            case "Api_DeleteMsg":
                var Api_DeleteMsgResult =
                    _qQLightApi.Api_DeleteMsg(群号: data["群号"].ToString(), 消息ID: data["消息ID"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_DeleteMsgApiOut
                {
                    Result = Api_DeleteMsgResult
                }));

            case "Api_SetQQState":
                var Api_SetQQStateResult =
                    _qQLightApi.Api_SetQQState(类型: Convert.ToInt32(data["类型"]), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_SetQQStateApiOut
                {
                    Result = Api_SetQQStateResult
                }));

            case "Api_InviteFriend":
                _qQLightApi.Api_InviteFriend(群号: data["群号"].ToString(), 好友QQ: data["好友QQ"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(Task.CompletedTask);

            case "Api_GetQQinfo_v2":
                var Api_GetQQinfo_v2Result =
                    _qQLightApi.Api_GetQQinfo_v2(QQ号: data["QQ号"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_GetQQinfo_v2ApiOut
                {
                    Result = Api_GetQQinfo_v2Result
                }));

            case "Api_UpLoadPic":
                var Api_UpLoadPicResult =
                    _qQLightApi.Api_UpLoadPic(类型: Convert.ToInt32(data["类型"]), 对象: data["对象"].ToString(), 图片字节集: data["图片字节集"].ToString(), AuthCode: _qqLightAuthCodeContainer.AuthCode);
                return(_mahuaCenter.HandleMahuaOutput(new Api_UpLoadPicApiOut
                {
                    Result = Api_UpLoadPicResult
                }));

            default:
                throw new ArgumentOutOfRangeException(nameof(typeCode));
            }
        }