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.
Files changed (64) hide show
  1. package/Mobile/Editor/NativeDependencies.xml +14 -14
  2. package/Mobile/Editor/NativeDependencies.xml.meta +2 -2
  3. package/Mobile/Editor/TapCloudSaveMobileProcessBuild.cs +20 -20
  4. package/Mobile/Editor/TapCloudSaveMobileProcessBuild.cs.meta +11 -11
  5. package/Mobile/Editor/TapSDK.CloudSave.Mobile.Editor.asmdef +16 -16
  6. package/Mobile/Editor/TapSDK.CloudSave.Mobile.Editor.asmdef.meta +7 -7
  7. package/Mobile/Editor.meta +8 -8
  8. package/Mobile/Runtime/TapCloudSaveBridge.cs +589 -589
  9. package/Mobile/Runtime/TapCloudSaveBridge.cs.meta +11 -11
  10. package/Mobile/Runtime/TapSDK.CloudSave.Mobile.Runtime.asmdef +19 -19
  11. package/Mobile/Runtime/TapSDK.CloudSave.Mobile.Runtime.asmdef.meta +7 -7
  12. package/Mobile/Runtime.meta +8 -8
  13. package/Mobile.meta +8 -8
  14. package/Runtime/Internal/ITapCloudSaveBridge.cs +24 -24
  15. package/Runtime/Internal/ITapCloudSaveBridge.cs.meta +11 -11
  16. package/Runtime/Internal/TapCloudSaveInitTask.cs +19 -19
  17. package/Runtime/Internal/TapCloudSaveInitTask.cs.meta +11 -11
  18. package/Runtime/Internal/TapTapCloudSaveInternal.cs +51 -51
  19. package/Runtime/Internal/TapTapCloudSaveInternal.cs.meta +11 -11
  20. package/Runtime/Internal.meta +8 -8
  21. package/Runtime/Public/ArchiveData.cs +33 -33
  22. package/Runtime/Public/ArchiveData.cs.meta +2 -2
  23. package/Runtime/Public/ITapCloudSaveCallback.cs +8 -8
  24. package/Runtime/Public/ITapCloudSaveCallback.cs.meta +2 -2
  25. package/Runtime/Public/ITapCloudSaveRequestCallback.cs +14 -14
  26. package/Runtime/Public/ITapCloudSaveRequestCallback.cs.meta +2 -2
  27. package/Runtime/Public/TapCloudSaveRequestCallbackAdapter.cs +34 -34
  28. package/Runtime/Public/TapCloudSaveRequestCallbackAdapter.cs.meta +2 -2
  29. package/Runtime/Public/TapTapCloudSave.cs +39 -39
  30. package/Runtime/Public/TapTapCloudSave.cs.meta +11 -11
  31. package/Runtime/Public.meta +8 -8
  32. package/Runtime/TapSDK.CloudSave.Runtime.asmdef +14 -14
  33. package/Runtime/TapSDK.CloudSave.Runtime.asmdef.meta +7 -7
  34. package/Runtime.meta +8 -8
  35. package/Standalone/Editor/TapCloudSaveStandaloneProcessBuild.cs +26 -26
  36. package/Standalone/Editor/TapCloudSaveStandaloneProcessBuild.cs.meta +11 -11
  37. package/Standalone/Editor/TapSDK.CloudSave.Standalone.Editor.asmdef +16 -16
  38. package/Standalone/Editor/TapSDK.CloudSave.Standalone.Editor.asmdef.meta +7 -7
  39. package/Standalone/Editor.meta +8 -8
  40. package/Standalone/Plugins/x86_64/cloudsave_sdk.dll +0 -0
  41. package/Standalone/Plugins/x86_64/cloudsave_sdk.dll.meta +80 -80
  42. package/Standalone/Plugins/x86_64.meta +8 -8
  43. package/Standalone/Plugins.meta +8 -8
  44. package/Standalone/Runtime/Internal/TapCloudSaveArchiveListResponse.cs +11 -11
  45. package/Standalone/Runtime/Internal/TapCloudSaveArchiveListResponse.cs.meta +11 -11
  46. package/Standalone/Runtime/Internal/TapCloudSaveBaseResponse.cs +29 -29
  47. package/Standalone/Runtime/Internal/TapCloudSaveBaseResponse.cs.meta +11 -11
  48. package/Standalone/Runtime/Internal/TapCloudSaveTracker.cs +101 -101
  49. package/Standalone/Runtime/Internal/TapCloudSaveTracker.cs.meta +11 -11
  50. package/Standalone/Runtime/Internal/TapCloudSaveWrapper.cs +583 -561
  51. package/Standalone/Runtime/Internal/TapCloudSaveWrapper.cs.meta +11 -11
  52. package/Standalone/Runtime/Internal.meta +8 -8
  53. package/Standalone/Runtime/TapCloudSaveResultCode.cs +9 -9
  54. package/Standalone/Runtime/TapCloudSaveResultCode.cs.meta +11 -11
  55. package/Standalone/Runtime/TapCloudSaveStandalone.cs +712 -712
  56. package/Standalone/Runtime/TapCloudSaveStandalone.cs.meta +11 -11
  57. package/Standalone/Runtime.meta +8 -8
  58. package/Standalone/TapSDK.CloudSave.Standalone.Runtime.asmdef +21 -21
  59. package/Standalone/TapSDK.CloudSave.Standalone.Runtime.asmdef.meta +7 -7
  60. package/Standalone.meta +8 -8
  61. package/link.xml +3 -3
  62. package/link.xml.meta +7 -7
  63. package/package.json +11 -11
  64. 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: