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));
            }
        }
        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));
            }
        }