public bool SendToQQGameFriend(int act, string fopenid, string title, string summary, string targetUrl, string imgUrl, string previewText, string gameTag, string msdkExtInfo)
 {
     ADebug.Log(string.Concat(new object[]
     {
         "CApolloSnsService::SendToQQGameFriend act:",
         act,
         "fopenid:",
         fopenid,
         "title:",
         title,
         "summary:",
         summary,
         "targetUrl:",
         targetUrl,
         "imgUrl:",
         imgUrl,
         "previewText:",
         previewText,
         "gameTag:",
         gameTag,
         "msdkExtInfo:",
         msdkExtInfo
     }));
     return(ApolloSnsService.Apollo_Sns_SendToQQGameFriend(base.ObjectId, act, fopenid, title, summary, targetUrl, imgUrl, previewText, gameTag, msdkExtInfo));
 }
 public void SendToQQWithRichPhoto(string summary, ApolloImgPaths imgFilePaths)
 {
     if (imgFilePaths != null)
     {
         byte[] array;
         imgFilePaths.Encode(out array);
         if (array != null)
         {
             ApolloSnsService.Apollo_Sns_SendToQQWithRichPhoto(base.ObjectId, summary, array, array.Length);
         }
         else
         {
             ADebug.LogError("SendToQQWithRichPhoto Encode Error");
         }
     }
 }
 public bool SendToWXGameFriend(string fOpenId, string title, string description, string mediaId, string messageExt, string mediaTagName, string msdkExtInfo)
 {
     ADebug.Log(string.Concat(new string[]
     {
         "CApolloSnsService::SendToWXGameFriend fOpenId:",
         fOpenId,
         "title:",
         title,
         "description:",
         description,
         "mediaId:",
         mediaId,
         "messageExt:",
         messageExt,
         "mediaTagName:",
         mediaTagName,
         "msdkExtInfo:",
         msdkExtInfo
     }));
     return(ApolloSnsService.Apollo_Sns_SendToWXGameFriend(base.ObjectId, fOpenId, title, description, mediaId, messageExt, mediaTagName, msdkExtInfo));
 }
 public void SendToWeixinWithMusic(ApolloShareScene aScene, string title, string desc, string musicUrl, string musicDataUrl, string mediaTagName, byte[] imageData, int imageDataLen, string messageExt, string messageAction)
 {
     ADebug.Log(string.Concat(new string[]
     {
         "CApolloSnsService::SendToWeixinWithMusic title:",
         title,
         "desc:",
         desc,
         "musicUrl:",
         musicUrl,
         "musicDataUrl:",
         musicDataUrl,
         "mediaTagName:",
         mediaTagName,
         "messageExt:",
         messageExt,
         "messageAction:",
         messageAction
     }));
     ApolloSnsService.Apollo_Sns_SendToWeixinWithMusic(base.ObjectId, aScene, title, desc, musicUrl, musicDataUrl, mediaTagName, imageData, imageDataLen, messageExt, messageAction);
 }
 public void UnbindQQGroup(string cGroupOpenid, string cUnionid)
 {
     ApolloSnsService.Apollo_Sns_UnbindQQGroup(base.ObjectId, cGroupOpenid, cUnionid);
 }
 public void QueryQQGroupKey(string cGroupOpenid)
 {
     ApolloSnsService.Apollo_Sns_QueryQQGroupKey(base.ObjectId, cGroupOpenid);
 }
 public void JoinQQGroup(string qqGroupKey)
 {
     ApolloSnsService.Apollo_Sns_JoinQQGroup(base.ObjectId, qqGroupKey);
 }
 public void QueryQQGroupInfo(string cUnionid, string cZoneid)
 {
     ApolloSnsService.Apollo_Sns_QueryQQGroupInfo(base.ObjectId, cUnionid, cZoneid);
 }
 public void BindQQGroup(string cUnionid, string cUnion_name, string cZoneid, string cSignature)
 {
     ApolloSnsService.Apollo_Sns_BindQQGroup(base.ObjectId, cUnionid, cUnion_name, cZoneid, cSignature);
 }
 public void AddGameFriendToQQ(string cFopenid, string cDesc, string cMessage)
 {
     ApolloSnsService.Apollo_Sns_AddGameFriendToQQ(base.ObjectId, cFopenid, cDesc, cMessage);
 }
 public void QueryWXGroupInfo(string unionid, string openIdList)
 {
     ApolloSnsService.Apollo_Sns_QueryWXGroupInfo(base.ObjectId, unionid, openIdList);
 }
 public void SendToWeixin(string title, string desc, string mediaTagName, byte[] thumbImgData, int thumbDataLen, string extInfo)
 {
     ApolloSnsService.SendToWeixin(base.ObjectId, title, desc, mediaTagName, thumbImgData, thumbDataLen, extInfo);
 }
 public void SendToWeixinWithPhoto(ApolloShareScene aScene, string mediaTagName, byte[] imageData, int imgDataLen)
 {
     ApolloSnsService.SendToWeixinWithPhoto(base.ObjectId, aScene, mediaTagName, imageData, imgDataLen);
 }
 public void SendToQQWithVideo(string summary, string videoPath)
 {
     ApolloSnsService.Apollo_Sns_SendToQQWithVideo(base.ObjectId, summary, videoPath);
 }
 public bool QueryGameFriendsInfo(ApolloPlatform platform)
 {
     return(ApolloSnsService.Apollo_Sns_QueryGameFriendsInfo(base.ObjectId, platform));
 }
 public void SendToWeixinWithUrl(ApolloShareScene aScene, string title, string desc, string url, string mediaTagName, byte[] imageData, int imageDataLen, string messageExt)
 {
     ApolloSnsService.Apollo_Sns_SendToWeixinWithUrl(base.ObjectId, aScene, title, desc, url, mediaTagName, imageData, imageDataLen, messageExt);
 }
 public void SendToQQWithPhoto(ApolloShareScene scene, string imgFilePath)
 {
     ApolloSnsService.SendToQQWithPhoto(base.ObjectId, scene, imgFilePath);
 }
 public void SendToQQ(ApolloShareScene scene, string title, string desc, string url, string thumbImageUrl)
 {
     ApolloSnsService.SendToQQ(base.ObjectId, scene, title, desc, url, thumbImageUrl, thumbImageUrl.get_Length());
 }
 public void SendToWeixinWithPhoto(ApolloShareScene aScene, string mediaTagName, byte[] imageData, int imageDataLen, string messageExt, string messageAction)
 {
     ApolloSnsService.SendToWeixinWithPhotoWithTail(base.ObjectId, aScene, mediaTagName, imageData, imageDataLen, messageExt, messageAction);
 }
 public void JoinWXGroup(string unionid, string chatRoomNickName)
 {
     ApolloSnsService.Apollo_Sns_JoinWXGroup(base.ObjectId, unionid, chatRoomNickName);
 }
 public void SendToQQWithMusic(ApolloShareScene aScene, string title, string desc, string musicUrl, string musicDataUrl, string imgUrl)
 {
     ApolloSnsService.Apollo_Sns_SendToQQWithMusic(base.ObjectId, aScene, title, desc, musicUrl, musicDataUrl, imgUrl);
 }
 public void SendToWXGroup(int msgType, int subTyoe, string unionid, string title, string description, string messageExt, string mediaTagName, string imgUrl, string msdkExtInfo)
 {
     ApolloSnsService.Apollo_Sns_SendToWXGroup(base.ObjectId, msgType, subTyoe, unionid, title, description, messageExt, mediaTagName, imgUrl, msdkExtInfo);
 }
예제 #23
0
 public void SendToQQ(ApolloShareScene scene, string title, string desc, string url, string thumbImageUrl)
 {
     Console.WriteLine("ApolloSnsLZK SendToQQ:{0}", thumbImageUrl.get_Length());
     ApolloSnsService.SendToQQ(base.ObjectId, scene, title, desc, url, thumbImageUrl, thumbImageUrl.get_Length());
 }