com.taptap.sdk.cloudsave 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/NativeDependencies.xml +14 -14
- package/Mobile/Editor/NativeDependencies.xml.meta +2 -2
- package/Mobile/Editor/TapCloudSaveMobileProcessBuild.cs +20 -20
- package/Mobile/Editor/TapCloudSaveMobileProcessBuild.cs.meta +11 -11
- package/Mobile/Editor/TapSDK.CloudSave.Mobile.Editor.asmdef +16 -16
- package/Mobile/Editor/TapSDK.CloudSave.Mobile.Editor.asmdef.meta +7 -7
- package/Mobile/Editor.meta +8 -8
- package/Mobile/Runtime/TapCloudSaveBridge.cs +589 -589
- package/Mobile/Runtime/TapCloudSaveBridge.cs.meta +11 -11
- package/Mobile/Runtime/TapSDK.CloudSave.Mobile.Runtime.asmdef +19 -19
- package/Mobile/Runtime/TapSDK.CloudSave.Mobile.Runtime.asmdef.meta +7 -7
- package/Mobile/Runtime.meta +8 -8
- package/Mobile.meta +8 -8
- package/Runtime/Internal/ITapCloudSaveBridge.cs +24 -24
- package/Runtime/Internal/ITapCloudSaveBridge.cs.meta +11 -11
- package/Runtime/Internal/TapCloudSaveInitTask.cs +19 -19
- package/Runtime/Internal/TapCloudSaveInitTask.cs.meta +11 -11
- package/Runtime/Internal/TapTapCloudSaveInternal.cs +51 -51
- package/Runtime/Internal/TapTapCloudSaveInternal.cs.meta +11 -11
- package/Runtime/Internal.meta +8 -8
- package/Runtime/Public/ArchiveData.cs +33 -33
- package/Runtime/Public/ArchiveData.cs.meta +2 -2
- package/Runtime/Public/ITapCloudSaveCallback.cs +8 -8
- package/Runtime/Public/ITapCloudSaveCallback.cs.meta +2 -2
- package/Runtime/Public/ITapCloudSaveRequestCallback.cs +14 -14
- package/Runtime/Public/ITapCloudSaveRequestCallback.cs.meta +2 -2
- package/Runtime/Public/TapCloudSaveRequestCallbackAdapter.cs +34 -34
- package/Runtime/Public/TapCloudSaveRequestCallbackAdapter.cs.meta +2 -2
- package/Runtime/Public/TapTapCloudSave.cs +39 -39
- package/Runtime/Public/TapTapCloudSave.cs.meta +11 -11
- package/Runtime/Public.meta +8 -8
- package/Runtime/TapSDK.CloudSave.Runtime.asmdef +14 -14
- package/Runtime/TapSDK.CloudSave.Runtime.asmdef.meta +7 -7
- package/Runtime.meta +8 -8
- package/Standalone/Editor/TapCloudSaveStandaloneProcessBuild.cs +26 -26
- package/Standalone/Editor/TapCloudSaveStandaloneProcessBuild.cs.meta +11 -11
- package/Standalone/Editor/TapSDK.CloudSave.Standalone.Editor.asmdef +16 -16
- package/Standalone/Editor/TapSDK.CloudSave.Standalone.Editor.asmdef.meta +7 -7
- package/Standalone/Editor.meta +8 -8
- package/Standalone/Plugins/x86_64/cloudsave_sdk.dll +0 -0
- package/Standalone/Plugins/x86_64/cloudsave_sdk.dll.meta +80 -80
- package/Standalone/Plugins/x86_64.meta +8 -8
- package/Standalone/Plugins.meta +8 -8
- package/Standalone/Runtime/Internal/TapCloudSaveArchiveListResponse.cs +11 -11
- package/Standalone/Runtime/Internal/TapCloudSaveArchiveListResponse.cs.meta +11 -11
- package/Standalone/Runtime/Internal/TapCloudSaveBaseResponse.cs +29 -29
- package/Standalone/Runtime/Internal/TapCloudSaveBaseResponse.cs.meta +11 -11
- package/Standalone/Runtime/Internal/TapCloudSaveTracker.cs +101 -101
- package/Standalone/Runtime/Internal/TapCloudSaveTracker.cs.meta +11 -11
- package/Standalone/Runtime/Internal/TapCloudSaveWrapper.cs +583 -561
- package/Standalone/Runtime/Internal/TapCloudSaveWrapper.cs.meta +11 -11
- package/Standalone/Runtime/Internal.meta +8 -8
- package/Standalone/Runtime/TapCloudSaveResultCode.cs +9 -9
- package/Standalone/Runtime/TapCloudSaveResultCode.cs.meta +11 -11
- package/Standalone/Runtime/TapCloudSaveStandalone.cs +712 -712
- package/Standalone/Runtime/TapCloudSaveStandalone.cs.meta +11 -11
- package/Standalone/Runtime.meta +8 -8
- package/Standalone/TapSDK.CloudSave.Standalone.Runtime.asmdef +21 -21
- package/Standalone/TapSDK.CloudSave.Standalone.Runtime.asmdef.meta +7 -7
- package/Standalone.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,101 +1,101 @@
|
|
|
1
|
-
using System;
|
|
2
|
-
using System.Collections.Generic;
|
|
3
|
-
using Newtonsoft.Json;
|
|
4
|
-
using TapSDK.Core.Standalone.Internal.Openlog;
|
|
5
|
-
|
|
6
|
-
namespace TapSDK.CloudSave.Standalone
|
|
7
|
-
{
|
|
8
|
-
internal class TapCloudSaveTracker
|
|
9
|
-
{
|
|
10
|
-
private const string ACTION_INIT = "init";
|
|
11
|
-
private const string ACTION_START = "start";
|
|
12
|
-
private const string ACTION_SUCCESS = "success";
|
|
13
|
-
private const string ACTION_FAIL = "fail";
|
|
14
|
-
|
|
15
|
-
private static TapCloudSaveTracker instance;
|
|
16
|
-
|
|
17
|
-
private TapOpenlogStandalone openlog;
|
|
18
|
-
|
|
19
|
-
private TapCloudSaveTracker()
|
|
20
|
-
{
|
|
21
|
-
openlog = new TapOpenlogStandalone("TapCloudSave", TapTapCloudSave.Version);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
public static TapCloudSaveTracker Instance
|
|
25
|
-
{
|
|
26
|
-
get
|
|
27
|
-
{
|
|
28
|
-
if (instance == null)
|
|
29
|
-
{
|
|
30
|
-
instance = new TapCloudSaveTracker();
|
|
31
|
-
}
|
|
32
|
-
return instance;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
internal void TrackInit()
|
|
37
|
-
{
|
|
38
|
-
ReportLog(ACTION_INIT);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
internal void TrackStart(string funcNace, string seesionId)
|
|
42
|
-
{
|
|
43
|
-
Dictionary<string, string> parameters = new Dictionary<string, string>
|
|
44
|
-
{
|
|
45
|
-
{ "func_name", funcNace },
|
|
46
|
-
{ "session_id", seesionId },
|
|
47
|
-
};
|
|
48
|
-
ReportLog(
|
|
49
|
-
ACTION_START,
|
|
50
|
-
new Dictionary<string, string>()
|
|
51
|
-
{
|
|
52
|
-
{ "args", JsonConvert.SerializeObject(parameters) },
|
|
53
|
-
}
|
|
54
|
-
);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
internal void TrackSuccess(string funcNace, string seesionId)
|
|
58
|
-
{
|
|
59
|
-
Dictionary<string, string> parameters = new Dictionary<string, string>
|
|
60
|
-
{
|
|
61
|
-
{ "func_name", funcNace },
|
|
62
|
-
{ "session_id", seesionId },
|
|
63
|
-
};
|
|
64
|
-
ReportLog(
|
|
65
|
-
ACTION_SUCCESS,
|
|
66
|
-
new Dictionary<string, string>()
|
|
67
|
-
{
|
|
68
|
-
{ "args", JsonConvert.SerializeObject(parameters) },
|
|
69
|
-
}
|
|
70
|
-
);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
internal void TrackFailure(
|
|
74
|
-
string funcNace,
|
|
75
|
-
string seesionId,
|
|
76
|
-
int errorCode = -1,
|
|
77
|
-
string errorMessage = null
|
|
78
|
-
)
|
|
79
|
-
{
|
|
80
|
-
Dictionary<string, string> parameters = new Dictionary<string, string>
|
|
81
|
-
{
|
|
82
|
-
{ "func_name", funcNace },
|
|
83
|
-
{ "session_id", seesionId },
|
|
84
|
-
{ "error_code", errorCode.ToString() },
|
|
85
|
-
{ "error_msg", errorMessage },
|
|
86
|
-
};
|
|
87
|
-
ReportLog(
|
|
88
|
-
ACTION_FAIL,
|
|
89
|
-
new Dictionary<string, string>()
|
|
90
|
-
{
|
|
91
|
-
{ "args", JsonConvert.SerializeObject(parameters) },
|
|
92
|
-
}
|
|
93
|
-
);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private void ReportLog(string action, Dictionary<string, string> parameters = null)
|
|
97
|
-
{
|
|
98
|
-
openlog.LogBusiness(action, parameters);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
1
|
+
using System;
|
|
2
|
+
using System.Collections.Generic;
|
|
3
|
+
using Newtonsoft.Json;
|
|
4
|
+
using TapSDK.Core.Standalone.Internal.Openlog;
|
|
5
|
+
|
|
6
|
+
namespace TapSDK.CloudSave.Standalone
|
|
7
|
+
{
|
|
8
|
+
internal class TapCloudSaveTracker
|
|
9
|
+
{
|
|
10
|
+
private const string ACTION_INIT = "init";
|
|
11
|
+
private const string ACTION_START = "start";
|
|
12
|
+
private const string ACTION_SUCCESS = "success";
|
|
13
|
+
private const string ACTION_FAIL = "fail";
|
|
14
|
+
|
|
15
|
+
private static TapCloudSaveTracker instance;
|
|
16
|
+
|
|
17
|
+
private TapOpenlogStandalone openlog;
|
|
18
|
+
|
|
19
|
+
private TapCloudSaveTracker()
|
|
20
|
+
{
|
|
21
|
+
openlog = new TapOpenlogStandalone("TapCloudSave", TapTapCloudSave.Version);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
public static TapCloudSaveTracker Instance
|
|
25
|
+
{
|
|
26
|
+
get
|
|
27
|
+
{
|
|
28
|
+
if (instance == null)
|
|
29
|
+
{
|
|
30
|
+
instance = new TapCloudSaveTracker();
|
|
31
|
+
}
|
|
32
|
+
return instance;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
internal void TrackInit()
|
|
37
|
+
{
|
|
38
|
+
ReportLog(ACTION_INIT);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
internal void TrackStart(string funcNace, string seesionId)
|
|
42
|
+
{
|
|
43
|
+
Dictionary<string, string> parameters = new Dictionary<string, string>
|
|
44
|
+
{
|
|
45
|
+
{ "func_name", funcNace },
|
|
46
|
+
{ "session_id", seesionId },
|
|
47
|
+
};
|
|
48
|
+
ReportLog(
|
|
49
|
+
ACTION_START,
|
|
50
|
+
new Dictionary<string, string>()
|
|
51
|
+
{
|
|
52
|
+
{ "args", JsonConvert.SerializeObject(parameters) },
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
internal void TrackSuccess(string funcNace, string seesionId)
|
|
58
|
+
{
|
|
59
|
+
Dictionary<string, string> parameters = new Dictionary<string, string>
|
|
60
|
+
{
|
|
61
|
+
{ "func_name", funcNace },
|
|
62
|
+
{ "session_id", seesionId },
|
|
63
|
+
};
|
|
64
|
+
ReportLog(
|
|
65
|
+
ACTION_SUCCESS,
|
|
66
|
+
new Dictionary<string, string>()
|
|
67
|
+
{
|
|
68
|
+
{ "args", JsonConvert.SerializeObject(parameters) },
|
|
69
|
+
}
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
internal void TrackFailure(
|
|
74
|
+
string funcNace,
|
|
75
|
+
string seesionId,
|
|
76
|
+
int errorCode = -1,
|
|
77
|
+
string errorMessage = null
|
|
78
|
+
)
|
|
79
|
+
{
|
|
80
|
+
Dictionary<string, string> parameters = new Dictionary<string, string>
|
|
81
|
+
{
|
|
82
|
+
{ "func_name", funcNace },
|
|
83
|
+
{ "session_id", seesionId },
|
|
84
|
+
{ "error_code", errorCode.ToString() },
|
|
85
|
+
{ "error_msg", errorMessage },
|
|
86
|
+
};
|
|
87
|
+
ReportLog(
|
|
88
|
+
ACTION_FAIL,
|
|
89
|
+
new Dictionary<string, string>()
|
|
90
|
+
{
|
|
91
|
+
{ "args", JsonConvert.SerializeObject(parameters) },
|
|
92
|
+
}
|
|
93
|
+
);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
private void ReportLog(string action, Dictionary<string, string> parameters = null)
|
|
97
|
+
{
|
|
98
|
+
openlog.LogBusiness(action, parameters);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 729397b8e788b4d608b9e9a200355798
|
|
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: 729397b8e788b4d608b9e9a200355798
|
|
3
|
+
MonoImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
serializedVersion: 2
|
|
6
|
+
defaultReferences: []
|
|
7
|
+
executionOrder: 0
|
|
8
|
+
icon: {instanceID: 0}
|
|
9
|
+
userData:
|
|
10
|
+
assetBundleName:
|
|
11
|
+
assetBundleVariant:
|