@chiyou/minigame-framework 1.0.2 → 1.0.3
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/assets/Scripts/index.ts +2 -5
- package/package.json +5 -10
- package/dist/Framework/Adapter/AdAdapter/AbsAdAdapter.d.ts +0 -78
- package/dist/Framework/Adapter/AdAdapter/AbsAdAdapter.js +0 -230
- package/dist/Framework/Adapter/AdAdapter/AdAdapterBilibili.d.ts +0 -31
- package/dist/Framework/Adapter/AdAdapter/AdAdapterBilibili.js +0 -224
- package/dist/Framework/Adapter/AdAdapter/AdAdapterDouYin.d.ts +0 -34
- package/dist/Framework/Adapter/AdAdapter/AdAdapterDouYin.js +0 -524
- package/dist/Framework/Adapter/AdAdapter/AdAdapterHonor.d.ts +0 -34
- package/dist/Framework/Adapter/AdAdapter/AdAdapterHonor.js +0 -631
- package/dist/Framework/Adapter/AdAdapter/AdAdapterHuaWei.d.ts +0 -33
- package/dist/Framework/Adapter/AdAdapter/AdAdapterHuaWei.js +0 -460
- package/dist/Framework/Adapter/AdAdapter/AdAdapterJingDong.d.ts +0 -31
- package/dist/Framework/Adapter/AdAdapter/AdAdapterJingDong.js +0 -227
- package/dist/Framework/Adapter/AdAdapter/AdAdapterKuaiShou.d.ts +0 -33
- package/dist/Framework/Adapter/AdAdapter/AdAdapterKuaiShou.js +0 -458
- package/dist/Framework/Adapter/AdAdapter/AdAdapterOppo.d.ts +0 -35
- package/dist/Framework/Adapter/AdAdapter/AdAdapterOppo.js +0 -770
- package/dist/Framework/Adapter/AdAdapter/AdAdapterTapTap.d.ts +0 -33
- package/dist/Framework/Adapter/AdAdapter/AdAdapterTapTap.js +0 -519
- package/dist/Framework/Adapter/AdAdapter/AdAdapterVivo.d.ts +0 -33
- package/dist/Framework/Adapter/AdAdapter/AdAdapterVivo.js +0 -492
- package/dist/Framework/Adapter/AdAdapter/AdAdapterWeiXin.d.ts +0 -33
- package/dist/Framework/Adapter/AdAdapter/AdAdapterWeiXin.js +0 -695
- package/dist/Framework/Adapter/AdAdapter/AdAdapterXiaoMi.d.ts +0 -34
- package/dist/Framework/Adapter/AdAdapter/AdAdapterXiaoMi.js +0 -597
- package/dist/Framework/Adapter/AdAdapter/AdAdapterZhiFuBao.d.ts +0 -33
- package/dist/Framework/Adapter/AdAdapter/AdAdapterZhiFuBao.js +0 -458
- package/dist/Framework/Adapter/PlatformAdapter/AbsPlatformAdapter.d.ts +0 -51
- package/dist/Framework/Adapter/PlatformAdapter/AbsPlatformAdapter.js +0 -17
- package/dist/Framework/Adapter/PlatformAdapter/PlatformAdapterBilibili.d.ts +0 -45
- package/dist/Framework/Adapter/PlatformAdapter/PlatformAdapterBilibili.js +0 -555
- package/dist/Framework/Adapter/PlatformAdapter/PlatformAdapterDesktopBrowser.d.ts +0 -44
- package/dist/Framework/Adapter/PlatformAdapter/PlatformAdapterDesktopBrowser.js +0 -148
- package/dist/Framework/Adapter/PlatformAdapter/PlatformAdapterDouYin.d.ts +0 -48
- package/dist/Framework/Adapter/PlatformAdapter/PlatformAdapterDouYin.js +0 -715
- package/dist/Framework/Adapter/PlatformAdapter/PlatformAdapterHonor.d.ts +0 -44
- package/dist/Framework/Adapter/PlatformAdapter/PlatformAdapterHonor.js +0 -296
- package/dist/Framework/Adapter/PlatformAdapter/PlatformAdapterHuaWei.d.ts +0 -45
- package/dist/Framework/Adapter/PlatformAdapter/PlatformAdapterHuaWei.js +0 -284
- package/dist/Framework/Adapter/PlatformAdapter/PlatformAdapterJingDong.d.ts +0 -44
- package/dist/Framework/Adapter/PlatformAdapter/PlatformAdapterJingDong.js +0 -283
- package/dist/Framework/Adapter/PlatformAdapter/PlatformAdapterKuaiShou.d.ts +0 -43
- package/dist/Framework/Adapter/PlatformAdapter/PlatformAdapterKuaiShou.js +0 -406
- package/dist/Framework/Adapter/PlatformAdapter/PlatformAdapterOppo.d.ts +0 -43
- package/dist/Framework/Adapter/PlatformAdapter/PlatformAdapterOppo.js +0 -248
- package/dist/Framework/Adapter/PlatformAdapter/PlatformAdapterTapTap.d.ts +0 -44
- package/dist/Framework/Adapter/PlatformAdapter/PlatformAdapterTapTap.js +0 -517
- package/dist/Framework/Adapter/PlatformAdapter/PlatformAdapterVivo.d.ts +0 -44
- package/dist/Framework/Adapter/PlatformAdapter/PlatformAdapterVivo.js +0 -295
- package/dist/Framework/Adapter/PlatformAdapter/PlatformAdapterWeiXin.d.ts +0 -55
- package/dist/Framework/Adapter/PlatformAdapter/PlatformAdapterWeiXin.js +0 -964
- package/dist/Framework/Adapter/PlatformAdapter/PlatformAdapterXiaoMi.d.ts +0 -44
- package/dist/Framework/Adapter/PlatformAdapter/PlatformAdapterXiaoMi.js +0 -295
- package/dist/Framework/Adapter/PlatformAdapter/PlatformAdapterZhiFuBao.d.ts +0 -44
- package/dist/Framework/Adapter/PlatformAdapter/PlatformAdapterZhiFuBao.js +0 -393
- package/dist/Framework/Definition/AdDefinition.d.ts +0 -130
- package/dist/Framework/Definition/AdDefinition.js +0 -208
- package/dist/Framework/Definition/FrameworkBase.d.ts +0 -13
- package/dist/Framework/Definition/FrameworkBase.js +0 -23
- package/dist/Framework/Definition/PrivacyDefinition.d.ts +0 -51
- package/dist/Framework/Definition/PrivacyDefinition.js +0 -70
- package/dist/Framework/Definition/SocialDefinition.d.ts +0 -16
- package/dist/Framework/Definition/SocialDefinition.js +0 -2
- package/dist/Framework/Definition/SystemDefinition.d.ts +0 -43
- package/dist/Framework/Definition/SystemDefinition.js +0 -28
- package/dist/Framework/Definition/UIDefinition.d.ts +0 -6
- package/dist/Framework/Definition/UIDefinition.js +0 -7
- package/dist/Framework/Definition/UserDefinition.d.ts +0 -14
- package/dist/Framework/Definition/UserDefinition.js +0 -10
- package/dist/Framework/Manager/AdMgr.d.ts +0 -57
- package/dist/Framework/Manager/AdMgr.js +0 -684
- package/dist/Framework/Manager/AudioMgr.d.ts +0 -28
- package/dist/Framework/Manager/AudioMgr.js +0 -265
- package/dist/Framework/Manager/BaseMgr.d.ts +0 -18
- package/dist/Framework/Manager/BaseMgr.js +0 -114
- package/dist/Framework/Manager/EventMgr.d.ts +0 -18
- package/dist/Framework/Manager/EventMgr.js +0 -90
- package/dist/Framework/Manager/ExcelMgr.d.ts +0 -24
- package/dist/Framework/Manager/ExcelMgr.js +0 -156
- package/dist/Framework/Manager/LifeCycleMgr.d.ts +0 -20
- package/dist/Framework/Manager/LifeCycleMgr.js +0 -110
- package/dist/Framework/Manager/NodePoolMgr.d.ts +0 -53
- package/dist/Framework/Manager/NodePoolMgr.js +0 -279
- package/dist/Framework/Manager/PrivacyMgr.d.ts +0 -15
- package/dist/Framework/Manager/PrivacyMgr.js +0 -176
- package/dist/Framework/Manager/ResMgr.d.ts +0 -49
- package/dist/Framework/Manager/ResMgr.js +0 -337
- package/dist/Framework/Manager/SocialMgr.d.ts +0 -23
- package/dist/Framework/Manager/SocialMgr.js +0 -220
- package/dist/Framework/Manager/SystemMgr.d.ts +0 -24
- package/dist/Framework/Manager/SystemMgr.js +0 -222
- package/dist/Framework/Manager/TimerMgr.d.ts +0 -11
- package/dist/Framework/Manager/TimerMgr.js +0 -63
- package/dist/Framework/Manager/UIMgr.d.ts +0 -33
- package/dist/Framework/Manager/UIMgr.js +0 -223
- package/dist/Framework/Manager/UserMgr.d.ts +0 -15
- package/dist/Framework/Manager/UserMgr.js +0 -148
- package/dist/Framework/Utils/BezierUtils.d.ts +0 -49
- package/dist/Framework/Utils/BezierUtils.js +0 -247
- package/dist/Framework/Utils/CSVUtils.d.ts +0 -35
- package/dist/Framework/Utils/CSVUtils.js +0 -341
- package/dist/Framework/Utils/LogUtils.d.ts +0 -7
- package/dist/Framework/Utils/LogUtils.js +0 -32
- package/dist/Framework/Utils/NumberUtils.d.ts +0 -16
- package/dist/Framework/Utils/NumberUtils.js +0 -44
- package/dist/Framework/Utils/TaskUtils.d.ts +0 -10
- package/dist/Framework/Utils/TaskUtils.js +0 -24
- package/dist/Framework/Utils/TimeUtils.d.ts +0 -19
- package/dist/Framework/Utils/TimeUtils.js +0 -33
- package/dist/Framework/Utils/WXBizDataCryptUtils.d.ts +0 -12
- package/dist/Framework/Utils/WXBizDataCryptUtils.js +0 -37
- package/dist/index.d.ts +0 -30
- package/dist/index.js +0 -35
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) {
|
|
2
|
-
if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
|
|
3
|
-
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
|
4
|
-
};
|
|
5
|
-
var _a;
|
|
6
|
-
import { PlatformID } from "./SystemDefinition";
|
|
7
|
-
export var AdType;
|
|
8
|
-
(function (AdType) {
|
|
9
|
-
AdType[AdType["Type_Banner"] = 0] = "Type_Banner";
|
|
10
|
-
AdType[AdType["Type_Custom"] = 1] = "Type_Custom";
|
|
11
|
-
AdType[AdType["Type_Interstitial"] = 2] = "Type_Interstitial";
|
|
12
|
-
AdType[AdType["Type_RewardedVideo"] = 3] = "Type_RewardedVideo";
|
|
13
|
-
AdType[AdType["Type_Portal"] = 4] = "Type_Portal";
|
|
14
|
-
})(AdType || (AdType = {}));
|
|
15
|
-
export class AdCallback {
|
|
16
|
-
constructor(callback, target) {
|
|
17
|
-
this.callback = callback;
|
|
18
|
-
this.target = target;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
export class RewardedVideoAd_Record {
|
|
22
|
-
constructor() {
|
|
23
|
-
this.clickCount = 0;
|
|
24
|
-
this.viewCount = 0;
|
|
25
|
-
this.completeCount = 0;
|
|
26
|
-
this.giveupCount = 0;
|
|
27
|
-
this.errorCount = 0;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export class InterstitialAd_Record {
|
|
31
|
-
constructor() {
|
|
32
|
-
this.viewCount = 0;
|
|
33
|
-
this.completeCount = 0;
|
|
34
|
-
this.errorCount = 0;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
export class Ad_Record {
|
|
38
|
-
constructor() {
|
|
39
|
-
this.intersitialAdRecord = new Map();
|
|
40
|
-
this.rewardedVideoAdRecord = new Map();
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
export var InterstitialAd_Callback_Status;
|
|
44
|
-
(function (InterstitialAd_Callback_Status) {
|
|
45
|
-
InterstitialAd_Callback_Status[InterstitialAd_Callback_Status["Status_NotSupport"] = -2] = "Status_NotSupport";
|
|
46
|
-
InterstitialAd_Callback_Status[InterstitialAd_Callback_Status["Status_Error"] = -1] = "Status_Error";
|
|
47
|
-
InterstitialAd_Callback_Status[InterstitialAd_Callback_Status["Status_Close"] = 0] = "Status_Close";
|
|
48
|
-
InterstitialAd_Callback_Status[InterstitialAd_Callback_Status["Status_Watching"] = 1] = "Status_Watching";
|
|
49
|
-
InterstitialAd_Callback_Status[InterstitialAd_Callback_Status["Status_InsufficientInterval"] = 2] = "Status_InsufficientInterval";
|
|
50
|
-
})(InterstitialAd_Callback_Status || (InterstitialAd_Callback_Status = {}));
|
|
51
|
-
export var RewardedVideoAd_Callback_Status;
|
|
52
|
-
(function (RewardedVideoAd_Callback_Status) {
|
|
53
|
-
RewardedVideoAd_Callback_Status[RewardedVideoAd_Callback_Status["Status_NotSupport"] = -2] = "Status_NotSupport";
|
|
54
|
-
RewardedVideoAd_Callback_Status[RewardedVideoAd_Callback_Status["Status_Error"] = -1] = "Status_Error";
|
|
55
|
-
RewardedVideoAd_Callback_Status[RewardedVideoAd_Callback_Status["Status_Complete"] = 0] = "Status_Complete";
|
|
56
|
-
RewardedVideoAd_Callback_Status[RewardedVideoAd_Callback_Status["Status_Giveup"] = 1] = "Status_Giveup";
|
|
57
|
-
RewardedVideoAd_Callback_Status[RewardedVideoAd_Callback_Status["Status_Watching"] = 2] = "Status_Watching";
|
|
58
|
-
})(RewardedVideoAd_Callback_Status || (RewardedVideoAd_Callback_Status = {}));
|
|
59
|
-
export var AdSwitchType;
|
|
60
|
-
(function (AdSwitchType) {
|
|
61
|
-
AdSwitchType[AdSwitchType["Off"] = 0] = "Off";
|
|
62
|
-
AdSwitchType[AdSwitchType["On_Debug"] = 1] = "On_Debug";
|
|
63
|
-
AdSwitchType[AdSwitchType["On_Release"] = 2] = "On_Release";
|
|
64
|
-
})(AdSwitchType || (AdSwitchType = {}));
|
|
65
|
-
//BannerAd
|
|
66
|
-
export var BannerAd_XPosition;
|
|
67
|
-
(function (BannerAd_XPosition) {
|
|
68
|
-
BannerAd_XPosition[BannerAd_XPosition["Center"] = 0] = "Center";
|
|
69
|
-
BannerAd_XPosition[BannerAd_XPosition["Left"] = 1] = "Left";
|
|
70
|
-
BannerAd_XPosition[BannerAd_XPosition["Right"] = 2] = "Right";
|
|
71
|
-
})(BannerAd_XPosition || (BannerAd_XPosition = {}));
|
|
72
|
-
export var BannerAd_YPosition;
|
|
73
|
-
(function (BannerAd_YPosition) {
|
|
74
|
-
BannerAd_YPosition[BannerAd_YPosition["Center"] = 0] = "Center";
|
|
75
|
-
BannerAd_YPosition[BannerAd_YPosition["Top"] = 1] = "Top";
|
|
76
|
-
BannerAd_YPosition[BannerAd_YPosition["Bottom"] = 2] = "Bottom";
|
|
77
|
-
})(BannerAd_YPosition || (BannerAd_YPosition = {}));
|
|
78
|
-
// CustomAd
|
|
79
|
-
export var CustomAd_XPosition;
|
|
80
|
-
(function (CustomAd_XPosition) {
|
|
81
|
-
CustomAd_XPosition[CustomAd_XPosition["Center"] = 0] = "Center";
|
|
82
|
-
CustomAd_XPosition[CustomAd_XPosition["Left"] = 1] = "Left";
|
|
83
|
-
CustomAd_XPosition[CustomAd_XPosition["Right"] = 2] = "Right";
|
|
84
|
-
})(CustomAd_XPosition || (CustomAd_XPosition = {}));
|
|
85
|
-
export var CustomAd_YPosition;
|
|
86
|
-
(function (CustomAd_YPosition) {
|
|
87
|
-
CustomAd_YPosition[CustomAd_YPosition["Center"] = 0] = "Center";
|
|
88
|
-
CustomAd_YPosition[CustomAd_YPosition["Top"] = 1] = "Top";
|
|
89
|
-
CustomAd_YPosition[CustomAd_YPosition["Bottom"] = 2] = "Bottom";
|
|
90
|
-
})(CustomAd_YPosition || (CustomAd_YPosition = {}));
|
|
91
|
-
export class AdDefinition {
|
|
92
|
-
}
|
|
93
|
-
AdDefinition.AdInfoConfig = (_a = class {
|
|
94
|
-
},
|
|
95
|
-
__setFunctionName(_a, "AdInfoConfig"),
|
|
96
|
-
_a.CustomAd_Info = {
|
|
97
|
-
xPostion: CustomAd_XPosition.Center,
|
|
98
|
-
yPostion: CustomAd_YPosition.Top,
|
|
99
|
-
shouldShow: true,
|
|
100
|
-
},
|
|
101
|
-
_a.BannerAd_Info = {
|
|
102
|
-
xPosition: BannerAd_XPosition.Center,
|
|
103
|
-
yPosition: BannerAd_YPosition.Bottom,
|
|
104
|
-
shouldShow: true,
|
|
105
|
-
},
|
|
106
|
-
_a);
|
|
107
|
-
AdDefinition.CustomAdStyleConfig = new Map([
|
|
108
|
-
[PlatformID.ID_MiniGame_WeiXin, {
|
|
109
|
-
xMargin: 0,
|
|
110
|
-
yMargin: 0,
|
|
111
|
-
width: 360,
|
|
112
|
-
height: 106,
|
|
113
|
-
scaleRatio: 0.8,
|
|
114
|
-
canAutoRefresh: true,
|
|
115
|
-
refreshInterval: 30,
|
|
116
|
-
}],
|
|
117
|
-
]);
|
|
118
|
-
AdDefinition.BannerAdStyleConfig = new Map([
|
|
119
|
-
[PlatformID.ID_MiniGame_WeiXin, {
|
|
120
|
-
xMargin: 0,
|
|
121
|
-
yMargin: 0,
|
|
122
|
-
width: 300,
|
|
123
|
-
height: 99.2,
|
|
124
|
-
scaleRatio: 1,
|
|
125
|
-
canAutoRefresh: false,
|
|
126
|
-
refreshInterval: 30,
|
|
127
|
-
}],
|
|
128
|
-
[PlatformID.ID_MiniGame_KuaiShou, {
|
|
129
|
-
xMargin: 4,
|
|
130
|
-
yMargin: 4,
|
|
131
|
-
width: 308,
|
|
132
|
-
height: 76,
|
|
133
|
-
scaleRatio: 1,
|
|
134
|
-
canAutoRefresh: true,
|
|
135
|
-
refreshInterval: 30,
|
|
136
|
-
}],
|
|
137
|
-
[PlatformID.ID_MiniGame_TapTap, {
|
|
138
|
-
xMargin: 0,
|
|
139
|
-
yMargin: 0,
|
|
140
|
-
width: 300,
|
|
141
|
-
height: 105,
|
|
142
|
-
scaleRatio: 1,
|
|
143
|
-
canAutoRefresh: true,
|
|
144
|
-
refreshInterval: 30,
|
|
145
|
-
}],
|
|
146
|
-
[PlatformID.ID_QuickGame_XiaoMi, {
|
|
147
|
-
xMargin: 0,
|
|
148
|
-
yMargin: 0,
|
|
149
|
-
width: 314,
|
|
150
|
-
height: 91,
|
|
151
|
-
scaleRatio: 1,
|
|
152
|
-
canAutoRefresh: true,
|
|
153
|
-
refreshInterval: 30,
|
|
154
|
-
}],
|
|
155
|
-
[PlatformID.ID_QuickGame_Oppo, {
|
|
156
|
-
xMargin: 0,
|
|
157
|
-
yMargin: 0,
|
|
158
|
-
width: 1000,
|
|
159
|
-
height: 340,
|
|
160
|
-
scaleRatio: 0,
|
|
161
|
-
canAutoRefresh: false,
|
|
162
|
-
refreshInterval: 45,
|
|
163
|
-
}],
|
|
164
|
-
[PlatformID.ID_QuickGame_Vivo, {
|
|
165
|
-
xMargin: 0,
|
|
166
|
-
yMargin: 0,
|
|
167
|
-
width: 720,
|
|
168
|
-
height: 113,
|
|
169
|
-
scaleRatio: 1,
|
|
170
|
-
canAutoRefresh: true,
|
|
171
|
-
refreshInterval: 30,
|
|
172
|
-
}],
|
|
173
|
-
[PlatformID.ID_QuickGame_Honor, {
|
|
174
|
-
xMargin: 0,
|
|
175
|
-
yMargin: 0,
|
|
176
|
-
width: 600,
|
|
177
|
-
height: 120,
|
|
178
|
-
scaleRatio: 1,
|
|
179
|
-
canAutoRefresh: false,
|
|
180
|
-
refreshInterval: 30,
|
|
181
|
-
}],
|
|
182
|
-
[PlatformID.ID_QuickGame_HuaWei, {
|
|
183
|
-
xMargin: 0,
|
|
184
|
-
yMargin: 0,
|
|
185
|
-
width: 360,
|
|
186
|
-
height: 57,
|
|
187
|
-
scaleRatio: 1,
|
|
188
|
-
canAutoRefresh: true,
|
|
189
|
-
refreshInterval: 30,
|
|
190
|
-
}],
|
|
191
|
-
]);
|
|
192
|
-
AdDefinition.PortalAdStyleConfig = new Map([
|
|
193
|
-
[PlatformID.ID_MiniGame_WeiXin, {
|
|
194
|
-
width: 360,
|
|
195
|
-
height: 434,
|
|
196
|
-
scaleRatio: 0.8,
|
|
197
|
-
}],
|
|
198
|
-
[PlatformID.ID_QuickGame_Oppo, {
|
|
199
|
-
width: 0,
|
|
200
|
-
height: 0,
|
|
201
|
-
scaleRatio: 1.0,
|
|
202
|
-
}],
|
|
203
|
-
[PlatformID.ID_QuickGame_Honor, {
|
|
204
|
-
width: 0,
|
|
205
|
-
height: 0,
|
|
206
|
-
scaleRatio: 1.0,
|
|
207
|
-
}],
|
|
208
|
-
]);
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare class FrameworkBase {
|
|
2
|
-
static readonly LocalStorage: {
|
|
3
|
-
new (): {};
|
|
4
|
-
readonly Key_AudioMgr_EffectSwitch: "AudioMgr_EffectSwitch";
|
|
5
|
-
readonly Key_AudioMgr_MusicSwitch: "AudioMgr_MusicSwitch";
|
|
6
|
-
readonly Key_Settings_EffectSwitch: string;
|
|
7
|
-
readonly Key_Settings_MusicSwitch: string;
|
|
8
|
-
readonly Key_UserMgr_NewUser: "UserMgr_NewUser";
|
|
9
|
-
readonly Key_UserInfo_NewUser: "UserInfo_NewUser";
|
|
10
|
-
readonly Key_PrivacyManager_KindReminder_AgreeVersion: string;
|
|
11
|
-
readonly Key_KindReminder_AgreeVersion: string;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) {
|
|
2
|
-
if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
|
|
3
|
-
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
|
4
|
-
};
|
|
5
|
-
var _a;
|
|
6
|
-
export class FrameworkBase {
|
|
7
|
-
}
|
|
8
|
-
FrameworkBase.LocalStorage = (_a = class {
|
|
9
|
-
},
|
|
10
|
-
__setFunctionName(_a, "LocalStorage"),
|
|
11
|
-
_a.Key_AudioMgr_EffectSwitch = "AudioMgr_EffectSwitch",
|
|
12
|
-
_a.Key_AudioMgr_MusicSwitch = "AudioMgr_MusicSwitch",
|
|
13
|
-
_a.Key_Settings_EffectSwitch = "Settings_EffectSwitch" // old key
|
|
14
|
-
,
|
|
15
|
-
_a.Key_Settings_MusicSwitch = "Settings_MusicSwitch" // old key
|
|
16
|
-
,
|
|
17
|
-
_a.Key_UserMgr_NewUser = "UserMgr_NewUser",
|
|
18
|
-
_a.Key_UserInfo_NewUser = "UserInfo_NewUser" //old key
|
|
19
|
-
,
|
|
20
|
-
_a.Key_PrivacyManager_KindReminder_AgreeVersion = "PrivacyManager_KindReminder_AgreeVersion",
|
|
21
|
-
_a.Key_KindReminder_AgreeVersion = "KindReminder_AgreeVersion" // old key
|
|
22
|
-
,
|
|
23
|
-
_a);
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { PlatformID } from "./SystemDefinition";
|
|
2
|
-
export declare enum PrivacyType {
|
|
3
|
-
PrivacyType_FriendInteraction = 1,
|
|
4
|
-
PrivacyType_GameClub = 2
|
|
5
|
-
}
|
|
6
|
-
export declare enum QueryPrivacyResult {
|
|
7
|
-
Result_Invalid = 0,
|
|
8
|
-
Result_Agree = 1,
|
|
9
|
-
Result_Continue = 2,// 部分平台不支持授权权限,直接调用具体行为方法
|
|
10
|
-
Result_PrivacyReject = 3,
|
|
11
|
-
Result_ScopeDisable = 4,
|
|
12
|
-
Result_AuthorizeReject = 5
|
|
13
|
-
}
|
|
14
|
-
export declare enum GetSettingResult {
|
|
15
|
-
Result_SettingNotAvailable = -2,// -2 无设置
|
|
16
|
-
Result_Rejected = -1,// -1 表示已拒绝,引导在设置里打开
|
|
17
|
-
Result_NotExist_AuthorizeAvailable = 0,// 0 表示不存在(历史未操作过),执行authorize
|
|
18
|
-
Result_Authorized = 1,// 1 表示已授权,成功
|
|
19
|
-
Result_NotExist_AuthorizeNotAvailable = 2
|
|
20
|
-
}
|
|
21
|
-
export declare enum AuthorizeResult {
|
|
22
|
-
Result_AuthorizeNotAvailable = -1,// -1 无授权
|
|
23
|
-
Result_Rejected = 0,// 0 已拒绝
|
|
24
|
-
Result_Authorized = 1
|
|
25
|
-
}
|
|
26
|
-
export type PrivacyInfo = {
|
|
27
|
-
privacyPlatformMap: Map<PlatformID, PrivacyPlatformInfo>;
|
|
28
|
-
};
|
|
29
|
-
export type PrivacyPlatformInfo = {
|
|
30
|
-
scopeDescription: string;
|
|
31
|
-
scopeDisable: boolean;
|
|
32
|
-
needAuthorize: boolean;
|
|
33
|
-
scopeName: string;
|
|
34
|
-
};
|
|
35
|
-
export declare enum KindReminderType {
|
|
36
|
-
Type_UserAgreement = 1,
|
|
37
|
-
Type_PrivacyPolicy = 2
|
|
38
|
-
}
|
|
39
|
-
export type KindRemindItemContent = {
|
|
40
|
-
mainContent: string[][];
|
|
41
|
-
supplementaryContent: Map<PlatformID, string[][]>;
|
|
42
|
-
};
|
|
43
|
-
export type KindReminder = {
|
|
44
|
-
latestVersion: string;
|
|
45
|
-
shouldShowPlatform: Set<PlatformID>;
|
|
46
|
-
userAgreement: KindRemindItemContent;
|
|
47
|
-
privacyPolicy: KindRemindItemContent;
|
|
48
|
-
};
|
|
49
|
-
export declare class PrivacyDefinition {
|
|
50
|
-
static readonly PrivacyConfig: Map<PrivacyType, PrivacyInfo>;
|
|
51
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { PlatformID } from "./SystemDefinition";
|
|
2
|
-
export var PrivacyType;
|
|
3
|
-
(function (PrivacyType) {
|
|
4
|
-
PrivacyType[PrivacyType["PrivacyType_FriendInteraction"] = 1] = "PrivacyType_FriendInteraction";
|
|
5
|
-
PrivacyType[PrivacyType["PrivacyType_GameClub"] = 2] = "PrivacyType_GameClub";
|
|
6
|
-
})(PrivacyType || (PrivacyType = {}));
|
|
7
|
-
export var QueryPrivacyResult;
|
|
8
|
-
(function (QueryPrivacyResult) {
|
|
9
|
-
QueryPrivacyResult[QueryPrivacyResult["Result_Invalid"] = 0] = "Result_Invalid";
|
|
10
|
-
QueryPrivacyResult[QueryPrivacyResult["Result_Agree"] = 1] = "Result_Agree";
|
|
11
|
-
QueryPrivacyResult[QueryPrivacyResult["Result_Continue"] = 2] = "Result_Continue";
|
|
12
|
-
QueryPrivacyResult[QueryPrivacyResult["Result_PrivacyReject"] = 3] = "Result_PrivacyReject";
|
|
13
|
-
QueryPrivacyResult[QueryPrivacyResult["Result_ScopeDisable"] = 4] = "Result_ScopeDisable";
|
|
14
|
-
QueryPrivacyResult[QueryPrivacyResult["Result_AuthorizeReject"] = 5] = "Result_AuthorizeReject";
|
|
15
|
-
})(QueryPrivacyResult || (QueryPrivacyResult = {}));
|
|
16
|
-
export var GetSettingResult;
|
|
17
|
-
(function (GetSettingResult) {
|
|
18
|
-
GetSettingResult[GetSettingResult["Result_SettingNotAvailable"] = -2] = "Result_SettingNotAvailable";
|
|
19
|
-
GetSettingResult[GetSettingResult["Result_Rejected"] = -1] = "Result_Rejected";
|
|
20
|
-
GetSettingResult[GetSettingResult["Result_NotExist_AuthorizeAvailable"] = 0] = "Result_NotExist_AuthorizeAvailable";
|
|
21
|
-
GetSettingResult[GetSettingResult["Result_Authorized"] = 1] = "Result_Authorized";
|
|
22
|
-
GetSettingResult[GetSettingResult["Result_NotExist_AuthorizeNotAvailable"] = 2] = "Result_NotExist_AuthorizeNotAvailable";
|
|
23
|
-
})(GetSettingResult || (GetSettingResult = {}));
|
|
24
|
-
export var AuthorizeResult;
|
|
25
|
-
(function (AuthorizeResult) {
|
|
26
|
-
AuthorizeResult[AuthorizeResult["Result_AuthorizeNotAvailable"] = -1] = "Result_AuthorizeNotAvailable";
|
|
27
|
-
AuthorizeResult[AuthorizeResult["Result_Rejected"] = 0] = "Result_Rejected";
|
|
28
|
-
AuthorizeResult[AuthorizeResult["Result_Authorized"] = 1] = "Result_Authorized";
|
|
29
|
-
})(AuthorizeResult || (AuthorizeResult = {}));
|
|
30
|
-
export var KindReminderType;
|
|
31
|
-
(function (KindReminderType) {
|
|
32
|
-
KindReminderType[KindReminderType["Type_UserAgreement"] = 1] = "Type_UserAgreement";
|
|
33
|
-
KindReminderType[KindReminderType["Type_PrivacyPolicy"] = 2] = "Type_PrivacyPolicy";
|
|
34
|
-
})(KindReminderType || (KindReminderType = {}));
|
|
35
|
-
export class PrivacyDefinition {
|
|
36
|
-
}
|
|
37
|
-
PrivacyDefinition.PrivacyConfig = new Map([
|
|
38
|
-
[PrivacyType.PrivacyType_FriendInteraction, {
|
|
39
|
-
privacyPlatformMap: new Map([
|
|
40
|
-
[PlatformID.ID_H5_DesktopBrowser, { scopeDescription: "", scopeDisable: true, needAuthorize: false, scopeName: "" }],
|
|
41
|
-
[PlatformID.ID_MiniGame_WeiXin, { scopeDescription: "用户信息", scopeDisable: false, needAuthorize: false, scopeName: "scope.WxFriendInteraction" }],
|
|
42
|
-
[PlatformID.ID_MiniGame_DouYin, { scopeDescription: "用户信息", scopeDisable: false, needAuthorize: false, scopeName: "" }],
|
|
43
|
-
[PlatformID.ID_MiniGame_KuaiShou, { scopeDescription: "用户信息", scopeDisable: true, needAuthorize: false, scopeName: "" }],
|
|
44
|
-
[PlatformID.ID_MiniGame_ZhiFuBao, { scopeDescription: "", scopeDisable: true, needAuthorize: false, scopeName: "" }],
|
|
45
|
-
[PlatformID.ID_MiniGame_Bilibili, { scopeDescription: "用户信息", scopeDisable: false, needAuthorize: false, scopeName: "" }],
|
|
46
|
-
[PlatformID.ID_MiniGame_TapTap, { scopeDescription: "用户信息", scopeDisable: false, needAuthorize: true, scopeName: "scope.friendInteraction" }],
|
|
47
|
-
[PlatformID.ID_MiniGame_JingDong, { scopeDescription: "", scopeDisable: true, needAuthorize: false, scopeName: "" }],
|
|
48
|
-
[PlatformID.ID_QuickGame_XiaoMi, { scopeDescription: "", scopeDisable: true, needAuthorize: false, scopeName: "" }],
|
|
49
|
-
[PlatformID.ID_QuickGame_Oppo, { scopeDescription: "", scopeDisable: true, needAuthorize: false, scopeName: "" }],
|
|
50
|
-
[PlatformID.ID_QuickGame_Honor, { scopeDescription: "", scopeDisable: true, needAuthorize: false, scopeName: "" }],
|
|
51
|
-
[PlatformID.ID_QuickGame_Vivo, { scopeDescription: "", scopeDisable: true, needAuthorize: false, scopeName: "" }],
|
|
52
|
-
]),
|
|
53
|
-
}],
|
|
54
|
-
[PrivacyType.PrivacyType_GameClub, {
|
|
55
|
-
privacyPlatformMap: new Map([
|
|
56
|
-
[PlatformID.ID_H5_DesktopBrowser, { scopeDescription: "", scopeDisable: true, needAuthorize: false, scopeName: "" }],
|
|
57
|
-
[PlatformID.ID_MiniGame_WeiXin, { scopeDescription: "游戏圈数据", scopeDisable: false, needAuthorize: true, scopeName: "scope.gameClubData" }],
|
|
58
|
-
[PlatformID.ID_MiniGame_DouYin, { scopeDescription: "游戏站数据", scopeDisable: false, needAuthorize: true, scopeName: "scope.gameClub" }],
|
|
59
|
-
[PlatformID.ID_MiniGame_KuaiShou, { scopeDescription: "", scopeDisable: true, needAuthorize: false, scopeName: "" }],
|
|
60
|
-
[PlatformID.ID_MiniGame_ZhiFuBao, { scopeDescription: "", scopeDisable: true, needAuthorize: false, scopeName: "" }],
|
|
61
|
-
[PlatformID.ID_MiniGame_Bilibili, { scopeDescription: "", scopeDisable: true, needAuthorize: false, scopeName: "" }],
|
|
62
|
-
[PlatformID.ID_MiniGame_TapTap, { scopeDescription: "", scopeDisable: true, needAuthorize: false, scopeName: "" }],
|
|
63
|
-
[PlatformID.ID_MiniGame_JingDong, { scopeDescription: "", scopeDisable: true, needAuthorize: false, scopeName: "" }],
|
|
64
|
-
[PlatformID.ID_QuickGame_XiaoMi, { scopeDescription: "", scopeDisable: true, needAuthorize: false, scopeName: "" }],
|
|
65
|
-
[PlatformID.ID_QuickGame_Oppo, { scopeDescription: "", scopeDisable: true, needAuthorize: false, scopeName: "" }],
|
|
66
|
-
[PlatformID.ID_QuickGame_Honor, { scopeDescription: "", scopeDisable: true, needAuthorize: false, scopeName: "" }],
|
|
67
|
-
[PlatformID.ID_QuickGame_Vivo, { scopeDescription: "", scopeDisable: true, needAuthorize: false, scopeName: "" }],
|
|
68
|
-
]),
|
|
69
|
-
}],
|
|
70
|
-
]);
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { PlatformID } from "./SystemDefinition";
|
|
2
|
-
export type ShareDefaultInfo = {
|
|
3
|
-
title: string;
|
|
4
|
-
desc: string;
|
|
5
|
-
imageUrl: string;
|
|
6
|
-
};
|
|
7
|
-
export type ShareTemplateInfo = {
|
|
8
|
-
templateId: string;
|
|
9
|
-
imageUrl: string;
|
|
10
|
-
};
|
|
11
|
-
export type ShareInfo = {
|
|
12
|
-
defaultInfo: ShareDefaultInfo;
|
|
13
|
-
templateInfoMap: Map<PlatformID, ShareTemplateInfo>;
|
|
14
|
-
};
|
|
15
|
-
export declare class SocialDefinition {
|
|
16
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export declare enum PlatformID {
|
|
2
|
-
ID_UNKNOWN = -1,
|
|
3
|
-
ID_H5_DesktopBrowser = 0,//DESKTOP_BROWSER
|
|
4
|
-
ID_MiniGame_WeiXin = 1,//WECHAT_GAME
|
|
5
|
-
ID_MiniGame_DouYin = 2,//BYTEDANCE_MINI_GAME
|
|
6
|
-
ID_MiniGame_KuaiShou = 3,//Transfer From WECHAT_GAME
|
|
7
|
-
ID_MiniGame_QQ = 4,//Transfer From WECHAT_GAME
|
|
8
|
-
ID_MiniGame_ZhiFuBao = 5,//ALIPAY_MINI_GAME
|
|
9
|
-
ID_MiniGame_Bilibili = 6,//Transfer From WECHAT_GAME
|
|
10
|
-
ID_MiniGame_TapTap = 7,//Transfer From WECHAT_GAME
|
|
11
|
-
ID_MiniGame_JingDong = 8,//Transfer From WECHAT_GAME
|
|
12
|
-
ID_QuickGame_XiaoMi = 101,//XIAOMI_QUICK_GAME
|
|
13
|
-
ID_QuickGame_Oppo = 102,//OPPO_MINI_GAME
|
|
14
|
-
ID_QuickGame_Honor = 103,//HONOR_MINI_GAME
|
|
15
|
-
ID_QuickGame_Vivo = 104,//VIVO_MINI_GAME
|
|
16
|
-
ID_QuickGame_HuaWei = 105
|
|
17
|
-
}
|
|
18
|
-
export type AppItem = {
|
|
19
|
-
appIndex: number;
|
|
20
|
-
appName: string;
|
|
21
|
-
appLogo_SpriteAtlas: string;
|
|
22
|
-
appLogo_SpriteFrame: string;
|
|
23
|
-
appIDMap: Map<PlatformID, string>;
|
|
24
|
-
};
|
|
25
|
-
export declare class ScreenInfo {
|
|
26
|
-
windowWidth: number;
|
|
27
|
-
windowHeight: number;
|
|
28
|
-
screenWidth: number;
|
|
29
|
-
screenHeight: number;
|
|
30
|
-
constructor(windowWidth: number, windowHeight: number, screenWidth: number, screenHeight: number);
|
|
31
|
-
}
|
|
32
|
-
export type ICPItem = {
|
|
33
|
-
icpSubject: string;
|
|
34
|
-
icpNumber: string;
|
|
35
|
-
isLocalGame: boolean;
|
|
36
|
-
};
|
|
37
|
-
export type CopyrightInfo = {
|
|
38
|
-
copyrightSubject: string;
|
|
39
|
-
copyrightNumber: string;
|
|
40
|
-
icpMap: Map<PlatformID, ICPItem>;
|
|
41
|
-
};
|
|
42
|
-
export declare class SystemDefinition {
|
|
43
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export var PlatformID;
|
|
2
|
-
(function (PlatformID) {
|
|
3
|
-
PlatformID[PlatformID["ID_UNKNOWN"] = -1] = "ID_UNKNOWN";
|
|
4
|
-
PlatformID[PlatformID["ID_H5_DesktopBrowser"] = 0] = "ID_H5_DesktopBrowser";
|
|
5
|
-
PlatformID[PlatformID["ID_MiniGame_WeiXin"] = 1] = "ID_MiniGame_WeiXin";
|
|
6
|
-
PlatformID[PlatformID["ID_MiniGame_DouYin"] = 2] = "ID_MiniGame_DouYin";
|
|
7
|
-
PlatformID[PlatformID["ID_MiniGame_KuaiShou"] = 3] = "ID_MiniGame_KuaiShou";
|
|
8
|
-
PlatformID[PlatformID["ID_MiniGame_QQ"] = 4] = "ID_MiniGame_QQ";
|
|
9
|
-
PlatformID[PlatformID["ID_MiniGame_ZhiFuBao"] = 5] = "ID_MiniGame_ZhiFuBao";
|
|
10
|
-
PlatformID[PlatformID["ID_MiniGame_Bilibili"] = 6] = "ID_MiniGame_Bilibili";
|
|
11
|
-
PlatformID[PlatformID["ID_MiniGame_TapTap"] = 7] = "ID_MiniGame_TapTap";
|
|
12
|
-
PlatformID[PlatformID["ID_MiniGame_JingDong"] = 8] = "ID_MiniGame_JingDong";
|
|
13
|
-
PlatformID[PlatformID["ID_QuickGame_XiaoMi"] = 101] = "ID_QuickGame_XiaoMi";
|
|
14
|
-
PlatformID[PlatformID["ID_QuickGame_Oppo"] = 102] = "ID_QuickGame_Oppo";
|
|
15
|
-
PlatformID[PlatformID["ID_QuickGame_Honor"] = 103] = "ID_QuickGame_Honor";
|
|
16
|
-
PlatformID[PlatformID["ID_QuickGame_Vivo"] = 104] = "ID_QuickGame_Vivo";
|
|
17
|
-
PlatformID[PlatformID["ID_QuickGame_HuaWei"] = 105] = "ID_QuickGame_HuaWei";
|
|
18
|
-
})(PlatformID || (PlatformID = {}));
|
|
19
|
-
export class ScreenInfo {
|
|
20
|
-
constructor(windowWidth, windowHeight, screenWidth, screenHeight) {
|
|
21
|
-
this.windowWidth = windowWidth;
|
|
22
|
-
this.windowHeight = windowHeight;
|
|
23
|
-
this.screenWidth = screenWidth;
|
|
24
|
-
this.screenHeight = screenHeight;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
export class SystemDefinition {
|
|
28
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export var ToastDuration;
|
|
2
|
-
(function (ToastDuration) {
|
|
3
|
-
ToastDuration[ToastDuration["Duration_Short"] = 1] = "Duration_Short";
|
|
4
|
-
ToastDuration[ToastDuration["Duration_Long"] = 2] = "Duration_Long";
|
|
5
|
-
})(ToastDuration || (ToastDuration = {}));
|
|
6
|
-
export class UIDefinition {
|
|
7
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare enum LoginResultType {
|
|
2
|
-
Type_SessionAvailable = 0,
|
|
3
|
-
Type_LoginSuccess_Auth_Code = 1,
|
|
4
|
-
Type_LoginSuccess_Auth_AccountID = 2,
|
|
5
|
-
Type_LoginFail_ContinueGame = 3,
|
|
6
|
-
Type_LoginFail_ExitGame = 4
|
|
7
|
-
}
|
|
8
|
-
export type LoginResult = {
|
|
9
|
-
type: LoginResultType;
|
|
10
|
-
code: string;
|
|
11
|
-
accountId: number;
|
|
12
|
-
};
|
|
13
|
-
export declare class UserDefinition {
|
|
14
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export var LoginResultType;
|
|
2
|
-
(function (LoginResultType) {
|
|
3
|
-
LoginResultType[LoginResultType["Type_SessionAvailable"] = 0] = "Type_SessionAvailable";
|
|
4
|
-
LoginResultType[LoginResultType["Type_LoginSuccess_Auth_Code"] = 1] = "Type_LoginSuccess_Auth_Code";
|
|
5
|
-
LoginResultType[LoginResultType["Type_LoginSuccess_Auth_AccountID"] = 2] = "Type_LoginSuccess_Auth_AccountID";
|
|
6
|
-
LoginResultType[LoginResultType["Type_LoginFail_ContinueGame"] = 3] = "Type_LoginFail_ContinueGame";
|
|
7
|
-
LoginResultType[LoginResultType["Type_LoginFail_ExitGame"] = 4] = "Type_LoginFail_ExitGame";
|
|
8
|
-
})(LoginResultType || (LoginResultType = {}));
|
|
9
|
-
export class UserDefinition {
|
|
10
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { Ad_Record, AdType, InterstitialAd_Scene, RewardedVideoAd_Scene, AdPlatformSettingInfo, AdPlatformUnitInfo } from '../Definition/AdDefinition';
|
|
2
|
-
import { PlatformID } from '../Definition/SystemDefinition';
|
|
3
|
-
import { BaseMgr } from './BaseMgr';
|
|
4
|
-
export declare class AdMgr extends BaseMgr {
|
|
5
|
-
static Instance: AdMgr;
|
|
6
|
-
static TAG: string;
|
|
7
|
-
private static adPlatformUnitMap;
|
|
8
|
-
private static adPlatformSettingMap;
|
|
9
|
-
private static launchTime;
|
|
10
|
-
private static interstitialAd_nowIntervalCount;
|
|
11
|
-
private static interstitialAds;
|
|
12
|
-
private static nowInterstitialAdScene;
|
|
13
|
-
private static interstitialAdCallback;
|
|
14
|
-
private static lastInterstitialAdTimestamp;
|
|
15
|
-
private static rewardedVideoAds;
|
|
16
|
-
private static nowRewardedVideoAdScene;
|
|
17
|
-
private static rewardedVideoAdCallback;
|
|
18
|
-
private static nowRunningBannerAd;
|
|
19
|
-
private static nowRunningCustomAd;
|
|
20
|
-
private static isPermanentAdShowing;
|
|
21
|
-
private static adRecord;
|
|
22
|
-
private static contentTop;
|
|
23
|
-
private static contentBottom;
|
|
24
|
-
onLoad(): void;
|
|
25
|
-
init(contentHeight: number, adPlatformUnitMap: Map<PlatformID, AdPlatformUnitInfo>, adPlatformSettingMap: Map<PlatformID, AdPlatformSettingInfo>): number;
|
|
26
|
-
createAds(): void;
|
|
27
|
-
isPermanentAdShowing(): boolean;
|
|
28
|
-
adSwithOn(): boolean;
|
|
29
|
-
supportAdType(adType: AdType): boolean;
|
|
30
|
-
createBannerAd(): void;
|
|
31
|
-
destroyBannerAd(): void;
|
|
32
|
-
showBannerAd(): void;
|
|
33
|
-
hideBannerAd(): void;
|
|
34
|
-
createInterstitialAd(): void;
|
|
35
|
-
showInterstitialAd(scene: InterstitialAd_Scene, callback: Function, target: any): void;
|
|
36
|
-
destroyInterstitialAd(): void;
|
|
37
|
-
isIntersititialAdShowing(): boolean;
|
|
38
|
-
createRewardedVideoAd(): void;
|
|
39
|
-
showRewardedVideoAd(scene: RewardedVideoAd_Scene, callback: Function, target: any): void;
|
|
40
|
-
destroyRewardedVideoAd(): void;
|
|
41
|
-
isRewardedVideoAdShowing(): boolean;
|
|
42
|
-
isRewardedVideoAdLoaded(): boolean;
|
|
43
|
-
createCustomAd(): void;
|
|
44
|
-
destroyCustomAd(): void;
|
|
45
|
-
showCustomAd(): void;
|
|
46
|
-
hideCustomAd(): void;
|
|
47
|
-
createPortalAd(): void;
|
|
48
|
-
destoryPortalAd(): void;
|
|
49
|
-
showPortalAd(): void;
|
|
50
|
-
hidePortalAd(): void;
|
|
51
|
-
private createAllPermanentAd;
|
|
52
|
-
showAllPermanentAd(): void;
|
|
53
|
-
hideAllPermanentAd(): void;
|
|
54
|
-
getAdRecord(): Ad_Record;
|
|
55
|
-
clearAdRecord(): void;
|
|
56
|
-
private adjustSuitableUIConfig;
|
|
57
|
-
}
|