com.taptap.sdk.relationlite 4.10.1-beta.1 → 4.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Mobile/Editor/BuidPostProcessor.cs +56 -56
- package/Mobile/Editor/BuidPostProcessor.cs.meta +11 -11
- package/Mobile/Editor/NativeDependencies.xml +14 -14
- package/Mobile/Editor/NativeDependencies.xml.meta +7 -7
- package/Mobile/Editor/TapRelationLiteMobileProcessBuild.cs.meta +11 -11
- package/Mobile/Editor/TapSDK.RelationLite.Mobile.Editor.asmdef +18 -18
- package/Mobile/Editor/TapSDK.RelationLite.Mobile.Editor.asmdef.meta +7 -7
- package/Mobile/Editor.meta +8 -8
- package/Mobile/Runtime/TapSDK.RelationLite.Mobile.Runtime.asmdef +22 -22
- package/Mobile/Runtime/TapSDK.RelationLite.Mobile.Runtime.asmdef.meta +7 -7
- package/Mobile/Runtime/TapTapRelationLiteImpl.cs +385 -385
- package/Mobile/Runtime/TapTapRelationLiteImpl.cs.meta +11 -11
- package/Mobile/Runtime.meta +8 -8
- package/Mobile.meta +8 -8
- package/Runtime/Internal/Init/RelationLiteInitTask.cs +19 -19
- package/Runtime/Internal/Init/RelationLiteInitTask.cs.meta +11 -11
- package/Runtime/Internal/Init.meta +8 -8
- package/Runtime/Internal/TapTapRelationLiteManager.cs +98 -98
- package/Runtime/Internal/TapTapRelationLiteManager.cs.meta +11 -11
- package/Runtime/Internal.meta +8 -8
- package/Runtime/Public/FollowStatus.cs +19 -19
- package/Runtime/Public/FollowStatus.cs.meta +11 -11
- package/Runtime/Public/ITapTapRelationLite.cs +30 -30
- package/Runtime/Public/ITapTapRelationLite.cs.meta +11 -11
- package/Runtime/Public/ITapTapRelationLiteCallback.cs +8 -8
- package/Runtime/Public/ITapTapRelationLiteCallback.cs.meta +11 -11
- package/Runtime/Public/ITapTapRelationLiteRequestCallback.cs +15 -15
- package/Runtime/Public/ITapTapRelationLiteRequestCallback.cs.meta +11 -11
- package/Runtime/Public/RelationLiteUserInfo.cs +19 -19
- package/Runtime/Public/RelationLiteUserInfo.cs.meta +11 -11
- package/Runtime/Public/RelationLiteUserItem.cs +17 -17
- package/Runtime/Public/RelationLiteUserItem.cs.meta +11 -11
- package/Runtime/Public/TapRelationLiteUserResult.cs +17 -17
- package/Runtime/Public/TapRelationLiteUserResult.cs.meta +7 -7
- package/Runtime/Public/TapTapRelationLite.cs +77 -77
- package/Runtime/Public/TapTapRelationLite.cs.meta +11 -11
- package/Runtime/Public.meta +8 -8
- package/Runtime/TapSDK.RelationLite.Runtime.asmdef +14 -14
- package/Runtime/TapSDK.RelationLite.Runtime.asmdef.meta +7 -7
- package/Runtime.meta +8 -8
- package/link.xml +3 -3
- package/link.xml.meta +7 -7
- package/package.json +11 -11
- package/package.json.meta +7 -7
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: d55782b4121834d3a9744b0d88043b35
|
|
3
|
-
MonoImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
serializedVersion: 2
|
|
6
|
-
defaultReferences: []
|
|
7
|
-
executionOrder: 0
|
|
8
|
-
icon: {instanceID: 0}
|
|
9
|
-
userData:
|
|
10
|
-
assetBundleName:
|
|
11
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: d55782b4121834d3a9744b0d88043b35
|
|
3
|
+
MonoImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
serializedVersion: 2
|
|
6
|
+
defaultReferences: []
|
|
7
|
+
executionOrder: 0
|
|
8
|
+
icon: {instanceID: 0}
|
|
9
|
+
userData:
|
|
10
|
+
assetBundleName:
|
|
11
|
+
assetBundleVariant:
|
package/Mobile/Runtime.meta
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 5e01c6b423ff84f628fafff18541ec23
|
|
3
|
-
folderAsset: yes
|
|
4
|
-
DefaultImporter:
|
|
5
|
-
externalObjects: {}
|
|
6
|
-
userData:
|
|
7
|
-
assetBundleName:
|
|
8
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 5e01c6b423ff84f628fafff18541ec23
|
|
3
|
+
folderAsset: yes
|
|
4
|
+
DefaultImporter:
|
|
5
|
+
externalObjects: {}
|
|
6
|
+
userData:
|
|
7
|
+
assetBundleName:
|
|
8
|
+
assetBundleVariant:
|
package/Mobile.meta
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 9da0cdafaf2e544a3815e5b7c1679cd0
|
|
3
|
-
folderAsset: yes
|
|
4
|
-
DefaultImporter:
|
|
5
|
-
externalObjects: {}
|
|
6
|
-
userData:
|
|
7
|
-
assetBundleName:
|
|
8
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 9da0cdafaf2e544a3815e5b7c1679cd0
|
|
3
|
+
folderAsset: yes
|
|
4
|
+
DefaultImporter:
|
|
5
|
+
externalObjects: {}
|
|
6
|
+
userData:
|
|
7
|
+
assetBundleName:
|
|
8
|
+
assetBundleVariant:
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
using TapSDK.Core;
|
|
2
|
-
using TapSDK.Core.Internal.Init;
|
|
3
|
-
|
|
4
|
-
namespace TapSDK.RelationLite.Internal.Init
|
|
5
|
-
{
|
|
6
|
-
public class RelationLiteInitTask : IInitTask
|
|
7
|
-
{
|
|
8
|
-
public int Order => 105;
|
|
9
|
-
|
|
10
|
-
public void Init(TapTapSdkOptions coreOption, TapTapSdkBaseOptions[] otherOptions)
|
|
11
|
-
{
|
|
12
|
-
TapTapRelationLiteManager.Instance.Init(coreOption.clientId, coreOption.region);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
public void Init(TapTapSdkOptions coreOption)
|
|
16
|
-
{
|
|
17
|
-
TapTapRelationLiteManager.Instance.Init(coreOption.clientId, coreOption.region);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
1
|
+
using TapSDK.Core;
|
|
2
|
+
using TapSDK.Core.Internal.Init;
|
|
3
|
+
|
|
4
|
+
namespace TapSDK.RelationLite.Internal.Init
|
|
5
|
+
{
|
|
6
|
+
public class RelationLiteInitTask : IInitTask
|
|
7
|
+
{
|
|
8
|
+
public int Order => 105;
|
|
9
|
+
|
|
10
|
+
public void Init(TapTapSdkOptions coreOption, TapTapSdkBaseOptions[] otherOptions)
|
|
11
|
+
{
|
|
12
|
+
TapTapRelationLiteManager.Instance.Init(coreOption.clientId, coreOption.region);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
public void Init(TapTapSdkOptions coreOption)
|
|
16
|
+
{
|
|
17
|
+
TapTapRelationLiteManager.Instance.Init(coreOption.clientId, coreOption.region);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
20
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 54d0f9169ba1d4465bc34296f4a276fa
|
|
3
|
-
MonoImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
serializedVersion: 2
|
|
6
|
-
defaultReferences: []
|
|
7
|
-
executionOrder: 0
|
|
8
|
-
icon: {instanceID: 0}
|
|
9
|
-
userData:
|
|
10
|
-
assetBundleName:
|
|
11
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 54d0f9169ba1d4465bc34296f4a276fa
|
|
3
|
+
MonoImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
serializedVersion: 2
|
|
6
|
+
defaultReferences: []
|
|
7
|
+
executionOrder: 0
|
|
8
|
+
icon: {instanceID: 0}
|
|
9
|
+
userData:
|
|
10
|
+
assetBundleName:
|
|
11
|
+
assetBundleVariant:
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: b6c252555cb1c4ad6a49a3f3ec2c7a9d
|
|
3
|
-
folderAsset: yes
|
|
4
|
-
DefaultImporter:
|
|
5
|
-
externalObjects: {}
|
|
6
|
-
userData:
|
|
7
|
-
assetBundleName:
|
|
8
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: b6c252555cb1c4ad6a49a3f3ec2c7a9d
|
|
3
|
+
folderAsset: yes
|
|
4
|
+
DefaultImporter:
|
|
5
|
+
externalObjects: {}
|
|
6
|
+
userData:
|
|
7
|
+
assetBundleName:
|
|
8
|
+
assetBundleVariant:
|
|
@@ -1,99 +1,99 @@
|
|
|
1
|
-
using System;
|
|
2
|
-
using System.Collections.Generic;
|
|
3
|
-
using System.Threading.Tasks;
|
|
4
|
-
using TapSDK.Core;
|
|
5
|
-
using TapSDK.Core.Internal.Utils;
|
|
6
|
-
|
|
7
|
-
namespace TapSDK.RelationLite.Internal
|
|
8
|
-
{
|
|
9
|
-
public class TapTapRelationLiteManager
|
|
10
|
-
{
|
|
11
|
-
private ITapTapRelationLite _impl;
|
|
12
|
-
private List<ITapTapRelationLiteCallback> _relationCallbacks;
|
|
13
|
-
|
|
14
|
-
private static TapTapRelationLiteManager instance;
|
|
15
|
-
|
|
16
|
-
private TapTapRelationLiteManager()
|
|
17
|
-
{
|
|
18
|
-
_impl = BridgeUtils.CreateBridgeImplementation(typeof(ITapTapRelationLite),
|
|
19
|
-
"TapSDK.RelationLite") as ITapTapRelationLite;
|
|
20
|
-
_relationCallbacks = new List<ITapTapRelationLiteCallback>();
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
public static TapTapRelationLiteManager Instance
|
|
24
|
-
{
|
|
25
|
-
get
|
|
26
|
-
{
|
|
27
|
-
if (instance == null)
|
|
28
|
-
{
|
|
29
|
-
instance = new TapTapRelationLiteManager();
|
|
30
|
-
}
|
|
31
|
-
return instance;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
public void Init(string clientId, TapTapRegionType regionType)
|
|
36
|
-
{
|
|
37
|
-
_impl?.Init(clientId, regionType);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
public void InviteGame()
|
|
41
|
-
{
|
|
42
|
-
_impl?.InviteGame();
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
public void InviteTeam(string teamId)
|
|
46
|
-
{
|
|
47
|
-
_impl?.InviteTeam(teamId);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
public Task<RelationLiteUserResult> GetFriendsList(string nextPageToken)
|
|
51
|
-
{
|
|
52
|
-
return _impl?.GetFriendsList(nextPageToken);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
public Task<RelationLiteUserResult> GetFollowingList(string nextPageToken)
|
|
56
|
-
{
|
|
57
|
-
return _impl?.GetFollowingList(nextPageToken);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
public Task<RelationLiteUserResult> GetFansList(string nextPageToken)
|
|
61
|
-
{
|
|
62
|
-
return _impl?.GetFansList(nextPageToken);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
public Task SyncRelationshipWithOpenId(int action, string nickname, string friendNickname, string friendOpenId)
|
|
66
|
-
{
|
|
67
|
-
return _impl?.SyncRelationshipWithOpenId(action, nickname, friendNickname, friendOpenId);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
public Task SyncRelationshipWithUnionId(int action, string nickname, string friendNickname, string friendUnionId)
|
|
71
|
-
{
|
|
72
|
-
return _impl?.SyncRelationshipWithUnionId(action, nickname, friendNickname, friendUnionId);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
public void ShowTapUserProfile(string openId, string unionId)
|
|
76
|
-
{
|
|
77
|
-
_impl?.ShowTapUserProfile(openId, unionId);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
public void RegisterRelationLiteCallback(ITapTapRelationLiteCallback callback)
|
|
82
|
-
{
|
|
83
|
-
if (callback != null && !_relationCallbacks.Contains(callback))
|
|
84
|
-
{
|
|
85
|
-
_relationCallbacks.Add(callback);
|
|
86
|
-
_impl?.RegisterRelationLiteCallback(callback);
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
public void UnregisterRelationLiteCallback(ITapTapRelationLiteCallback callback)
|
|
91
|
-
{
|
|
92
|
-
if (callback != null && _relationCallbacks.Contains(callback))
|
|
93
|
-
{
|
|
94
|
-
_relationCallbacks.Remove(callback);
|
|
95
|
-
_impl?.UnregisterRelationLiteCallback(callback);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
1
|
+
using System;
|
|
2
|
+
using System.Collections.Generic;
|
|
3
|
+
using System.Threading.Tasks;
|
|
4
|
+
using TapSDK.Core;
|
|
5
|
+
using TapSDK.Core.Internal.Utils;
|
|
6
|
+
|
|
7
|
+
namespace TapSDK.RelationLite.Internal
|
|
8
|
+
{
|
|
9
|
+
public class TapTapRelationLiteManager
|
|
10
|
+
{
|
|
11
|
+
private ITapTapRelationLite _impl;
|
|
12
|
+
private List<ITapTapRelationLiteCallback> _relationCallbacks;
|
|
13
|
+
|
|
14
|
+
private static TapTapRelationLiteManager instance;
|
|
15
|
+
|
|
16
|
+
private TapTapRelationLiteManager()
|
|
17
|
+
{
|
|
18
|
+
_impl = BridgeUtils.CreateBridgeImplementation(typeof(ITapTapRelationLite),
|
|
19
|
+
"TapSDK.RelationLite") as ITapTapRelationLite;
|
|
20
|
+
_relationCallbacks = new List<ITapTapRelationLiteCallback>();
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
public static TapTapRelationLiteManager Instance
|
|
24
|
+
{
|
|
25
|
+
get
|
|
26
|
+
{
|
|
27
|
+
if (instance == null)
|
|
28
|
+
{
|
|
29
|
+
instance = new TapTapRelationLiteManager();
|
|
30
|
+
}
|
|
31
|
+
return instance;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
public void Init(string clientId, TapTapRegionType regionType)
|
|
36
|
+
{
|
|
37
|
+
_impl?.Init(clientId, regionType);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
public void InviteGame()
|
|
41
|
+
{
|
|
42
|
+
_impl?.InviteGame();
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
public void InviteTeam(string teamId)
|
|
46
|
+
{
|
|
47
|
+
_impl?.InviteTeam(teamId);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
public Task<RelationLiteUserResult> GetFriendsList(string nextPageToken)
|
|
51
|
+
{
|
|
52
|
+
return _impl?.GetFriendsList(nextPageToken);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
public Task<RelationLiteUserResult> GetFollowingList(string nextPageToken)
|
|
56
|
+
{
|
|
57
|
+
return _impl?.GetFollowingList(nextPageToken);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
public Task<RelationLiteUserResult> GetFansList(string nextPageToken)
|
|
61
|
+
{
|
|
62
|
+
return _impl?.GetFansList(nextPageToken);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
public Task SyncRelationshipWithOpenId(int action, string nickname, string friendNickname, string friendOpenId)
|
|
66
|
+
{
|
|
67
|
+
return _impl?.SyncRelationshipWithOpenId(action, nickname, friendNickname, friendOpenId);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
public Task SyncRelationshipWithUnionId(int action, string nickname, string friendNickname, string friendUnionId)
|
|
71
|
+
{
|
|
72
|
+
return _impl?.SyncRelationshipWithUnionId(action, nickname, friendNickname, friendUnionId);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
public void ShowTapUserProfile(string openId, string unionId)
|
|
76
|
+
{
|
|
77
|
+
_impl?.ShowTapUserProfile(openId, unionId);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
public void RegisterRelationLiteCallback(ITapTapRelationLiteCallback callback)
|
|
82
|
+
{
|
|
83
|
+
if (callback != null && !_relationCallbacks.Contains(callback))
|
|
84
|
+
{
|
|
85
|
+
_relationCallbacks.Add(callback);
|
|
86
|
+
_impl?.RegisterRelationLiteCallback(callback);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
public void UnregisterRelationLiteCallback(ITapTapRelationLiteCallback callback)
|
|
91
|
+
{
|
|
92
|
+
if (callback != null && _relationCallbacks.Contains(callback))
|
|
93
|
+
{
|
|
94
|
+
_relationCallbacks.Remove(callback);
|
|
95
|
+
_impl?.UnregisterRelationLiteCallback(callback);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
99
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 6641e553e2cf64d989a21c2a2c09c092
|
|
3
|
-
MonoImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
serializedVersion: 2
|
|
6
|
-
defaultReferences: []
|
|
7
|
-
executionOrder: 0
|
|
8
|
-
icon: {instanceID: 0}
|
|
9
|
-
userData:
|
|
10
|
-
assetBundleName:
|
|
11
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 6641e553e2cf64d989a21c2a2c09c092
|
|
3
|
+
MonoImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
serializedVersion: 2
|
|
6
|
+
defaultReferences: []
|
|
7
|
+
executionOrder: 0
|
|
8
|
+
icon: {instanceID: 0}
|
|
9
|
+
userData:
|
|
10
|
+
assetBundleName:
|
|
11
|
+
assetBundleVariant:
|
package/Runtime/Internal.meta
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 3e47e403b3b984bd1b52835b54a8d3b6
|
|
3
|
-
folderAsset: yes
|
|
4
|
-
DefaultImporter:
|
|
5
|
-
externalObjects: {}
|
|
6
|
-
userData:
|
|
7
|
-
assetBundleName:
|
|
8
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 3e47e403b3b984bd1b52835b54a8d3b6
|
|
3
|
+
folderAsset: yes
|
|
4
|
+
DefaultImporter:
|
|
5
|
+
externalObjects: {}
|
|
6
|
+
userData:
|
|
7
|
+
assetBundleName:
|
|
8
|
+
assetBundleVariant:
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
using System;
|
|
2
|
-
using Newtonsoft.Json;
|
|
3
|
-
|
|
4
|
-
namespace TapSDK.RelationLite
|
|
5
|
-
{
|
|
6
|
-
public class FollowStatus
|
|
7
|
-
{
|
|
8
|
-
[JsonProperty("blocked_by")]
|
|
9
|
-
public bool blockedBy;
|
|
10
|
-
|
|
11
|
-
[JsonProperty("blocking")]
|
|
12
|
-
public bool blocking;
|
|
13
|
-
|
|
14
|
-
[JsonProperty("followed_by")]
|
|
15
|
-
public bool followedBy;
|
|
16
|
-
|
|
17
|
-
[JsonProperty("following")]
|
|
18
|
-
public bool following;
|
|
19
|
-
}
|
|
1
|
+
using System;
|
|
2
|
+
using Newtonsoft.Json;
|
|
3
|
+
|
|
4
|
+
namespace TapSDK.RelationLite
|
|
5
|
+
{
|
|
6
|
+
public class FollowStatus
|
|
7
|
+
{
|
|
8
|
+
[JsonProperty("blocked_by")]
|
|
9
|
+
public bool blockedBy;
|
|
10
|
+
|
|
11
|
+
[JsonProperty("blocking")]
|
|
12
|
+
public bool blocking;
|
|
13
|
+
|
|
14
|
+
[JsonProperty("followed_by")]
|
|
15
|
+
public bool followedBy;
|
|
16
|
+
|
|
17
|
+
[JsonProperty("following")]
|
|
18
|
+
public bool following;
|
|
19
|
+
}
|
|
20
20
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 5e5e84ebed40c4b3fad191bc71562a5d
|
|
3
|
-
MonoImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
serializedVersion: 2
|
|
6
|
-
defaultReferences: []
|
|
7
|
-
executionOrder: 0
|
|
8
|
-
icon: {instanceID: 0}
|
|
9
|
-
userData:
|
|
10
|
-
assetBundleName:
|
|
11
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 5e5e84ebed40c4b3fad191bc71562a5d
|
|
3
|
+
MonoImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
serializedVersion: 2
|
|
6
|
+
defaultReferences: []
|
|
7
|
+
executionOrder: 0
|
|
8
|
+
icon: {instanceID: 0}
|
|
9
|
+
userData:
|
|
10
|
+
assetBundleName:
|
|
11
|
+
assetBundleVariant:
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
using System;
|
|
2
|
-
using System.Threading.Tasks;
|
|
3
|
-
using TapSDK.Core;
|
|
4
|
-
|
|
5
|
-
namespace TapSDK.RelationLite
|
|
6
|
-
{
|
|
7
|
-
public interface ITapTapRelationLite
|
|
8
|
-
{
|
|
9
|
-
void Init(string clientId, TapTapRegionType regionType);
|
|
10
|
-
|
|
11
|
-
void InviteGame();
|
|
12
|
-
|
|
13
|
-
void InviteTeam(string teamId);
|
|
14
|
-
|
|
15
|
-
Task<RelationLiteUserResult> GetFriendsList(string nextPageToken);
|
|
16
|
-
|
|
17
|
-
Task<RelationLiteUserResult> GetFollowingList(string nextPageToken);
|
|
18
|
-
|
|
19
|
-
Task<RelationLiteUserResult> GetFansList(string nextPageToken);
|
|
20
|
-
|
|
21
|
-
Task SyncRelationshipWithOpenId(int action, string nickname,string friendNickname, string friendOpenId);
|
|
22
|
-
|
|
23
|
-
Task SyncRelationshipWithUnionId(int action, string nickname,string friendNickname, string friendUnionId);
|
|
24
|
-
|
|
25
|
-
void ShowTapUserProfile(string openId, string unionId);
|
|
26
|
-
|
|
27
|
-
void RegisterRelationLiteCallback(ITapTapRelationLiteCallback callback);
|
|
28
|
-
|
|
29
|
-
void UnregisterRelationLiteCallback(ITapTapRelationLiteCallback callback);
|
|
30
|
-
}
|
|
1
|
+
using System;
|
|
2
|
+
using System.Threading.Tasks;
|
|
3
|
+
using TapSDK.Core;
|
|
4
|
+
|
|
5
|
+
namespace TapSDK.RelationLite
|
|
6
|
+
{
|
|
7
|
+
public interface ITapTapRelationLite
|
|
8
|
+
{
|
|
9
|
+
void Init(string clientId, TapTapRegionType regionType);
|
|
10
|
+
|
|
11
|
+
void InviteGame();
|
|
12
|
+
|
|
13
|
+
void InviteTeam(string teamId);
|
|
14
|
+
|
|
15
|
+
Task<RelationLiteUserResult> GetFriendsList(string nextPageToken);
|
|
16
|
+
|
|
17
|
+
Task<RelationLiteUserResult> GetFollowingList(string nextPageToken);
|
|
18
|
+
|
|
19
|
+
Task<RelationLiteUserResult> GetFansList(string nextPageToken);
|
|
20
|
+
|
|
21
|
+
Task SyncRelationshipWithOpenId(int action, string nickname,string friendNickname, string friendOpenId);
|
|
22
|
+
|
|
23
|
+
Task SyncRelationshipWithUnionId(int action, string nickname,string friendNickname, string friendUnionId);
|
|
24
|
+
|
|
25
|
+
void ShowTapUserProfile(string openId, string unionId);
|
|
26
|
+
|
|
27
|
+
void RegisterRelationLiteCallback(ITapTapRelationLiteCallback callback);
|
|
28
|
+
|
|
29
|
+
void UnregisterRelationLiteCallback(ITapTapRelationLiteCallback callback);
|
|
30
|
+
}
|
|
31
31
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 415bdd48f1f6d41e6b772eadd7b90cb8
|
|
3
|
-
MonoImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
serializedVersion: 2
|
|
6
|
-
defaultReferences: []
|
|
7
|
-
executionOrder: 0
|
|
8
|
-
icon: {instanceID: 0}
|
|
9
|
-
userData:
|
|
10
|
-
assetBundleName:
|
|
11
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 415bdd48f1f6d41e6b772eadd7b90cb8
|
|
3
|
+
MonoImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
serializedVersion: 2
|
|
6
|
+
defaultReferences: []
|
|
7
|
+
executionOrder: 0
|
|
8
|
+
icon: {instanceID: 0}
|
|
9
|
+
userData:
|
|
10
|
+
assetBundleName:
|
|
11
|
+
assetBundleVariant:
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
using System;
|
|
2
|
-
|
|
3
|
-
namespace TapSDK.RelationLite
|
|
4
|
-
{
|
|
5
|
-
public interface ITapTapRelationLiteCallback
|
|
6
|
-
{
|
|
7
|
-
void OnResult(int code);
|
|
8
|
-
}
|
|
1
|
+
using System;
|
|
2
|
+
|
|
3
|
+
namespace TapSDK.RelationLite
|
|
4
|
+
{
|
|
5
|
+
public interface ITapTapRelationLiteCallback
|
|
6
|
+
{
|
|
7
|
+
void OnResult(int code);
|
|
8
|
+
}
|
|
9
9
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: ea0ae0c022e4742ec9c9fac98b96ef5f
|
|
3
|
-
MonoImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
serializedVersion: 2
|
|
6
|
-
defaultReferences: []
|
|
7
|
-
executionOrder: 0
|
|
8
|
-
icon: {instanceID: 0}
|
|
9
|
-
userData:
|
|
10
|
-
assetBundleName:
|
|
11
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: ea0ae0c022e4742ec9c9fac98b96ef5f
|
|
3
|
+
MonoImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
serializedVersion: 2
|
|
6
|
+
defaultReferences: []
|
|
7
|
+
executionOrder: 0
|
|
8
|
+
icon: {instanceID: 0}
|
|
9
|
+
userData:
|
|
10
|
+
assetBundleName:
|
|
11
|
+
assetBundleVariant:
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
using System;
|
|
2
|
-
using System.Collections;
|
|
3
|
-
using System.Collections.Generic;
|
|
4
|
-
|
|
5
|
-
namespace TapSDK.RelationLite
|
|
6
|
-
{
|
|
7
|
-
public interface ITapTapRelationLiteRequestCallback
|
|
8
|
-
{
|
|
9
|
-
void OnFriendsListResult(string nextPageToken, List<RelationLiteUserItem> friendsList);
|
|
10
|
-
void OnFollowingListResult(string nextPageToken, List<RelationLiteUserItem> followingList);
|
|
11
|
-
void OnFansListResult(string nextPageToken, List<RelationLiteUserItem> fansList);
|
|
12
|
-
void OnSyncRelationshipSuccess(string openId, string unionId);
|
|
13
|
-
void OnSyncRelationshipFail(string errorMessage, string openId, string unionId);
|
|
14
|
-
void OnRequestError(string errorMessage);
|
|
15
|
-
}
|
|
1
|
+
using System;
|
|
2
|
+
using System.Collections;
|
|
3
|
+
using System.Collections.Generic;
|
|
4
|
+
|
|
5
|
+
namespace TapSDK.RelationLite
|
|
6
|
+
{
|
|
7
|
+
public interface ITapTapRelationLiteRequestCallback
|
|
8
|
+
{
|
|
9
|
+
void OnFriendsListResult(string nextPageToken, List<RelationLiteUserItem> friendsList);
|
|
10
|
+
void OnFollowingListResult(string nextPageToken, List<RelationLiteUserItem> followingList);
|
|
11
|
+
void OnFansListResult(string nextPageToken, List<RelationLiteUserItem> fansList);
|
|
12
|
+
void OnSyncRelationshipSuccess(string openId, string unionId);
|
|
13
|
+
void OnSyncRelationshipFail(string errorMessage, string openId, string unionId);
|
|
14
|
+
void OnRequestError(string errorMessage);
|
|
15
|
+
}
|
|
16
16
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 9142ee9eb6cf54220856178ccfe34297
|
|
3
|
-
MonoImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
serializedVersion: 2
|
|
6
|
-
defaultReferences: []
|
|
7
|
-
executionOrder: 0
|
|
8
|
-
icon: {instanceID: 0}
|
|
9
|
-
userData:
|
|
10
|
-
assetBundleName:
|
|
11
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 9142ee9eb6cf54220856178ccfe34297
|
|
3
|
+
MonoImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
serializedVersion: 2
|
|
6
|
+
defaultReferences: []
|
|
7
|
+
executionOrder: 0
|
|
8
|
+
icon: {instanceID: 0}
|
|
9
|
+
userData:
|
|
10
|
+
assetBundleName:
|
|
11
|
+
assetBundleVariant:
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
using System;
|
|
2
|
-
using Newtonsoft.Json;
|
|
3
|
-
|
|
4
|
-
namespace TapSDK.RelationLite
|
|
5
|
-
{
|
|
6
|
-
public class RelationLiteUserInfo
|
|
7
|
-
{
|
|
8
|
-
[JsonProperty("alias")]
|
|
9
|
-
public string alias;
|
|
10
|
-
|
|
11
|
-
[JsonProperty("avatar")]
|
|
12
|
-
public string avatar;
|
|
13
|
-
|
|
14
|
-
[JsonProperty("name")]
|
|
15
|
-
public string name;
|
|
16
|
-
|
|
17
|
-
[JsonProperty("open_id")]
|
|
18
|
-
public string openId;
|
|
19
|
-
}
|
|
1
|
+
using System;
|
|
2
|
+
using Newtonsoft.Json;
|
|
3
|
+
|
|
4
|
+
namespace TapSDK.RelationLite
|
|
5
|
+
{
|
|
6
|
+
public class RelationLiteUserInfo
|
|
7
|
+
{
|
|
8
|
+
[JsonProperty("alias")]
|
|
9
|
+
public string alias;
|
|
10
|
+
|
|
11
|
+
[JsonProperty("avatar")]
|
|
12
|
+
public string avatar;
|
|
13
|
+
|
|
14
|
+
[JsonProperty("name")]
|
|
15
|
+
public string name;
|
|
16
|
+
|
|
17
|
+
[JsonProperty("open_id")]
|
|
18
|
+
public string openId;
|
|
19
|
+
}
|
|
20
20
|
}
|