diff --git a/Plugins/iOS/ImSDK.xcframework.meta b/Plugins/iOS/ImSDK.xcframework.meta new file mode 100644 index 000000000..52d9b5737 --- /dev/null +++ b/Plugins/iOS/ImSDK.xcframework.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 7e4837c6f64b14e16a902256881e179e +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/TencentIMSDK.cs b/TencentIMSDK.cs index 62e155451..18fb731b3 100644 --- a/TencentIMSDK.cs +++ b/TencentIMSDK.cs @@ -60,8 +60,7 @@ namespace com.tencent.imsdk.unity - [MonoPInvokeCallback(typeof(ValueCallback))] - public static void CallExperimentalAPICallback(int code, string desc, ReponseInfo data, string user_data) + public static void CallExperimentalAPICallback(int code, string desc, string data, string user_data) { Utils.Log("Tencent Cloud IM add config success ."); } @@ -80,7 +79,7 @@ namespace com.tencent.imsdk.unity param.request_internal_operation = TIMInternalOperation.internal_operation_set_ui_platform.ToString(); param.request_set_ui_platform_param = "unity"; - + Debug.Log("11111111"); TIMResult res = CallExperimentalAPI(param, CallExperimentalAPICallback); string configString = Utils.ToJson(json_sdk_config); @@ -162,7 +161,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int res = IMNativeSDK.TIMLogin(Utils.string2intptr(user_id), Utils.string2intptr(user_sig), ValueCallbackInstance, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMLogin(Utils.string2intptr(user_id), Utils.string2intptr(user_sig), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -206,7 +205,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int res = IMNativeSDK.TIMSetConfig(Utils.string2intptr(Utils.ToJson(config)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMSetConfig(Utils.string2intptr(Utils.ToJson(config)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -248,7 +247,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int timSucc = IMNativeSDK.TIMLogout(ValueCallbackInstance, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMLogout(ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -303,7 +302,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int timSucc = IMNativeSDK.TIMConvGetConvList(ValueCallbackInstance>, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMConvGetConvList(ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -336,7 +335,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int timSucc = IMNativeSDK.TIMConvDelete(Utils.string2intptr(conv_id), (int)conv_type, ValueCallbackInstance, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMConvDelete(Utils.string2intptr(conv_id), (int)conv_type, ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -369,7 +368,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int timSucc = IMNativeSDK.TIMConvGetConvInfo(Utils.string2intptr(Utils.ToJson(conv_list_param)), ValueCallbackInstance>, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMConvGetConvInfo(Utils.string2intptr(Utils.ToJson(conv_list_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -435,7 +434,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int timSucc = IMNativeSDK.TIMConvPinConversation(conv_id, (int)conv_type, is_pinned, ValueCallbackInstance, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMConvPinConversation(conv_id, (int)conv_type, is_pinned, ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -467,7 +466,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int timSucc = IMNativeSDK.TIMConvGetTotalUnreadMessageCount(ValueCallbackInstance, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMConvGetTotalUnreadMessageCount(ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -503,7 +502,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int timSucc = IMNativeSDK.TIMMsgSendMessage(conv_id, (int)conv_type, Utils.string2intptr(Utils.ToJson(message)), message_id, ValueCallbackInstance, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMMsgSendMessage(conv_id, (int)conv_type, Utils.string2intptr(Utils.ToJson(message)), message_id, ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -538,7 +537,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int timSucc = IMNativeSDK.TIMMsgCancelSend(conv_id, (int)conv_type, Utils.string2intptr(message_id), ValueCallbackInstance, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMMsgCancelSend(conv_id, (int)conv_type, Utils.string2intptr(message_id), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -571,7 +570,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int timSucc = IMNativeSDK.TIMMsgFindMessages(Utils.string2intptr(Utils.ToJson(message_id_array)), ValueCallbackInstance>, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMMsgFindMessages(Utils.string2intptr(Utils.ToJson(message_id_array)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -606,7 +605,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int timSucc = IMNativeSDK.TIMMsgReportReaded(conv_id, (int)conv_type, Utils.string2intptr(Utils.ToJson(message)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMMsgReportReaded(conv_id, (int)conv_type, Utils.string2intptr(Utils.ToJson(message)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -638,7 +637,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int timSucc = IMNativeSDK.TIMMsgMarkAllMessageAsRead(ValueCallbackInstance, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMMsgMarkAllMessageAsRead(ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -673,7 +672,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int timSucc = IMNativeSDK.TIMMsgRevoke(conv_id, (int)conv_type, Utils.string2intptr(Utils.ToJson(message)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMMsgRevoke(conv_id, (int)conv_type, Utils.string2intptr(Utils.ToJson(message)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -709,7 +708,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int timSucc = IMNativeSDK.TIMMsgModifyMessage(Utils.string2intptr(Utils.ToJson(message)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMMsgModifyMessage(Utils.string2intptr(Utils.ToJson(message)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -744,7 +743,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int timSucc = IMNativeSDK.TIMMsgFindByMsgLocatorList(conv_id, (int)conv_type, Utils.string2intptr(Utils.ToJson(message_locator)), ValueCallbackInstance>, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMMsgFindByMsgLocatorList(conv_id, (int)conv_type, Utils.string2intptr(Utils.ToJson(message_locator)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -779,7 +778,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int timSucc = IMNativeSDK.TIMMsgImportMsgList(conv_id, (int)conv_type, Utils.string2intptr(Utils.ToJson(message_list)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMMsgImportMsgList(conv_id, (int)conv_type, Utils.string2intptr(Utils.ToJson(message_list)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -814,7 +813,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int timSucc = IMNativeSDK.TIMMsgSaveMsg(conv_id, (int)conv_type, Utils.string2intptr(Utils.ToJson(message)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMMsgSaveMsg(conv_id, (int)conv_type, Utils.string2intptr(Utils.ToJson(message)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -848,7 +847,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int timSucc = IMNativeSDK.TIMMsgGetMsgList(conv_id, (int)conv_type, Utils.string2intptr(Utils.ToJson(get_message_list_param)), ValueCallbackInstance>, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMMsgGetMsgList(conv_id, (int)conv_type, Utils.string2intptr(Utils.ToJson(get_message_list_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -881,7 +880,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int timSucc = IMNativeSDK.TIMMsgDelete(conv_id, (int)conv_type, Utils.string2intptr(Utils.ToJson(message_delete_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMMsgDelete(conv_id, (int)conv_type, Utils.string2intptr(Utils.ToJson(message_delete_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -917,7 +916,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int timSucc = IMNativeSDK.TIMMsgListDelete(conv_id, (int)conv_type, Utils.string2intptr(Utils.ToJson(message_list)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMMsgListDelete(conv_id, (int)conv_type, Utils.string2intptr(Utils.ToJson(message_list)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -952,7 +951,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int timSucc = IMNativeSDK.TIMMsgClearHistoryMessage(conv_id, (int)conv_type, ValueCallbackInstance, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMMsgClearHistoryMessage(conv_id, (int)conv_type, ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -986,7 +985,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int timSucc = IMNativeSDK.TIMMsgSetC2CReceiveMessageOpt(Utils.string2intptr(Utils.ToJson(user_id_list)), (int)opt, ValueCallbackInstance, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMMsgSetC2CReceiveMessageOpt(Utils.string2intptr(Utils.ToJson(user_id_list)), (int)opt, ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -1019,7 +1018,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int timSucc = IMNativeSDK.TIMMsgGetC2CReceiveMessageOpt(Utils.string2intptr(Utils.ToJson(user_id_list)), ValueCallbackInstance>, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMMsgGetC2CReceiveMessageOpt(Utils.string2intptr(Utils.ToJson(user_id_list)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -1053,7 +1052,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int timSucc = IMNativeSDK.TIMMsgSetGroupReceiveMessageOpt(Utils.string2intptr(group_id), (int)opt, ValueCallbackInstance, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMMsgSetGroupReceiveMessageOpt(Utils.string2intptr(group_id), (int)opt, ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -1086,7 +1085,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int timSucc = IMNativeSDK.TIMMsgSetOfflinePushToken(Utils.string2intptr(Utils.ToJson(json_token)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMMsgSetOfflinePushToken(Utils.string2intptr(Utils.ToJson(json_token)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -1119,7 +1118,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int timSucc = IMNativeSDK.TIMMsgDoBackground(unread_count, ValueCallbackInstance, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMMsgDoBackground(unread_count, ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -1150,7 +1149,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int timSucc = IMNativeSDK.TIMMsgDoForeground(ValueCallbackInstance, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMMsgDoForeground(ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -1184,7 +1183,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int timSucc = IMNativeSDK.TIMMsgDownloadElemToPath(Utils.string2intptr(Utils.ToJson(download_param)), Utils.string2intptr(path), ValueCallbackInstance, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMMsgDownloadElemToPath(Utils.string2intptr(Utils.ToJson(download_param)), Utils.string2intptr(path), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -1217,7 +1216,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int timSucc = IMNativeSDK.TIMMsgDownloadMergerMessage(Utils.string2intptr(Utils.ToJson(message)), ValueCallbackInstance>, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMMsgDownloadMergerMessage(Utils.string2intptr(Utils.ToJson(message)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -1250,7 +1249,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int timSucc = IMNativeSDK.TIMMsgBatchSend(Utils.string2intptr(Utils.ToJson(json_batch_send_param)), ValueCallbackInstance>, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMMsgBatchSend(Utils.string2intptr(Utils.ToJson(json_batch_send_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -1283,7 +1282,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int timSucc = IMNativeSDK.TIMMsgSearchLocalMessages(Utils.string2intptr(Utils.ToJson(message_search_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMMsgSearchLocalMessages(Utils.string2intptr(Utils.ToJson(message_search_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -1316,7 +1315,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int timSucc = IMNativeSDK.TIMMsgSetLocalCustomData(Utils.string2intptr(Utils.ToJson(message)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMMsgSetLocalCustomData(Utils.string2intptr(Utils.ToJson(message)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -1348,7 +1347,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int timSucc = IMNativeSDK.TIMGroupCreate(Utils.string2intptr(Utils.ToJson(group)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMGroupCreate(Utils.string2intptr(Utils.ToJson(group)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -1381,7 +1380,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int timSucc = IMNativeSDK.TIMGroupDelete(Utils.string2intptr(group_id), ValueCallbackInstance, Utils.string2intptr(user_data)); + int timSucc = IMNativeSDK.TIMGroupDelete(Utils.string2intptr(group_id), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)timSucc; } @@ -1415,7 +1414,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int res = IMNativeSDK.TIMGroupJoin(Utils.string2intptr(group_id), Utils.string2intptr(hello_message), ValueCallbackInstance, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMGroupJoin(Utils.string2intptr(group_id), Utils.string2intptr(hello_message), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -1448,7 +1447,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int res = IMNativeSDK.TIMGroupQuit(Utils.string2intptr(group_id), ValueCallbackInstance, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMGroupQuit(Utils.string2intptr(group_id), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -1481,7 +1480,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int res = IMNativeSDK.TIMGroupInviteMember(Utils.string2intptr(Utils.ToJson(param)), ValueCallbackInstance>, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMGroupInviteMember(Utils.string2intptr(Utils.ToJson(param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -1514,7 +1513,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int res = IMNativeSDK.TIMGroupDeleteMember(Utils.string2intptr(Utils.ToJson(param)), ValueCallbackInstance>, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMGroupDeleteMember(Utils.string2intptr(Utils.ToJson(param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -1546,7 +1545,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int res = IMNativeSDK.TIMGroupGetJoinedGroupList(ValueCallbackInstance>, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMGroupGetJoinedGroupList(ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -1579,7 +1578,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int res = IMNativeSDK.TIMGroupGetGroupInfoList(Utils.string2intptr(Utils.ToJson(group_id_list)), ValueCallbackInstance>, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMGroupGetGroupInfoList(Utils.string2intptr(Utils.ToJson(group_id_list)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -1612,7 +1611,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int res = IMNativeSDK.TIMGroupModifyGroupInfo(Utils.string2intptr(Utils.ToJson(json_group_modifyinfo_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMGroupModifyGroupInfo(Utils.string2intptr(Utils.ToJson(json_group_modifyinfo_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -1645,7 +1644,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int res = IMNativeSDK.TIMGroupGetMemberInfoList(Utils.string2intptr(Utils.ToJson(json_group_getmeminfos_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMGroupGetMemberInfoList(Utils.string2intptr(Utils.ToJson(json_group_getmeminfos_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -1678,7 +1677,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int res = IMNativeSDK.TIMGroupModifyMemberInfo(Utils.string2intptr(Utils.ToJson(json_group_modifymeminfo_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMGroupModifyMemberInfo(Utils.string2intptr(Utils.ToJson(json_group_modifymeminfo_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -1711,7 +1710,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int res = IMNativeSDK.TIMGroupGetPendencyList(Utils.string2intptr(Utils.ToJson(json_group_getpendence_list_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMGroupGetPendencyList(Utils.string2intptr(Utils.ToJson(json_group_getpendence_list_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -1744,7 +1743,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int res = IMNativeSDK.TIMGroupReportPendencyReaded(time_stamp, ValueCallbackInstance, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMGroupReportPendencyReaded(time_stamp, ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -1777,7 +1776,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int res = IMNativeSDK.TIMGroupHandlePendency(Utils.string2intptr(Utils.ToJson(json_group_handle_pendency_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMGroupHandlePendency(Utils.string2intptr(Utils.ToJson(json_group_handle_pendency_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -1810,7 +1809,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int res = IMNativeSDK.TIMGroupGetOnlineMemberCount(Utils.string2intptr(group_id), ValueCallbackInstance, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMGroupGetOnlineMemberCount(Utils.string2intptr(group_id), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -1843,7 +1842,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int res = IMNativeSDK.TIMGroupSearchGroups(Utils.string2intptr(Utils.ToJson(json_group_search_groups_param)), ValueCallbackInstance>, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMGroupSearchGroups(Utils.string2intptr(Utils.ToJson(json_group_search_groups_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -1876,7 +1875,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int res = IMNativeSDK.TIMGroupSearchGroupMembers(Utils.string2intptr(Utils.ToJson(json_group_search_group_members_param)), ValueCallbackInstance>, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMGroupSearchGroupMembers(Utils.string2intptr(Utils.ToJson(json_group_search_group_members_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -1910,7 +1909,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int res = IMNativeSDK.TIMGroupInitGroupAttributes(Utils.string2intptr(group_id), Utils.string2intptr(Utils.ToJson(json_group_atrributes)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMGroupInitGroupAttributes(Utils.string2intptr(group_id), Utils.string2intptr(Utils.ToJson(json_group_atrributes)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -1945,7 +1944,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int res = IMNativeSDK.TIMGroupSetGroupAttributes(Utils.string2intptr(group_id), Utils.string2intptr(Utils.ToJson(json_group_atrributes)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMGroupSetGroupAttributes(Utils.string2intptr(group_id), Utils.string2intptr(Utils.ToJson(json_group_atrributes)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -1979,7 +1978,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int res = IMNativeSDK.TIMGroupDeleteGroupAttributes(Utils.string2intptr(group_id), Utils.string2intptr(Utils.ToJson(json_keys)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMGroupDeleteGroupAttributes(Utils.string2intptr(group_id), Utils.string2intptr(Utils.ToJson(json_keys)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -2013,7 +2012,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int res = IMNativeSDK.TIMGroupGetGroupAttributes(Utils.string2intptr(group_id), Utils.string2intptr(Utils.ToJson(json_keys)), ValueCallbackInstance>, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMGroupGetGroupAttributes(Utils.string2intptr(group_id), Utils.string2intptr(Utils.ToJson(json_keys)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -2045,7 +2044,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int res = IMNativeSDK.TIMGroupGetJoinedCommunityList(ValueCallbackInstance>, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMGroupGetJoinedCommunityList(ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -2101,7 +2100,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int res = IMNativeSDK.TIMGroupDeleteTopicFromCommunity(Utils.string2intptr(group_id), Utils.string2intptr(Utils.ToJson(json_topic_id_array)), ValueCallbackInstance>, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMGroupDeleteTopicFromCommunity(Utils.string2intptr(group_id), Utils.string2intptr(Utils.ToJson(json_topic_id_array)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -2134,7 +2133,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int res = IMNativeSDK.TIMGroupSetTopicInfo(Utils.string2intptr(Utils.ToJson(json_topic_info)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMGroupSetTopicInfo(Utils.string2intptr(Utils.ToJson(json_topic_info)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -2169,7 +2168,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int res = IMNativeSDK.TIMGroupGetTopicInfoList(Utils.string2intptr(group_id), Utils.string2intptr(Utils.ToJson(json_topic_id_array)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMGroupGetTopicInfoList(Utils.string2intptr(group_id), Utils.string2intptr(Utils.ToJson(json_topic_id_array)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -2203,7 +2202,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int res = IMNativeSDK.TIMGetUserStatus(Utils.string2intptr(Utils.ToJson(json_identifier_array)), ValueCallbackInstance>, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMGetUserStatus(Utils.string2intptr(Utils.ToJson(json_identifier_array)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -2237,7 +2236,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int res = IMNativeSDK.TIMSetSelfStatus(Utils.string2intptr(Utils.ToJson(json_current_user_status)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMSetSelfStatus(Utils.string2intptr(Utils.ToJson(json_current_user_status)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -2274,7 +2273,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int res = IMNativeSDK.TIMSubscribeUserStatus(Utils.string2intptr(Utils.ToJson(json_identifier_array)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMSubscribeUserStatus(Utils.string2intptr(Utils.ToJson(json_identifier_array)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -2308,7 +2307,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int res = IMNativeSDK.TIMUnsubscribeUserStatus(Utils.string2intptr(Utils.ToJson(json_identifier_array)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMUnsubscribeUserStatus(Utils.string2intptr(Utils.ToJson(json_identifier_array)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -2341,7 +2340,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int res = IMNativeSDK.TIMProfileGetUserProfileList(Utils.string2intptr(Utils.ToJson(json_get_user_profile_list_param)), ValueCallbackInstance>, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMProfileGetUserProfileList(Utils.string2intptr(Utils.ToJson(json_get_user_profile_list_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -2374,7 +2373,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int res = IMNativeSDK.TIMProfileModifySelfUserProfile(Utils.string2intptr(Utils.ToJson(json_modify_self_user_profile_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMProfileModifySelfUserProfile(Utils.string2intptr(Utils.ToJson(json_modify_self_user_profile_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -2406,7 +2405,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int res = IMNativeSDK.TIMFriendshipGetFriendProfileList(ValueCallbackInstance>, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMFriendshipGetFriendProfileList(ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -2439,7 +2438,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int res = IMNativeSDK.TIMFriendshipAddFriend(Utils.string2intptr(Utils.ToJson(param)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMFriendshipAddFriend(Utils.string2intptr(Utils.ToJson(param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -2472,7 +2471,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int res = IMNativeSDK.TIMFriendshipHandleFriendAddRequest(Utils.string2intptr(Utils.ToJson(json_handle_friend_add_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMFriendshipHandleFriendAddRequest(Utils.string2intptr(Utils.ToJson(json_handle_friend_add_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -2506,7 +2505,7 @@ namespace com.tencent.imsdk.unity ValuecallbackDeleStore.Add(user_data, threadOperation); - int res = IMNativeSDK.TIMFriendshipModifyFriendProfile(Utils.string2intptr(Utils.ToJson(json_modify_friend_info_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMFriendshipModifyFriendProfile(Utils.string2intptr(Utils.ToJson(json_modify_friend_info_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -2540,7 +2539,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int res = IMNativeSDK.TIMFriendshipDeleteFriend(Utils.string2intptr(Utils.ToJson(json_delete_friend_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMFriendshipDeleteFriend(Utils.string2intptr(Utils.ToJson(json_delete_friend_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -2573,7 +2572,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int res = IMNativeSDK.TIMFriendshipCheckFriendType(Utils.string2intptr(Utils.ToJson(json_check_friend_list_param)), ValueCallbackInstance>, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMFriendshipCheckFriendType(Utils.string2intptr(Utils.ToJson(json_check_friend_list_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -2606,7 +2605,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int res = IMNativeSDK.TIMFriendshipCreateFriendGroup(Utils.string2intptr(Utils.ToJson(json_create_friend_group_param)), ValueCallbackInstance>, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMFriendshipCreateFriendGroup(Utils.string2intptr(Utils.ToJson(json_create_friend_group_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -2639,7 +2638,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int res = IMNativeSDK.TIMFriendshipGetFriendGroupList(Utils.string2intptr(Utils.ToJson(json_get_friend_group_list_param)), ValueCallbackInstance>, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMFriendshipGetFriendGroupList(Utils.string2intptr(Utils.ToJson(json_get_friend_group_list_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -2672,7 +2671,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int res = IMNativeSDK.TIMFriendshipModifyFriendGroup(Utils.string2intptr(Utils.ToJson(json_modify_friend_group_param)), ValueCallbackInstance>, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMFriendshipModifyFriendGroup(Utils.string2intptr(Utils.ToJson(json_modify_friend_group_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -2705,7 +2704,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int res = IMNativeSDK.TIMFriendshipDeleteFriendGroup(Utils.string2intptr(Utils.ToJson(json_delete_friend_group_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMFriendshipDeleteFriendGroup(Utils.string2intptr(Utils.ToJson(json_delete_friend_group_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -2738,7 +2737,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int res = IMNativeSDK.TIMFriendshipAddToBlackList(Utils.string2intptr(Utils.ToJson(json_add_to_blacklist_param)), ValueCallbackInstance>, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMFriendshipAddToBlackList(Utils.string2intptr(Utils.ToJson(json_add_to_blacklist_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -2770,7 +2769,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int res = IMNativeSDK.TIMFriendshipGetBlackList(ValueCallbackInstance>, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMFriendshipGetBlackList(ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -2803,7 +2802,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int res = IMNativeSDK.TIMFriendshipDeleteFromBlackList(Utils.string2intptr(Utils.ToJson(json_delete_from_blacklist_param)), ValueCallbackInstance>, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMFriendshipDeleteFromBlackList(Utils.string2intptr(Utils.ToJson(json_delete_from_blacklist_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -2836,7 +2835,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int res = IMNativeSDK.TIMFriendshipGetPendencyList(Utils.string2intptr(Utils.ToJson(json_get_pendency_list_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMFriendshipGetPendencyList(Utils.string2intptr(Utils.ToJson(json_get_pendency_list_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -2869,7 +2868,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int res = IMNativeSDK.TIMFriendshipDeletePendency(Utils.string2intptr(Utils.ToJson(json_delete_pendency_param)), ValueCallbackInstance>, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMFriendshipDeletePendency(Utils.string2intptr(Utils.ToJson(json_delete_pendency_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -2902,7 +2901,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int res = IMNativeSDK.TIMFriendshipReportPendencyReaded(time_stamp, ValueCallbackInstance, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMFriendshipReportPendencyReaded(time_stamp, ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -2935,7 +2934,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int res = IMNativeSDK.TIMFriendshipSearchFriends(Utils.string2intptr(Utils.ToJson(json_search_friends_param)), ValueCallbackInstance>, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMFriendshipSearchFriends(Utils.string2intptr(Utils.ToJson(json_search_friends_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -2968,7 +2967,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int res = IMNativeSDK.TIMFriendshipGetFriendsInfo(Utils.string2intptr(Utils.ToJson(json_get_friends_info_param)), ValueCallbackInstance>, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMFriendshipGetFriendsInfo(Utils.string2intptr(Utils.ToJson(json_get_friends_info_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -3001,7 +3000,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int res = IMNativeSDK.callExperimentalAPI(Utils.string2intptr(Utils.ToJson(json_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int res = IMNativeSDK.callExperimentalAPI(Utils.string2intptr(Utils.ToJson(json_param)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -3033,7 +3032,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation>); - int res = IMNativeSDK.TIMMsgGetMessageReadReceipts(Utils.string2intptr(Utils.ToJson(msg_array)), ValueCallbackInstance>, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMMsgGetMessageReadReceipts(Utils.string2intptr(Utils.ToJson(msg_array)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } @@ -3064,7 +3063,7 @@ namespace com.tencent.imsdk.unity ValuecallbackStore.Add(user_data, callback); ValuecallbackDeleStore.Add(user_data, threadOperation); - int res = IMNativeSDK.TIMMsgSendMessageReadReceipts(Utils.string2intptr(Utils.ToJson(msg_array)), ValueCallbackInstance, Utils.string2intptr(user_data)); + int res = IMNativeSDK.TIMMsgSendMessageReadReceipts(Utils.string2intptr(Utils.ToJson(msg_array)), ValueCallbackInstance, Utils.string2intptr(user_data)); return (TIMResult)res; } public static TIMResult MsgSendMessageReadReceipts(List msg_array, ValueCallback callback) @@ -3845,7 +3844,7 @@ namespace com.tencent.imsdk.unity } [MonoPInvokeCallback(typeof(IMNativeSDK.CommonValueCallback))] - private static void ValueCallbackInstance(int code, IntPtr desc, IntPtr json_param, IntPtr user_data) + private static void ValueCallbackInstance(int code, IntPtr desc, IntPtr json_param, IntPtr user_data) { string user_data_string = Utils.intptr2string(user_data); string desc_string = Utils.intptr2string(desc); diff --git a/package.json b/package.json index 88d929054..c4f97557c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.tencent.imsdk.unity", - "version": "1.7.7", + "version": "1.7.9", "displayName": "Tencent Cloud IM", "description": "Instant messaging IM (Instant Messaging) is developed based on the underlying IM capabilities of QQ. It only needs to implant the SDK to easily integrate chat, conversation, group, data management and live barrage capabilities. It also supports signaling messages to connect with other products such as whiteboards. , Fully cover your business scenarios, support the access and use of small programs on all major platforms, and fully meet the communication needs.", "unity": "2019.2",