chore:剔除无关内容
This commit is contained in:
@@ -3480,14 +3480,14 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "BTN_EnterReward",
|
||||
"_name": "RemovedPlatformReward",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 10
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_active": false,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 142
|
||||
@@ -3714,14 +3714,14 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "BTN_ShareReward",
|
||||
"_name": "RemovedSocialReward",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 10
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_active": false,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 152
|
||||
@@ -6685,9 +6685,6 @@
|
||||
"addHeartBtn": {
|
||||
"__id__": 107
|
||||
},
|
||||
"shareBtn": {
|
||||
"__id__": 158
|
||||
},
|
||||
"weaponSelectPrefab": {
|
||||
"__uuid__": "cbdadf26-9f4a-4191-80c0-208a836d2253",
|
||||
"__expectedType__": "cc.Prefab"
|
||||
@@ -6702,9 +6699,6 @@
|
||||
"fingerNode": {
|
||||
"__id__": 38
|
||||
},
|
||||
"sideTipBtn": {
|
||||
"__id__": 148
|
||||
},
|
||||
"weaponContent": {
|
||||
"__id__": 191
|
||||
},
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"ver": "1.1.50",
|
||||
"importer": "prefab",
|
||||
"imported": true,
|
||||
"uuid": "acfe0309-92ca-4b2a-8057-d15d6182d9da",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"syncNodeName": "SharePanel"
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"ver": "1.1.50",
|
||||
"importer": "prefab",
|
||||
"imported": true,
|
||||
"uuid": "7af336a9-9267-4c2b-b263-a3fb6c344fd4",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"syncNodeName": "SideTipPanel"
|
||||
}
|
||||
}
|
||||
+34
-225
@@ -41,7 +41,7 @@
|
||||
"_active": true,
|
||||
"_components": [],
|
||||
"_prefab": {
|
||||
"__id__": 409
|
||||
"__id__": 403
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -72,7 +72,7 @@
|
||||
},
|
||||
"autoReleaseAssets": false,
|
||||
"_globals": {
|
||||
"__id__": 415
|
||||
"__id__": 409
|
||||
},
|
||||
"_id": "cce78068-e13a-47f5-ae44-d1ac5c097bd7"
|
||||
},
|
||||
@@ -5631,17 +5631,17 @@
|
||||
{
|
||||
"__id__": 393
|
||||
},
|
||||
{
|
||||
"__id__": 395
|
||||
},
|
||||
{
|
||||
"__id__": 397
|
||||
},
|
||||
{
|
||||
"__id__": 399
|
||||
},
|
||||
{
|
||||
"__id__": 401
|
||||
},
|
||||
{
|
||||
"__id__": 403
|
||||
},
|
||||
{
|
||||
"__id__": 405
|
||||
},
|
||||
{
|
||||
"__id__": 407
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
@@ -5805,21 +5805,11 @@
|
||||
"_parent": {
|
||||
"__id__": 388
|
||||
},
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 394
|
||||
},
|
||||
{
|
||||
"__id__": 396
|
||||
},
|
||||
{
|
||||
"__id__": 398
|
||||
}
|
||||
],
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 400
|
||||
"__id__": 394
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -5852,187 +5842,6 @@
|
||||
},
|
||||
"_id": "73qS0HqktFNKy2EmghI+xD"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "SdkMgr",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 393
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 395
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 1073741824,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_id": "f41EJNspxGgp3J8KZlAxzW"
|
||||
},
|
||||
{
|
||||
"__type__": "6fbd6RxA9dOzJEaowwyH1c6",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 394
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
"_id": "3067PstfBLDq8OCrp2H7iP"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "WXSdk",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 393
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 397
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 1073741824,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_id": "8eBPJL/O5GE5E9j6LlROVO"
|
||||
},
|
||||
{
|
||||
"__type__": "73835gWGXdG0aw7CghDdY6u",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 396
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
"bannerId": "test",
|
||||
"videoUid": "test",
|
||||
"interstitialUid": "test",
|
||||
"shareImageUrl": "https://mmocgame.qpic.cn/wechatgame/Z53qiaERLZAG83WusI15WxLvKRlcTiaib4qUF50HbvJJnbXHEn8t3ibRt4j1EiaV7YxCg/0",
|
||||
"shareTilt": "外星人躲在哪里了!",
|
||||
"_id": "70DyQIfJJGRbYGyRI0YctW"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "DYSdk",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 393
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 399
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 1073741824,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_id": "d97BEaP9RAMLUQMkdohvRz"
|
||||
},
|
||||
{
|
||||
"__type__": "e50a2TVh1RIKYep854CE/5e",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 398
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
"bannerId": "test",
|
||||
"videoUid": "test",
|
||||
"interstitialUid": "test",
|
||||
"shareImageUrl": "https://mmocgame.qpic.cn/wechatgame/fNvVoACuBEOmNhzE802RLqnUuQyZ4rXTicDqz7OlVKypjYcHHo7nyfoYe7Urvdk6T/0",
|
||||
"shareTilt": "分享文本",
|
||||
"_id": "dfEXphTjZHA6A54PAnbQhI"
|
||||
},
|
||||
{
|
||||
"__type__": "6fbd6RxA9dOzJEaowwyH1c6",
|
||||
"_name": "",
|
||||
@@ -6057,7 +5866,7 @@
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 402
|
||||
"__id__": 396
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -6096,7 +5905,7 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 401
|
||||
"__id__": 395
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
@@ -6114,7 +5923,7 @@
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 404
|
||||
"__id__": 398
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -6153,7 +5962,7 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 403
|
||||
"__id__": 397
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
@@ -6195,7 +6004,7 @@
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 406
|
||||
"__id__": 400
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -6234,7 +6043,7 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 405
|
||||
"__id__": 399
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
@@ -6252,7 +6061,7 @@
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 408
|
||||
"__id__": 402
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -6291,7 +6100,7 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 407
|
||||
"__id__": 401
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
@@ -6305,10 +6114,10 @@
|
||||
"instance": null,
|
||||
"targetOverrides": [
|
||||
{
|
||||
"__id__": 410
|
||||
"__id__": 404
|
||||
},
|
||||
{
|
||||
"__id__": 413
|
||||
"__id__": 407
|
||||
}
|
||||
],
|
||||
"nestedPrefabInstanceRoots": [
|
||||
@@ -6323,7 +6132,7 @@
|
||||
"__id__": 376
|
||||
},
|
||||
"sourceInfo": {
|
||||
"__id__": 411
|
||||
"__id__": 405
|
||||
},
|
||||
"propertyPath": [
|
||||
"_trailModule",
|
||||
@@ -6333,7 +6142,7 @@
|
||||
"__id__": 376
|
||||
},
|
||||
"targetInfo": {
|
||||
"__id__": 412
|
||||
"__id__": 406
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -6361,7 +6170,7 @@
|
||||
"__id__": 376
|
||||
},
|
||||
"targetInfo": {
|
||||
"__id__": 414
|
||||
"__id__": 408
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -6373,28 +6182,28 @@
|
||||
{
|
||||
"__type__": "cc.SceneGlobals",
|
||||
"ambient": {
|
||||
"__id__": 416
|
||||
"__id__": 410
|
||||
},
|
||||
"shadows": {
|
||||
"__id__": 417
|
||||
"__id__": 411
|
||||
},
|
||||
"_skybox": {
|
||||
"__id__": 418
|
||||
"__id__": 412
|
||||
},
|
||||
"fog": {
|
||||
"__id__": 419
|
||||
"__id__": 413
|
||||
},
|
||||
"octree": {
|
||||
"__id__": 420
|
||||
"__id__": 414
|
||||
},
|
||||
"skin": {
|
||||
"__id__": 421
|
||||
"__id__": 415
|
||||
},
|
||||
"lightProbeInfo": {
|
||||
"__id__": 422
|
||||
"__id__": 416
|
||||
},
|
||||
"postSettings": {
|
||||
"__id__": 423
|
||||
"__id__": 417
|
||||
},
|
||||
"bakedWithStationaryMainLight": false,
|
||||
"bakedWithHighpLightmap": false
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { _decorator, AssetManager, Camera, Component, instantiate, math, Node, Prefab, resources, sys } from 'cc';
|
||||
import { _decorator, AssetManager, Camera, Component, instantiate, math, Node, Prefab, resources } from 'cc';
|
||||
import { Ragdoll } from '../Ragdoll/Ragdoll';
|
||||
import { EventCenter } from './EventCenter';
|
||||
import { LevelState } from './EnumFile';
|
||||
@@ -82,12 +82,6 @@ export class BattleLevel extends Component {
|
||||
this.levelIndex = levelIndex
|
||||
// levelIndex = 1
|
||||
|
||||
if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
tt.reportAnalytics('start_level', {
|
||||
level: this.levelIndex,
|
||||
});
|
||||
}
|
||||
|
||||
let config = DataMgr.getInstance().GetDataById(LevelConfig, levelIndex);
|
||||
|
||||
this.qingBaoTarget = null
|
||||
@@ -199,12 +193,6 @@ export class BattleLevel extends Component {
|
||||
|
||||
win() {
|
||||
|
||||
if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
tt.reportAnalytics('end_level', {
|
||||
level: this.levelIndex,
|
||||
});
|
||||
}
|
||||
|
||||
this.levelState = LevelState.Result
|
||||
let levelResult = new BattleResult()
|
||||
let remainTimer = Math.ceil(this.timer)
|
||||
|
||||
@@ -93,11 +93,6 @@ export class LocalSaveMgr extends Component {
|
||||
this.save()
|
||||
}
|
||||
|
||||
setSideTip() {
|
||||
this.playerData.haveGetSideReward = true
|
||||
this.save()
|
||||
}
|
||||
|
||||
adsAddPower() {
|
||||
this.playerData.power += 3
|
||||
EventCenter.powerChange.emit("powerChange")
|
||||
@@ -114,14 +109,6 @@ export class LocalSaveMgr extends Component {
|
||||
return Config.powerCD - passTime
|
||||
}
|
||||
|
||||
setShareTime() {
|
||||
const date: Date = new Date();
|
||||
const dayOfMonth: number = date.getDate();
|
||||
this.playerData.day = dayOfMonth
|
||||
this.save()
|
||||
console.log(dayOfMonth)
|
||||
}
|
||||
|
||||
protected update(dt: number): void {
|
||||
if (this.playerData.power < Config.maxHp) {
|
||||
if (this.playerData.isOnTimerRun == false) {
|
||||
@@ -161,10 +148,7 @@ class PlayerData {
|
||||
ownWeapon: number[] = [1]
|
||||
lastAddPowerTimer: number = null
|
||||
isOnTimerRun: boolean = false
|
||||
haveGetSideReward: boolean = false
|
||||
haveShare: boolean = false
|
||||
haveTutorial: boolean = false
|
||||
day: number = -1
|
||||
jsonDataInit(obj) {
|
||||
if (obj == null) return
|
||||
if (obj.muteMusic != null)
|
||||
@@ -185,12 +169,6 @@ class PlayerData {
|
||||
this.power = obj.power
|
||||
if (obj.isOnTimerRun != null)
|
||||
this.isOnTimerRun = obj.isOnTimerRun
|
||||
if (obj.haveGetSideReward != null)
|
||||
this.haveGetSideReward = obj.haveGetSideReward
|
||||
if (obj.haveShare != null)
|
||||
this.haveShare = obj.haveShare
|
||||
if (obj.day != null)
|
||||
this.day = obj.day
|
||||
if (obj.haveTutorial != null)
|
||||
this.haveTutorial = obj.haveTutorial
|
||||
}
|
||||
|
||||
@@ -1,213 +0,0 @@
|
||||
import { _decorator, Component, director, game, Node, sys } from 'cc';
|
||||
const { ccclass, property } = _decorator;
|
||||
|
||||
@ccclass('DYSdk')
|
||||
export class DYSdk extends Component {
|
||||
|
||||
@property({ displayName: "bannner广告uid" })
|
||||
bannerId: string = "test";
|
||||
|
||||
@property({ displayName: "视频奖励广告uid" })
|
||||
videoUid: string = "test";
|
||||
|
||||
@property({ displayName: "插屏广告uid" })
|
||||
interstitialUid: string = "test";
|
||||
|
||||
@property({ displayName: "分享图url" })
|
||||
shareImageUrl: string = "https://mmocgame.qpic.cn/wechatgame/fNvVoACuBEOmNhzE802RLqnUuQyZ4rXTicDqz7OlVKypjYcHHo7nyfoYe7Urvdk6T/0";
|
||||
|
||||
@property({ displayName: "分享tile文本" })
|
||||
shareTilt: string = "分享文本";
|
||||
|
||||
bannerAdv = null
|
||||
videoAdv = null
|
||||
interstitialAd = null
|
||||
|
||||
|
||||
static instance: DYSdk;
|
||||
|
||||
protected onLoad(): void {
|
||||
DYSdk.instance = this
|
||||
}
|
||||
successCallback = null
|
||||
failedCallback = null
|
||||
|
||||
initBanner() {
|
||||
let winSize = window["tt"].getSystemInfoSync();//获取像素size
|
||||
// 创建 Banner 广告实例,提前初始化
|
||||
let bannerWidth = 300
|
||||
let bannerHeight = 80
|
||||
console.error("bannerId:", this.bannerId)
|
||||
this.bannerAdv = window["tt"].createBannerAd({
|
||||
adUnitId: this.bannerId,//传入自己的id,此处为banner广告位ID
|
||||
adIntervals: 30,//定时刷新,最低30S
|
||||
style: {
|
||||
left: (winSize.windowWidth - bannerWidth) / 2,
|
||||
top: winSize.windowHeight - bannerHeight,
|
||||
width: bannerWidth,
|
||||
},
|
||||
})
|
||||
//重新定banner位置
|
||||
this.bannerAdv.onResize((res) => {
|
||||
this.bannerAdv.style.top = winSize.windowHeight - this.bannerAdv.style.realHeight - 1;
|
||||
})
|
||||
|
||||
this.bannerAdv.onError((err) => {
|
||||
console.log("banner", err);
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
navigateToScene() {
|
||||
window["tt"].navigateToScene({
|
||||
scene: 'sidebar',
|
||||
fail: console.log,
|
||||
success: console.log
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
initVideo() {
|
||||
let self = this
|
||||
// 创建激励视频广告实例,提前初始化
|
||||
console.log("激励视频广告id:", this.videoUid)
|
||||
this.videoAdv = window["tt"].createRewardedVideoAd({
|
||||
adUnitId: this.videoUid//传入自己的id,此处为视频广告位ID
|
||||
})
|
||||
|
||||
this.videoAdv.onLoad(() => {
|
||||
console.log("广告加载完成");
|
||||
});
|
||||
|
||||
this.videoAdv.onError(() => {
|
||||
console.log("广告错误");
|
||||
if (self.failedCallback) {
|
||||
self.failedCallback();
|
||||
}
|
||||
});
|
||||
|
||||
function listener(res) {
|
||||
if (res && res.isEnded) {
|
||||
if (self.successCallback) {
|
||||
self.successCallback();
|
||||
self.successCallback = null
|
||||
}
|
||||
} else {
|
||||
if (self.failedCallback) {
|
||||
self.failedCallback();
|
||||
self.failedCallback = null
|
||||
}
|
||||
}
|
||||
}
|
||||
this.videoAdv.onClose(listener); //这里监听广告的close 事件
|
||||
}
|
||||
|
||||
initInterstitial() {
|
||||
if (window["tt"].createInterstitialAd) {
|
||||
console.error("插屏广告id:", this.interstitialUid)
|
||||
this.interstitialAd = window["tt"].createInterstitialAd({
|
||||
adUnitId: this.interstitialUid//传入自己的id,此处为插屏广告位ID
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
init() {
|
||||
if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
|
||||
this.initBanner()
|
||||
this.initVideo()
|
||||
// 创建插屏广告实例,提前初始化
|
||||
this.initInterstitial()
|
||||
this.passivityShare()
|
||||
|
||||
|
||||
window["tt"].onShow(op => {
|
||||
if (op.location == "sidebar_card") {
|
||||
console.log("应用侧边栏启动");
|
||||
}
|
||||
console.log("监听应用启动", op);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// 主动分享
|
||||
public initativeShare(callBack?: any) {
|
||||
let shareTitle = this.shareTilt
|
||||
let imageUrl = this.shareImageUrl
|
||||
// 主动拉起转发,进入选择通讯录界面
|
||||
window["tt"].shareAppMessage({
|
||||
// 转发标题, 没有则默认使用小游戏的昵称
|
||||
title: shareTitle,
|
||||
// 图片链接,
|
||||
imageUrl: imageUrl
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
passivityShare(callBack?: any) {
|
||||
// 授权显示菜单
|
||||
window["tt"].showShareMenu({
|
||||
withShareTicket: false,
|
||||
// 显示菜单
|
||||
menus: ['shareAppMessage', 'shareTimeline'],
|
||||
success: (res) => {
|
||||
console.log("开始被动转发shareMenu成功");
|
||||
},
|
||||
fail: () => {
|
||||
console.log("开始被动转发shareMenu失败");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
showBanner() {
|
||||
this.bannerAdv.show()
|
||||
}
|
||||
|
||||
hideBanner() {
|
||||
this.bannerAdv.hide()
|
||||
}
|
||||
|
||||
showInterstitial() {
|
||||
// 在适合的场景显示插屏广告
|
||||
if (this.interstitialAd) {
|
||||
this.interstitialAd.show().catch((err) => {
|
||||
console.error(err)
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
showVideo(successCallback, failCallback) {
|
||||
// 用户触发广告后,显示激励视频广告
|
||||
let self = this
|
||||
|
||||
this.successCallback = successCallback
|
||||
this.failedCallback = failCallback
|
||||
|
||||
self.videoAdv.onError((res) => {
|
||||
console.log('广告出错监听', res)
|
||||
})
|
||||
// /**展示 */
|
||||
self.videoAdv
|
||||
.show()
|
||||
.then(() => {
|
||||
})
|
||||
.catch(err => {
|
||||
console.log('打印激励视频错误', err)
|
||||
// 可以手动加载一次
|
||||
self.videoAdv.load().then(() => {
|
||||
// 加载成功后需要再显示广告
|
||||
return self.videoAdv.show();
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"ver": "4.0.24",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "e50a24d5-8754-4829-87a9-f39e0213fe5e",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
@@ -1,87 +1,28 @@
|
||||
import { _decorator, Button, Component, director, game, Label, Node, sys, Tween } from 'cc';
|
||||
import { WXSdk } from './WXSdk';
|
||||
import { DYSdk } from './DYSdk';
|
||||
import { AudioMgr } from '../audio/AudioMgr';
|
||||
const { ccclass, property } = _decorator;
|
||||
import { _decorator, Component } from 'cc';
|
||||
|
||||
const { ccclass } = _decorator;
|
||||
|
||||
/**
|
||||
* Integration seam for a future rewarded-placement provider.
|
||||
* The project currently ships without any advertising or platform SDK.
|
||||
*/
|
||||
export interface RewardProvider {
|
||||
requestReward(onGranted: () => void): void;
|
||||
}
|
||||
|
||||
@ccclass('SdkMgr')
|
||||
export class SdkMgr extends Component {
|
||||
|
||||
export class SdkMgr extends Component implements RewardProvider {
|
||||
static instance: SdkMgr;
|
||||
|
||||
protected onLoad(): void {
|
||||
SdkMgr.instance = this
|
||||
|
||||
}
|
||||
protected start(): void {
|
||||
this.init()
|
||||
SdkMgr.instance = this;
|
||||
}
|
||||
|
||||
init() {
|
||||
if (sys.platform == sys.Platform.WECHAT_GAME) {
|
||||
WXSdk.instance.init()
|
||||
} else if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
DYSdk.instance.init()
|
||||
/**
|
||||
* SDK-free default: grant the gameplay reward immediately.
|
||||
* Replace this method body with a provider call when an SDK is added later.
|
||||
*/
|
||||
public requestReward(onGranted?: () => void): void {
|
||||
onGranted?.();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
playerRewardAds(successCallBack) {
|
||||
AudioMgr.inst.pause()
|
||||
director.pause()
|
||||
console.log("广告开启", "pause")
|
||||
let callBack = () => {
|
||||
console.log("广告开启", "resume")
|
||||
if (successCallBack != null)
|
||||
successCallBack()
|
||||
director.resume()
|
||||
AudioMgr.inst.resume()
|
||||
}
|
||||
let failCallback = () => {
|
||||
director.resume()
|
||||
AudioMgr.inst.resume()
|
||||
}
|
||||
|
||||
if (sys.platform == sys.Platform.WECHAT_GAME) {
|
||||
WXSdk.instance.showVideo(callBack, failCallback)
|
||||
} else if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
DYSdk.instance.showVideo(callBack, failCallback)
|
||||
} else {
|
||||
callBack()
|
||||
}
|
||||
}
|
||||
|
||||
initativeShare() {
|
||||
if (sys.platform == sys.Platform.WECHAT_GAME) {
|
||||
WXSdk.instance.initativeShare()
|
||||
} else if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
DYSdk.instance.initativeShare()
|
||||
}
|
||||
}
|
||||
|
||||
showBanner() {
|
||||
if (sys.platform == sys.Platform.WECHAT_GAME) {
|
||||
WXSdk.instance.showBanner()
|
||||
} else if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
DYSdk.instance.showBanner()
|
||||
}
|
||||
}
|
||||
|
||||
hideBanner() {
|
||||
if (sys.platform == sys.Platform.WECHAT_GAME) {
|
||||
WXSdk.instance.hideBanner()
|
||||
} else if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
DYSdk.instance.hideBanner()
|
||||
}
|
||||
}
|
||||
|
||||
showInterstitial() {
|
||||
if (sys.platform == sys.Platform.WECHAT_GAME) {
|
||||
WXSdk.instance.showInterstitial()
|
||||
} else if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
DYSdk.instance.showInterstitial()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,193 +0,0 @@
|
||||
import { _decorator, Component, director, game, Node, sys } from 'cc';
|
||||
const { ccclass, property } = _decorator;
|
||||
|
||||
@ccclass('WXSdk')
|
||||
export class WXSdk extends Component {
|
||||
|
||||
@property({ displayName: "原生广告uid" })
|
||||
bannerId: string = "";
|
||||
|
||||
@property({ displayName: "视频奖励广告uid" })
|
||||
videoUid: string = "";
|
||||
|
||||
@property({ displayName: "插屏广告uid" })
|
||||
interstitialUid: string = "";
|
||||
|
||||
@property({ displayName: "分享图url" })
|
||||
shareImageUrl: string = "https://mmocgame.qpic.cn/wechatgame/fNvVoACuBEOmNhzE802RLqnUuQyZ4rXTicDqz7OlVKypjYcHHo7nyfoYe7Urvdk6T/0";
|
||||
|
||||
@property({ displayName: "分享tile文本" })
|
||||
shareTilt: string = "超好玩解压停车场";
|
||||
|
||||
bannerAdv = null
|
||||
videoAdv = null
|
||||
interstitialAd = null
|
||||
|
||||
|
||||
static instance: WXSdk;
|
||||
|
||||
protected onLoad(): void {
|
||||
WXSdk.instance = this
|
||||
}
|
||||
successCallback = null
|
||||
|
||||
initBanner() {
|
||||
let winSize = wx.getSystemInfoSync();//获取像素size
|
||||
let bannerWidth = 300
|
||||
let bannerHeight = 80
|
||||
// 创建 原生模板 广告实例,提前初始化
|
||||
let CustomAd = wx.createCustomAd({
|
||||
adUnitId: 'adunit-dbdd10d1ca3690d2',
|
||||
style: {
|
||||
left: (winSize.windowWidth - bannerWidth) / 2,
|
||||
top: winSize.windowHeight - bannerHeight,
|
||||
width: bannerWidth,
|
||||
}
|
||||
})
|
||||
// // 在适合的场景显示 原生模板 广告
|
||||
// CustomAd.show()
|
||||
|
||||
// 监听 原生模板 广告错误事件
|
||||
CustomAd.onError(err => {
|
||||
console.error(err.errMsg)
|
||||
});
|
||||
|
||||
this.bannerAdv = CustomAd
|
||||
|
||||
}
|
||||
|
||||
initVideo() {
|
||||
// 创建激励视频广告实例,提前初始化
|
||||
this.videoAdv = wx.createRewardedVideoAd({
|
||||
adUnitId: this.videoUid//传入自己的id,此处为视频广告位ID
|
||||
})
|
||||
}
|
||||
|
||||
initInterstitial() {
|
||||
if (wx.createInterstitialAd) {
|
||||
this.interstitialAd = wx.createInterstitialAd({
|
||||
adUnitId: this.interstitialUid//传入自己的id,此处为插屏广告位ID
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
init() {
|
||||
if (sys.platform == sys.Platform.WECHAT_GAME) {
|
||||
|
||||
this.initBanner()
|
||||
this.initVideo()
|
||||
// 创建插屏广告实例,提前初始化
|
||||
this.initInterstitial()
|
||||
this.passivityShare()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// 主动分享
|
||||
public initativeShare(callBack?: any) {
|
||||
let shareTitle = this.shareTilt
|
||||
let imageUrl = this.shareImageUrl
|
||||
// 主动拉起转发,进入选择通讯录界面
|
||||
wx.shareAppMessage({
|
||||
// 转发标题, 没有则默认使用小游戏的昵称
|
||||
title: shareTitle,
|
||||
// 图片链接,
|
||||
imageUrl: imageUrl
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
passivityShare(callBack?: any) {
|
||||
// 授权显示菜单
|
||||
wx.showShareMenu({
|
||||
withShareTicket: false,
|
||||
// 显示菜单
|
||||
menus: ['shareAppMessage', 'shareTimeline'],
|
||||
success: (res) => {
|
||||
console.log("开始被动转发shareMenu成功");
|
||||
},
|
||||
fail: () => {
|
||||
console.log("开始被动转发shareMenu失败");
|
||||
}
|
||||
});
|
||||
let shareTitle = this.shareTilt
|
||||
let imageUrl = this.shareImageUrl
|
||||
// 好友点击回调
|
||||
wx.onShareAppMessage(() => {
|
||||
return {
|
||||
// 转发标题, 没有则默认使用小游戏的昵称
|
||||
title: shareTitle,
|
||||
// 图片链接,
|
||||
imageUrl: imageUrl
|
||||
};
|
||||
});
|
||||
// 朋友圈点击回调
|
||||
wx.onShareTimeline(() => {
|
||||
return {
|
||||
title: shareTitle,
|
||||
imageUrl: imageUrl
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
showBanner() {
|
||||
this.bannerAdv.show()
|
||||
}
|
||||
|
||||
hideBanner() {
|
||||
this.bannerAdv.hide()
|
||||
}
|
||||
|
||||
showInterstitial() {
|
||||
// 在适合的场景显示插屏广告
|
||||
if (this.interstitialAd) {
|
||||
this.interstitialAd.show().catch((err) => {
|
||||
console.error(err)
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
showVideo(successCallback, failCallback) {
|
||||
// 用户触发广告后,显示激励视频广告
|
||||
|
||||
if (this.videoUid == "test" || this.videoUid == "") {
|
||||
successCallback()
|
||||
return
|
||||
}
|
||||
let self = this
|
||||
self.videoAdv.show().catch(() => {
|
||||
// 失败重试
|
||||
self.videoAdv.load()
|
||||
.then(() => self.videoAdv.show())
|
||||
.catch(err => {
|
||||
console.log('激励视频 广告显示失败')
|
||||
failCallback()
|
||||
})
|
||||
})
|
||||
//拉取异常处理
|
||||
self.videoAdv.onError((err) => {
|
||||
console.log(err);
|
||||
failCallback()
|
||||
})
|
||||
self.videoAdv.onClose((res) => {
|
||||
if (!self.videoAdv) return;
|
||||
self.videoAdv.offClose();//需要清除回调,否则第N次广告会一次性给N个奖励
|
||||
//关闭
|
||||
if (res && res.isEnded || res === undefined) {
|
||||
//正常播放结束,需要下发奖励
|
||||
successCallback()
|
||||
} else {
|
||||
//播放退出,不下发奖励
|
||||
failCallback()
|
||||
}
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"ver": "4.0.24",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "73835816-1977-46d1-ac3b-0a0843758eae",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
@@ -30,7 +30,7 @@ export class AddHeartPanel extends PanelBase {
|
||||
|
||||
addPowerCallBack() {
|
||||
AudioMgr.inst.playOneShot(AssetController.instance.click)
|
||||
SdkMgr.instance.playerRewardAds(() => {
|
||||
SdkMgr.instance.requestReward(() => {
|
||||
LocalSaveMgr.instance.adsAddPower()
|
||||
UIManager.instance.closePanel(AddHeartPanel)
|
||||
})
|
||||
|
||||
@@ -45,7 +45,7 @@ export class LosePanel extends PanelBase {
|
||||
|
||||
onClickAddTime() {
|
||||
AudioMgr.inst.playOneShot(AssetController.instance.click)
|
||||
SdkMgr.instance.playerRewardAds(() => {
|
||||
SdkMgr.instance.requestReward(() => {
|
||||
GameController.getInstance().curLevel.addTimer()
|
||||
GameController.getInstance().curLevel.ContinueRun()
|
||||
UIManager.instance.closePanel(LosePanel)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
import { _decorator, Asset, Button, Component, debug, instantiate, Label, Node, Prefab, randomRange, Sprite, sys, Tween, tween, Vec3 } from 'cc';
|
||||
import { _decorator, Asset, Button, Component, debug, instantiate, Label, Node, Prefab, randomRange, Sprite, Tween, tween, Vec3 } from 'cc';
|
||||
import { LocalSaveMgr } from '../framework/data/LocalSaveMgr';
|
||||
import { UIManager } from '../framework/ui/UIManager';
|
||||
import { UISwitcher } from '../framework/ui/UISwitcher';
|
||||
@@ -12,8 +12,6 @@ import { Weapon } from '../data/ConfigData';
|
||||
import { AddHeartPanel } from './AddHeartPanel';
|
||||
import { SdkMgr } from '../framework/sdk/SdkMgr';
|
||||
import { EventCenter } from '../EventCenter';
|
||||
import { SideTipPanel } from './SideTipPanel';
|
||||
import { SharePanel } from './SharePanel';
|
||||
|
||||
const { ccclass, property } = _decorator;
|
||||
|
||||
@@ -64,9 +62,6 @@ export class MainPanel extends PanelBase {
|
||||
@property({ type: Button })
|
||||
addHeartBtn: Button = null;
|
||||
|
||||
@property({ type: Button })
|
||||
shareBtn: Button = null;
|
||||
|
||||
@property({ type: Prefab })
|
||||
weaponSelectPrefab: Prefab = null;
|
||||
|
||||
@@ -79,9 +74,6 @@ export class MainPanel extends PanelBase {
|
||||
@property(Node)
|
||||
fingerNode: Node = null;
|
||||
|
||||
@property({ type: Button })
|
||||
sideTipBtn: Button = null;
|
||||
|
||||
weaponDatas: Array<Weapon> = []
|
||||
|
||||
private weaponOffset: number = 1000
|
||||
@@ -110,18 +102,6 @@ export class MainPanel extends PanelBase {
|
||||
}
|
||||
}
|
||||
|
||||
if (sys.platform == sys.Platform.WECHAT_GAME) {
|
||||
this.sideTipBtn.node.active = false
|
||||
const date: Date = new Date();
|
||||
const dayOfMonth: number = date.getDate();
|
||||
if (LocalSaveMgr.instance.playerData.day != dayOfMonth) {
|
||||
this.shareBtn.node.active = true
|
||||
}
|
||||
} else if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
this.sideTipBtn.node.active = true
|
||||
this.shareBtn.node.active = false
|
||||
}
|
||||
|
||||
this.fingerNode.active = !LocalSaveMgr.instance.playerData.haveTutorial
|
||||
|
||||
|
||||
@@ -255,7 +235,7 @@ export class MainPanel extends PanelBase {
|
||||
|
||||
clickAddMoneyBtn() {
|
||||
AudioMgr.inst.playOneShot(AssetController.instance.click)
|
||||
SdkMgr.instance.playerRewardAds(() => {
|
||||
SdkMgr.instance.requestReward(() => {
|
||||
|
||||
let addPoint = 200
|
||||
let fromeMoney = LocalSaveMgr.instance.playerData.coin
|
||||
@@ -265,7 +245,7 @@ export class MainPanel extends PanelBase {
|
||||
})
|
||||
}
|
||||
|
||||
flyShareMoney(fromMoney: number, endMoney: number) {
|
||||
flyRewardMoney(fromMoney: number, endMoney: number) {
|
||||
AudioMgr.inst.playOneShot(AssetController.instance.getCoin)
|
||||
for (let index = 0; index < 10; index++) {
|
||||
let item = instantiate(this.flyMoneyPrefab)
|
||||
@@ -339,20 +319,10 @@ export class MainPanel extends PanelBase {
|
||||
MainPanel.instance.refreshToIndex()
|
||||
}
|
||||
|
||||
clickSideTipBtn() {
|
||||
AudioMgr.inst.playOneShot(AssetController.instance.click)
|
||||
console.log("openPanel SideTipPanel")
|
||||
UIManager.instance.openPanel(SideTipPanel)
|
||||
}
|
||||
|
||||
protected onDestroy(): void {
|
||||
EventCenter.coinCountChange.off("coinCountChange", this.onCoinCountChange)
|
||||
}
|
||||
|
||||
clickShareBtn() {
|
||||
UIManager.instance.openPanel(SharePanel)
|
||||
}
|
||||
|
||||
onLoad() {
|
||||
MainPanel.instance = this;
|
||||
this.startBtn.node.on(Button.EventType.CLICK, this.startBtnCallBack, this);
|
||||
@@ -360,11 +330,6 @@ export class MainPanel extends PanelBase {
|
||||
this.right.node.on(Button.EventType.CLICK, this.clickRight, this);
|
||||
this.equip.node.on(Button.EventType.CLICK, this.clickEquipBtn, this);
|
||||
this.buy.node.on(Button.EventType.CLICK, this.clickBuyBtn, this);
|
||||
this.sideTipBtn.node.on(Button.EventType.CLICK, this.clickSideTipBtn, this);
|
||||
this.shareBtn.node.on(Button.EventType.CLICK, this.clickShareBtn, this);
|
||||
|
||||
|
||||
|
||||
this.clear.node.on(Button.EventType.CLICK, this.clickClear, this);
|
||||
this.addHeartBtn.node.on(Button.EventType.CLICK, this.clickAddHeartBtn, this);
|
||||
this.addMoneyBtn.node.on(Button.EventType.CLICK, this.clickAddMoneyBtn, this);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { _decorator, animation, Animation, AnimationComponent, Button, Component, EventTouch, Input, input, instantiate, Label, math, Node, Prefab, randomRange, randomRangeInt, screen, Screen, sys, tween, Vec2, Vec3, view } from 'cc';
|
||||
import { _decorator, animation, Animation, AnimationComponent, Button, Component, EventTouch, Input, input, instantiate, Label, math, Node, Prefab, randomRange, randomRangeInt, screen, Screen, tween, Vec2, Vec3, view } from 'cc';
|
||||
import { PanelBase } from '../framework/ui/PanelBase';
|
||||
import { FPSCameraController } from '../FPSCameraController';
|
||||
import { GameController } from '../GameController';
|
||||
@@ -137,14 +137,8 @@ export class PlayPanel extends PanelBase {
|
||||
}
|
||||
|
||||
onClickQingBao() {
|
||||
if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
tt.reportAnalytics('use_prop', {
|
||||
level: GameController.getInstance().curLevel.levelIndex,
|
||||
});
|
||||
}
|
||||
|
||||
AudioMgr.inst.playOneShot(AssetController.instance.click)
|
||||
SdkMgr.instance.playerRewardAds(() => {
|
||||
SdkMgr.instance.requestReward(() => {
|
||||
|
||||
UIManager.instance.openPanel(QingBaoPanel)
|
||||
this.closeTip()
|
||||
@@ -165,14 +159,8 @@ export class PlayPanel extends PanelBase {
|
||||
offset: Vec2
|
||||
|
||||
onClickSaoMiao() {
|
||||
if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
tt.reportAnalytics('use_prop', {
|
||||
level: GameController.getInstance().curLevel.levelIndex,
|
||||
});
|
||||
}
|
||||
|
||||
AudioMgr.inst.playOneShot(AssetController.instance.click)
|
||||
SdkMgr.instance.playerRewardAds(() => {
|
||||
SdkMgr.instance.requestReward(() => {
|
||||
this.saoMiaoTip.active = true
|
||||
GameController.getInstance().curLevel.SetSaoMiaoTarget()
|
||||
this.offset = new Vec2(randomRange(-200, 200), randomRange(-200, 200))
|
||||
|
||||
@@ -1,64 +0,0 @@
|
||||
|
||||
import { _decorator, Button, Component, Label, Node, sys, Tween, tween, Vec3 } from 'cc';
|
||||
import { LocalSaveMgr } from '../framework/data/LocalSaveMgr';
|
||||
import { UIManager } from '../framework/ui/UIManager';
|
||||
import { UISwitcher } from '../framework/ui/UISwitcher';
|
||||
import { AudioMgr } from '../framework/audio/AudioMgr';
|
||||
import { PanelBase } from '../framework/ui/PanelBase';
|
||||
import { AssetController } from '../AssetController';
|
||||
import { GameController } from '../GameController';
|
||||
import { SdkMgr } from '../framework/sdk/SdkMgr';
|
||||
import { WXSdk } from '../framework/sdk/WXSdk';
|
||||
import { MainPanel } from './MainPanel';
|
||||
|
||||
const { ccclass, property } = _decorator;
|
||||
|
||||
@ccclass('SharePanel')
|
||||
export class SharePanel extends PanelBase {
|
||||
|
||||
static instance: SharePanel;
|
||||
|
||||
@property({ type: Button })
|
||||
shareBtn: Button = null;
|
||||
|
||||
@property({ type: Button })
|
||||
closeBtn: Button = null;
|
||||
|
||||
onLoad() {
|
||||
SharePanel.instance = this;
|
||||
this.closeBtn.node.on(Button.EventType.CLICK, this.closeBtnCallBack, this);
|
||||
this.shareBtn.node.on(Button.EventType.CLICK, this.shareCallBack, this);
|
||||
}
|
||||
|
||||
activeShareBtn() {
|
||||
const date: Date = new Date();
|
||||
const dayOfMonth: number = date.getDate();
|
||||
if (LocalSaveMgr.instance.playerData.day == dayOfMonth) {
|
||||
this.shareBtn.node.active = false
|
||||
} else {
|
||||
this.shareBtn.node.active = true
|
||||
}
|
||||
}
|
||||
|
||||
shareCallBack() {
|
||||
AudioMgr.inst.playOneShot(AssetController.instance.click)
|
||||
if (sys.platform == sys.Platform.WECHAT_GAME)
|
||||
WXSdk.instance.initativeShare()
|
||||
let fromeMoney = LocalSaveMgr.instance.playerData.coin
|
||||
LocalSaveMgr.instance.addCoin(200)
|
||||
LocalSaveMgr.instance.setShareTime()
|
||||
let endMoney = LocalSaveMgr.instance.playerData.coin
|
||||
MainPanel.instance.flyShareMoney(fromeMoney, endMoney)
|
||||
UIManager.instance.closePanel(SharePanel)
|
||||
}
|
||||
|
||||
closeBtnCallBack(button: Button) {
|
||||
AudioMgr.inst.playOneShot(AssetController.instance.click)
|
||||
UIManager.instance.closePanel(SharePanel)
|
||||
}
|
||||
start() {
|
||||
this.activeShareBtn()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{"ver":"4.0.24","importer":"typescript","imported":true,"uuid":"a5f9f430-fa04-4fb2-8af4-0e7176a078ce","files":[],"subMetas":{},"userData":{}}
|
||||
@@ -1,64 +0,0 @@
|
||||
import { _decorator, Button, Component, Label, Node, sys, Tween, tween, Vec3 } from 'cc';
|
||||
import { LocalSaveMgr } from '../framework/data/LocalSaveMgr';
|
||||
import { UIManager } from '../framework/ui/UIManager';
|
||||
import { UISwitcher } from '../framework/ui/UISwitcher';
|
||||
import { AudioMgr } from '../framework/audio/AudioMgr';
|
||||
import { PanelBase } from '../framework/ui/PanelBase';
|
||||
import { AssetController } from '../AssetController';
|
||||
import { GameController } from '../GameController';
|
||||
import { DYSdk } from '../framework/sdk/DYSdk';
|
||||
|
||||
const { ccclass, property } = _decorator;
|
||||
|
||||
@ccclass('SideTipPanel')
|
||||
export class SideTipPanel extends PanelBase {
|
||||
|
||||
static instance: SideTipPanel;
|
||||
|
||||
@property({ type: Button })
|
||||
rewardBtn: Button = null;
|
||||
|
||||
@property({ type: Button })
|
||||
closeBtn: Button = null;
|
||||
|
||||
@property({ type: Node })
|
||||
getNode: Node = null;
|
||||
|
||||
|
||||
onLoad() {
|
||||
SideTipPanel.instance = this;
|
||||
this.closeBtn.node.on(Button.EventType.CLICK, this.closeBtnCallBack, this);
|
||||
this.rewardBtn.node.on(Button.EventType.CLICK, this.rewardCallBack, this);
|
||||
|
||||
}
|
||||
|
||||
rewardCallBack() {
|
||||
AudioMgr.inst.playOneShot(AssetController.instance.click)
|
||||
if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME)
|
||||
DYSdk.instance.navigateToScene()
|
||||
|
||||
LocalSaveMgr.instance.addCoin(888)
|
||||
LocalSaveMgr.instance.setSideTip();
|
||||
|
||||
this.getNode.active = LocalSaveMgr.instance.playerData.haveGetSideReward
|
||||
this.rewardBtn.node.active = !LocalSaveMgr.instance.playerData.haveGetSideReward
|
||||
|
||||
}
|
||||
|
||||
protected onOpen(): void {
|
||||
this.getNode.active = LocalSaveMgr.instance.playerData.haveGetSideReward
|
||||
this.rewardBtn.node.active = !LocalSaveMgr.instance.playerData.haveGetSideReward
|
||||
}
|
||||
|
||||
|
||||
closeBtnCallBack(button: Button) {
|
||||
AudioMgr.inst.playOneShot(AssetController.instance.click)
|
||||
// AudioMgr.inst.playOneShot(AssetController.instance.click)
|
||||
UIManager.instance.closePanel(SideTipPanel)
|
||||
}
|
||||
start() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"ver": "4.0.24",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "b585f61b-a132-4319-aba3-2942d022565b",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
@@ -89,7 +89,7 @@ export class WinPanel extends PanelBase {
|
||||
this.rewardDouble = 1
|
||||
}
|
||||
this.runingPoint = false
|
||||
SdkMgr.instance.playerRewardAds(() => {
|
||||
SdkMgr.instance.requestReward(() => {
|
||||
let addPoint = Math.ceil((this.curResult.coinCount * this.rewardDouble))
|
||||
let fromeMoney = LocalSaveMgr.instance.playerData.coin
|
||||
LocalSaveMgr.instance.addCoin(addPoint)
|
||||
@@ -101,7 +101,6 @@ export class WinPanel extends PanelBase {
|
||||
onClickContinueBtn() {
|
||||
AudioMgr.inst.playOneShot(AssetController.instance.click)
|
||||
GameController.getInstance().backMain()
|
||||
SdkMgr.instance.showInterstitial()
|
||||
}
|
||||
|
||||
backMain() {
|
||||
|
||||
+12
-30
@@ -425,8 +425,6 @@
|
||||
"b1186435-1ed9-403e-a7fc-81d8266454d7",
|
||||
"9f00c206-3eb4-4ff5-8144-c63b426eebc0",
|
||||
"6fbd6471-03d7-4ecc-911a-a30c321f573a",
|
||||
"73835816-1977-46d1-ac3b-0a0843758eae",
|
||||
"e50a24d5-8754-4829-87a9-f39e0213fe5e",
|
||||
"f0143096-0558-4925-a73a-0b91753e5038",
|
||||
"aca749a5-7155-41fb-93eb-8176333abdcc",
|
||||
"70a16c4c-5e41-460a-87b0-4b4090db6c3c",
|
||||
@@ -18888,38 +18886,12 @@
|
||||
},
|
||||
"acfe0309-92ca-4b2a-8057-d15d6182d9da": {
|
||||
"url": "db://assets/resources/ui/SharePanel.prefab",
|
||||
"value": {
|
||||
"depends": [
|
||||
"20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941",
|
||||
"9f6a9e12-4867-409f-a0ff-bf989d9133ee@f9941",
|
||||
"e34bd2d4-cacc-4197-8b49-b683fa4e4623@f9941",
|
||||
"3cebd2cb-3868-4a6b-943c-728d254768f2@f9941",
|
||||
"04e49877-13d1-4bec-b1fc-8a85a978a779@f9941"
|
||||
],
|
||||
"dependScripts": [
|
||||
"f63e6af0-009f-444e-a875-237d4f0f0dec",
|
||||
"a5f9f430-fa04-4fb2-8af4-0e7176a078ce"
|
||||
]
|
||||
},
|
||||
"value": {},
|
||||
"versionCode": 1
|
||||
},
|
||||
"7af336a9-9267-4c2b-b263-a3fb6c344fd4": {
|
||||
"url": "db://assets/resources/ui/SideTipPanel.prefab",
|
||||
"value": {
|
||||
"depends": [
|
||||
"20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941",
|
||||
"9f6a9e12-4867-409f-a0ff-bf989d9133ee@f9941",
|
||||
"3db89ec2-73b6-4969-b214-d1dd9842226b@f9941",
|
||||
"fcda58a0-abb7-4fb0-8692-553c96bbf86d@f9941",
|
||||
"e34bd2d4-cacc-4197-8b49-b683fa4e4623@f9941",
|
||||
"3cebd2cb-3868-4a6b-943c-728d254768f2@f9941",
|
||||
"04e49877-13d1-4bec-b1fc-8a85a978a779@f9941"
|
||||
],
|
||||
"dependScripts": [
|
||||
"f63e6af0-009f-444e-a875-237d4f0f0dec",
|
||||
"b585f61b-a132-4319-aba3-2942d022565b"
|
||||
]
|
||||
},
|
||||
"value": {},
|
||||
"versionCode": 1
|
||||
},
|
||||
"034c14f7-5612-47bd-91a1-67407529433f": {
|
||||
@@ -19443,5 +19415,15 @@
|
||||
]
|
||||
},
|
||||
"versionCode": 1
|
||||
},
|
||||
"8a683b90-804e-41bf-af5d-788a2dafd559": {
|
||||
"url": "db://assets/",
|
||||
"value": {},
|
||||
"versionCode": 1
|
||||
},
|
||||
"507591fc-a9c3-4a15-bfc5-fd04d652855d": {
|
||||
"url": "db://assets/",
|
||||
"value": {},
|
||||
"versionCode": 1
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
"uuid": "55a006e7-8ca5-40ac-b0fc-fed71e00a2b3"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts": {
|
||||
"time": 1783998296789.243,
|
||||
"time": 1784085185615.548,
|
||||
"uuid": "4c83ef42-70ac-4613-a745-b63e498d747c"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\Texture": {
|
||||
@@ -106,7 +106,7 @@
|
||||
"uuid": "bb0a61b3-a651-44f0-836b-07dd15dc9dbf"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\resources\\ui": {
|
||||
"time": 1783998296896.2224,
|
||||
"time": 1784085777099.194,
|
||||
"uuid": "70e19149-44c1-42c7-9e94-315588da054c"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\resources\\weapon": {
|
||||
@@ -126,7 +126,7 @@
|
||||
"uuid": "25030962-7382-4892-8dfc-e30053bff802"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\ui": {
|
||||
"time": 1783998296984.0251,
|
||||
"time": 1784085777097.6653,
|
||||
"uuid": "6b5b2315-fef2-438f-803f-3058e8ba43cd"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\WinParticle\\Pat": {
|
||||
@@ -150,11 +150,11 @@
|
||||
"uuid": "55d8c43c-f2ec-4534-b019-963d3660e12b"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\framework\\data": {
|
||||
"time": 1783998297130.245,
|
||||
"time": 1784085185615.548,
|
||||
"uuid": "11ac2b62-4bd2-4687-ac60-dd58493d189a"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\framework\\sdk": {
|
||||
"time": 1783998297129.2478,
|
||||
"time": 1784085777096.1418,
|
||||
"uuid": "15e0e6aa-552c-4d01-b773-6ed04a74f944"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\framework\\ui": {
|
||||
@@ -182,7 +182,7 @@
|
||||
"uuid": "aca749a5-7155-41fb-93eb-8176333abdcc"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\BattleLevel.ts": {
|
||||
"time": 1746887050000,
|
||||
"time": 1784085527195.843,
|
||||
"uuid": "9e1486a8-cdbd-4fa3-b94f-a2390b18516d"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\EnumFile.ts": {
|
||||
@@ -222,7 +222,7 @@
|
||||
"uuid": "983a715a-eeef-4200-b74e-dd8bcedd02d9"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\ui\\AddHeartPanel.ts": {
|
||||
"time": 1743684778000,
|
||||
"time": 1784085527196.8403,
|
||||
"uuid": "917bf6d3-04a8-4289-b46b-037db3226eca"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\ui\\LoadingPanel.ts": {
|
||||
@@ -230,15 +230,15 @@
|
||||
"uuid": "f4b84cb4-e7a2-4582-ad1b-d199ea5cebe4"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\ui\\LosePanel.ts": {
|
||||
"time": 1743684814000,
|
||||
"time": 1784085527196.8403,
|
||||
"uuid": "35c17ce9-c80c-4430-962b-f46ead6a2e73"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\ui\\MainPanel.ts": {
|
||||
"time": 1744994168000,
|
||||
"time": 1784085527198.1907,
|
||||
"uuid": "225f0e63-c4dc-4a85-b8f7-bed528fc1a07"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\ui\\PlayPanel.ts": {
|
||||
"time": 1746631688000,
|
||||
"time": 1784085527195.843,
|
||||
"uuid": "a66cd6ea-f167-454e-857a-696e1ce3bc61"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\ui\\QingBaoPanel.ts": {
|
||||
@@ -249,20 +249,12 @@
|
||||
"time": 1746631688000,
|
||||
"uuid": "9c4d561f-c50d-4814-b227-2a0206669e69"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\ui\\SharePanel.ts": {
|
||||
"time": 1744210200000,
|
||||
"uuid": "a5f9f430-fa04-4fb2-8af4-0e7176a078ce"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\ui\\SideTipPanel.ts": {
|
||||
"time": 1743684618000,
|
||||
"uuid": "b585f61b-a132-4319-aba3-2942d022565b"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\ui\\TargetIconItem.ts": {
|
||||
"time": 1737470194000,
|
||||
"uuid": "60379639-8194-4623-a1aa-39248b153655"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\ui\\WinPanel.ts": {
|
||||
"time": 1744994168000,
|
||||
"time": 1784085527196.8403,
|
||||
"uuid": "614eaab3-3518-4351-b915-2d135f4651f4"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\framework\\animation\\MoveComponent.ts": {
|
||||
@@ -282,21 +274,13 @@
|
||||
"uuid": "70a16c4c-5e41-460a-87b0-4b4090db6c3c"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\framework\\data\\LocalSaveMgr.ts": {
|
||||
"time": 1744994168000,
|
||||
"time": 1784085527198.7036,
|
||||
"uuid": "f0143096-0558-4925-a73a-0b91753e5038"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\framework\\sdk\\DYSdk.ts": {
|
||||
"time": 1739805310000,
|
||||
"uuid": "e50a24d5-8754-4829-87a9-f39e0213fe5e"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\framework\\sdk\\SdkMgr.ts": {
|
||||
"time": 1739804244000,
|
||||
"time": 1784085777094.102,
|
||||
"uuid": "6fbd6471-03d7-4ecc-911a-a30c321f573a"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\framework\\sdk\\WXSdk.ts": {
|
||||
"time": 1733660842000,
|
||||
"uuid": "73835816-1977-46d1-ac3b-0a0843758eae"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\framework\\ui\\PanelBase.ts": {
|
||||
"time": 1739802874000,
|
||||
"uuid": "54c67e67-8f73-4a8c-9e7d-3b861a5aa6b8"
|
||||
@@ -499,12 +483,6 @@
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\ui\\SettingPanel.ts.meta": {
|
||||
"time": 1737463060000
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\ui\\SharePanel.ts.meta": {
|
||||
"time": 1744209392000
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\ui\\SideTipPanel.ts.meta": {
|
||||
"time": 1739539420000
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\ui\\TargetIconItem.ts.meta": {
|
||||
"time": 1737389282000
|
||||
},
|
||||
@@ -526,15 +504,9 @@
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\framework\\data\\LocalSaveMgr.ts.meta": {
|
||||
"time": 1733324314000
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\framework\\sdk\\DYSdk.ts.meta": {
|
||||
"time": 1733660886000
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\framework\\sdk\\SdkMgr.ts.meta": {
|
||||
"time": 1728653682000
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\framework\\sdk\\WXSdk.ts.meta": {
|
||||
"time": 1732544634000
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\framework\\ui\\PanelBase.ts.meta": {
|
||||
"time": 1728650998000
|
||||
},
|
||||
@@ -552,7 +524,7 @@
|
||||
"uuid": "12f0e0e6-d051-424d-a76b-2e1ac5159b39"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\scene.scene": {
|
||||
"time": 1746887062000,
|
||||
"time": 1784086061696.9724,
|
||||
"uuid": "cce78068-e13a-47f5-ae44-d1ac5c097bd7"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\Animation\\AlineLaugh.anim": {
|
||||
@@ -2456,7 +2428,7 @@
|
||||
"uuid": "c0cb951a-804d-42c4-8158-a202528ba563"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\resources\\ui\\AddHeartPanel.prefab": {
|
||||
"time": 1739890038000,
|
||||
"time": 1784084983664.5757,
|
||||
"uuid": "e8f3ba52-3c26-4cc0-84b6-8f0d1266a951"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\resources\\ui\\LoadingPanel.prefab": {
|
||||
@@ -2468,7 +2440,7 @@
|
||||
"uuid": "4554fcb5-8cde-4628-a767-88d28a8c2d5c"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\resources\\ui\\MainPanel.prefab": {
|
||||
"time": 1746631688000,
|
||||
"time": 1784085989125.075,
|
||||
"uuid": "29bc61af-9ade-4095-bb78-e7f6f6ffde45"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\resources\\ui\\PlayPanel.prefab": {
|
||||
@@ -2483,14 +2455,6 @@
|
||||
"time": 1737628156000,
|
||||
"uuid": "d184167c-49f5-4d1d-a65e-91b87396170e"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\resources\\ui\\SharePanel.prefab": {
|
||||
"time": 1744209726000,
|
||||
"uuid": "acfe0309-92ca-4b2a-8057-d15d6182d9da"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\resources\\ui\\SideTipPanel.prefab": {
|
||||
"time": 1746886342000,
|
||||
"uuid": "7af336a9-9267-4c2b-b263-a3fb6c344fd4"
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\resources\\ui\\TargetIconItem.prefab": {
|
||||
"time": 1737470472000,
|
||||
"uuid": "034c14f7-5612-47bd-91a1-67407529433f"
|
||||
@@ -4037,12 +4001,6 @@
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\resources\\ui\\SettingPanel.prefab.meta": {
|
||||
"time": 1737463060000
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\resources\\ui\\SharePanel.prefab.meta": {
|
||||
"time": 1744207754000
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\resources\\ui\\SideTipPanel.prefab.meta": {
|
||||
"time": 1739538634000
|
||||
},
|
||||
"D:\\Users\\admin\\Alien_Sniper\\assets\\resources\\ui\\TargetIconItem.prefab.meta": {
|
||||
"time": 1737389314000
|
||||
},
|
||||
@@ -4125,5 +4083,46 @@
|
||||
"time": 1732804132000
|
||||
}
|
||||
},
|
||||
"missing": {}
|
||||
"missing": {
|
||||
"acfe0309-92ca-4b2a-8057-d15d6182d9da": {
|
||||
"path": "D:\\Users\\admin\\Alien_Sniper\\assets\\resources\\ui\\SharePanel.prefab",
|
||||
"time": 1784085698309.949,
|
||||
"removeTime": 1784085817377
|
||||
},
|
||||
"7af336a9-9267-4c2b-b263-a3fb6c344fd4": {
|
||||
"path": "D:\\Users\\admin\\Alien_Sniper\\assets\\resources\\ui\\SideTipPanel.prefab",
|
||||
"time": 1784085700319.8494,
|
||||
"removeTime": 1784085817378
|
||||
},
|
||||
"73835816-1977-46d1-ac3b-0a0843758eae": {
|
||||
"path": "D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\framework\\sdk\\WXSdk.ts",
|
||||
"time": 1784085677431.1636,
|
||||
"removeTime": 1784085969438
|
||||
},
|
||||
"e50a24d5-8754-4829-87a9-f39e0213fe5e": {
|
||||
"path": "D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\framework\\sdk\\DYSdk.ts",
|
||||
"time": 1784085677433.073,
|
||||
"removeTime": 1784085969437
|
||||
},
|
||||
"a5f9f430-fa04-4fb2-8af4-0e7176a078ce": {
|
||||
"path": "D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\ui\\SharePanel.ts",
|
||||
"time": 1784085677429.8762,
|
||||
"removeTime": 1784085969437
|
||||
},
|
||||
"b585f61b-a132-4319-aba3-2942d022565b": {
|
||||
"path": "D:\\Users\\admin\\Alien_Sniper\\assets\\scripts\\ui\\SideTipPanel.ts",
|
||||
"time": 1784085677428.744,
|
||||
"removeTime": 1784085969437
|
||||
},
|
||||
"8a683b90-804e-41bf-af5d-788a2dafd559": {
|
||||
"path": "D:\\Users\\admin\\Alien_Sniper\\assets\\",
|
||||
"time": 1784082574103.3584,
|
||||
"removeTime": 1784083090705
|
||||
},
|
||||
"507591fc-a9c3-4a15-bfc5-fd04d652855d": {
|
||||
"path": "D:\\Users\\admin\\Alien_Sniper\\assets\\",
|
||||
"time": 1784086006418.3513,
|
||||
"removeTime": 1784086084196
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3480,14 +3480,14 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "BTN_EnterReward",
|
||||
"_name": "RemovedPlatformReward",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 10
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_active": false,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 142
|
||||
@@ -3714,14 +3714,14 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "BTN_ShareReward",
|
||||
"_name": "RemovedSocialReward",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 10
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_active": false,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 152
|
||||
@@ -6685,9 +6685,6 @@
|
||||
"addHeartBtn": {
|
||||
"__id__": 107
|
||||
},
|
||||
"shareBtn": {
|
||||
"__id__": 158
|
||||
},
|
||||
"weaponSelectPrefab": {
|
||||
"__uuid__": "cbdadf26-9f4a-4191-80c0-208a836d2253",
|
||||
"__expectedType__": "cc.Prefab"
|
||||
@@ -6702,9 +6699,6 @@
|
||||
"fingerNode": {
|
||||
"__id__": 38
|
||||
},
|
||||
"sideTipBtn": {
|
||||
"__id__": 148
|
||||
},
|
||||
"weaponContent": {
|
||||
"__id__": 191
|
||||
},
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -41,7 +41,7 @@
|
||||
"_active": true,
|
||||
"_components": [],
|
||||
"_prefab": {
|
||||
"__id__": 409
|
||||
"__id__": 403
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -72,7 +72,7 @@
|
||||
},
|
||||
"autoReleaseAssets": false,
|
||||
"_globals": {
|
||||
"__id__": 415
|
||||
"__id__": 409
|
||||
},
|
||||
"_id": "cce78068-e13a-47f5-ae44-d1ac5c097bd7"
|
||||
},
|
||||
@@ -5631,17 +5631,17 @@
|
||||
{
|
||||
"__id__": 393
|
||||
},
|
||||
{
|
||||
"__id__": 395
|
||||
},
|
||||
{
|
||||
"__id__": 397
|
||||
},
|
||||
{
|
||||
"__id__": 399
|
||||
},
|
||||
{
|
||||
"__id__": 401
|
||||
},
|
||||
{
|
||||
"__id__": 403
|
||||
},
|
||||
{
|
||||
"__id__": 405
|
||||
},
|
||||
{
|
||||
"__id__": 407
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
@@ -5805,21 +5805,11 @@
|
||||
"_parent": {
|
||||
"__id__": 388
|
||||
},
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 394
|
||||
},
|
||||
{
|
||||
"__id__": 396
|
||||
},
|
||||
{
|
||||
"__id__": 398
|
||||
}
|
||||
],
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 400
|
||||
"__id__": 394
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -5852,187 +5842,6 @@
|
||||
},
|
||||
"_id": "73qS0HqktFNKy2EmghI+xD"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "SdkMgr",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 393
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 395
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 1073741824,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_id": "f41EJNspxGgp3J8KZlAxzW"
|
||||
},
|
||||
{
|
||||
"__type__": "6fbd6RxA9dOzJEaowwyH1c6",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 394
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
"_id": "3067PstfBLDq8OCrp2H7iP"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "WXSdk",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 393
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 397
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 1073741824,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_id": "8eBPJL/O5GE5E9j6LlROVO"
|
||||
},
|
||||
{
|
||||
"__type__": "73835gWGXdG0aw7CghDdY6u",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 396
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
"bannerId": "test",
|
||||
"videoUid": "test",
|
||||
"interstitialUid": "test",
|
||||
"shareImageUrl": "https://mmocgame.qpic.cn/wechatgame/Z53qiaERLZAG83WusI15WxLvKRlcTiaib4qUF50HbvJJnbXHEn8t3ibRt4j1EiaV7YxCg/0",
|
||||
"shareTilt": "外星人躲在哪里了!",
|
||||
"_id": "70DyQIfJJGRbYGyRI0YctW"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "DYSdk",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 393
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 399
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 1073741824,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_id": "d97BEaP9RAMLUQMkdohvRz"
|
||||
},
|
||||
{
|
||||
"__type__": "e50a2TVh1RIKYep854CE/5e",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 398
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
"bannerId": "test",
|
||||
"videoUid": "test",
|
||||
"interstitialUid": "test",
|
||||
"shareImageUrl": "https://mmocgame.qpic.cn/wechatgame/fNvVoACuBEOmNhzE802RLqnUuQyZ4rXTicDqz7OlVKypjYcHHo7nyfoYe7Urvdk6T/0",
|
||||
"shareTilt": "分享文本",
|
||||
"_id": "dfEXphTjZHA6A54PAnbQhI"
|
||||
},
|
||||
{
|
||||
"__type__": "6fbd6RxA9dOzJEaowwyH1c6",
|
||||
"_name": "",
|
||||
@@ -6057,7 +5866,7 @@
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 402
|
||||
"__id__": 396
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -6096,7 +5905,7 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 401
|
||||
"__id__": 395
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
@@ -6114,7 +5923,7 @@
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 404
|
||||
"__id__": 398
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -6153,7 +5962,7 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 403
|
||||
"__id__": 397
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
@@ -6195,7 +6004,7 @@
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 406
|
||||
"__id__": 400
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -6234,7 +6043,7 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 405
|
||||
"__id__": 399
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
@@ -6252,7 +6061,7 @@
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 408
|
||||
"__id__": 402
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -6291,7 +6100,7 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 407
|
||||
"__id__": 401
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": null,
|
||||
@@ -6305,10 +6114,10 @@
|
||||
"instance": null,
|
||||
"targetOverrides": [
|
||||
{
|
||||
"__id__": 410
|
||||
"__id__": 404
|
||||
},
|
||||
{
|
||||
"__id__": 413
|
||||
"__id__": 407
|
||||
}
|
||||
],
|
||||
"nestedPrefabInstanceRoots": [
|
||||
@@ -6323,7 +6132,7 @@
|
||||
"__id__": 376
|
||||
},
|
||||
"sourceInfo": {
|
||||
"__id__": 411
|
||||
"__id__": 405
|
||||
},
|
||||
"propertyPath": [
|
||||
"_trailModule",
|
||||
@@ -6333,7 +6142,7 @@
|
||||
"__id__": 376
|
||||
},
|
||||
"targetInfo": {
|
||||
"__id__": 412
|
||||
"__id__": 406
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -6361,7 +6170,7 @@
|
||||
"__id__": 376
|
||||
},
|
||||
"targetInfo": {
|
||||
"__id__": 414
|
||||
"__id__": 408
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -6373,28 +6182,28 @@
|
||||
{
|
||||
"__type__": "cc.SceneGlobals",
|
||||
"ambient": {
|
||||
"__id__": 416
|
||||
"__id__": 410
|
||||
},
|
||||
"shadows": {
|
||||
"__id__": 417
|
||||
"__id__": 411
|
||||
},
|
||||
"_skybox": {
|
||||
"__id__": 418
|
||||
"__id__": 412
|
||||
},
|
||||
"fog": {
|
||||
"__id__": 419
|
||||
"__id__": 413
|
||||
},
|
||||
"octree": {
|
||||
"__id__": 420
|
||||
"__id__": 414
|
||||
},
|
||||
"skin": {
|
||||
"__id__": 421
|
||||
"__id__": 415
|
||||
},
|
||||
"lightProbeInfo": {
|
||||
"__id__": 422
|
||||
"__id__": 416
|
||||
},
|
||||
"postSettings": {
|
||||
"__id__": 423
|
||||
"__id__": 417
|
||||
},
|
||||
"bakedWithStationaryMainLight": false,
|
||||
"bakedWithHighpLightmap": false
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"__version__": "1.0.1",
|
||||
"builder": {
|
||||
"options": {
|
||||
"web-desktop": {
|
||||
"enableAdsense": false,
|
||||
"enableTestAd": false,
|
||||
"__version__": "1.0.1",
|
||||
"AFPHostPropertyCode": "ca-host-pub-5396158963872751",
|
||||
"AFPHostDomain": "douyougame.com",
|
||||
"otherAFPHostPropertyCode": "",
|
||||
"otherAFPDomain": ""
|
||||
}
|
||||
},
|
||||
"taskOptionsMap": {},
|
||||
"__version__": "1.3.8"
|
||||
}
|
||||
}
|
||||
@@ -8,136 +8,15 @@
|
||||
"asyncFunctions": true
|
||||
},
|
||||
"buildPath": "project://build",
|
||||
"outputName": "bytedance-mini-game",
|
||||
"mainBundleCompressionType": "subpackage",
|
||||
"platform": "bytedance-mini-game",
|
||||
"outputName": "web-desktop",
|
||||
"mainBundleCompressionType": "merge_dep",
|
||||
"platform": "web-desktop",
|
||||
"mainBundleIsRemote": false,
|
||||
"experimentalEraseModules": false,
|
||||
"sourceMaps": false,
|
||||
"server": "",
|
||||
"overwriteProjectSettings": {
|
||||
"includeModules": {
|
||||
"physics": "inherit-project-setting"
|
||||
}
|
||||
}
|
||||
"server": ""
|
||||
},
|
||||
"BuildTaskManager": {
|
||||
"taskMap": {
|
||||
"1739023595240": {
|
||||
"type": "build",
|
||||
"id": "1739023595240",
|
||||
"progress": 1,
|
||||
"state": "success",
|
||||
"stage": "build",
|
||||
"message": "2025-5-7 23:58:16 build success in 11 s!",
|
||||
"detailMessage": "builder:build-project-total (10451ms)\r",
|
||||
"options": {
|
||||
"name": "SearchAlien",
|
||||
"server": "",
|
||||
"platform": "wechatgame",
|
||||
"buildPath": "project://build",
|
||||
"debug": false,
|
||||
"md5Cache": false,
|
||||
"skipCompressTexture": false,
|
||||
"sourceMaps": false,
|
||||
"overwriteProjectSettings": {
|
||||
"macroConfig": {
|
||||
"cleanupImageCache": "on"
|
||||
},
|
||||
"includeModules": {
|
||||
"physics": "inherit-project-setting",
|
||||
"physics-2d": "inherit-project-setting",
|
||||
"gfx-webgl2": "off"
|
||||
}
|
||||
},
|
||||
"nativeCodeBundleMode": "wasm",
|
||||
"polyfills": {
|
||||
"asyncFunctions": false
|
||||
},
|
||||
"experimentalEraseModules": false,
|
||||
"startSceneAssetBundle": false,
|
||||
"bundleConfigs": [],
|
||||
"useBuiltinServer": false,
|
||||
"mainBundleIsRemote": false,
|
||||
"mainBundleCompressionType": "subpackage",
|
||||
"useSplashScreen": true,
|
||||
"bundleCommonChunk": false,
|
||||
"packAutoAtlas": true,
|
||||
"startScene": "cce78068-e13a-47f5-ae44-d1ac5c097bd7",
|
||||
"outputName": "wechatgame",
|
||||
"taskName": "wechatgame",
|
||||
"scenes": [
|
||||
{
|
||||
"url": "db://assets/scene.scene",
|
||||
"uuid": "cce78068-e13a-47f5-ae44-d1ac5c097bd7"
|
||||
}
|
||||
],
|
||||
"wasmCompressionMode": false,
|
||||
"packages": {},
|
||||
"__version__": "1.3.8",
|
||||
"buildMode": "normal",
|
||||
"logDest": "project://temp/builder/log/wechatgame2025-2-8 22-06.log"
|
||||
},
|
||||
"time": "2025-5-7 23:58:04",
|
||||
"dirty": false
|
||||
},
|
||||
"1739803462121": {
|
||||
"type": "build",
|
||||
"id": "1739803462121",
|
||||
"progress": 1,
|
||||
"state": "success",
|
||||
"stage": "build",
|
||||
"message": "2025-5-8 23:52:36 build success in 12 s!",
|
||||
"detailMessage": "The Mesh used by component \"cc.MeshRenderer\" in prefab \"Wep_Sniper_02\" is missing. Detailed information:\rNode path: \"Wep_Sniper_02/SM_Wep_Preset_B_Complex_01\"\rAsset url: \"db://assets/resources/weapon/...",
|
||||
"options": {
|
||||
"name": "SearchAlien",
|
||||
"server": "",
|
||||
"platform": "bytedance-mini-game",
|
||||
"buildPath": "project://build",
|
||||
"debug": false,
|
||||
"md5Cache": false,
|
||||
"skipCompressTexture": false,
|
||||
"sourceMaps": false,
|
||||
"overwriteProjectSettings": {
|
||||
"macroConfig": {
|
||||
"cleanupImageCache": "inherit-project-setting"
|
||||
},
|
||||
"includeModules": {
|
||||
"physics": "inherit-project-setting",
|
||||
"physics-2d": "inherit-project-setting",
|
||||
"gfx-webgl2": "off"
|
||||
}
|
||||
},
|
||||
"nativeCodeBundleMode": "both",
|
||||
"polyfills": {
|
||||
"asyncFunctions": false
|
||||
},
|
||||
"experimentalEraseModules": false,
|
||||
"startSceneAssetBundle": false,
|
||||
"bundleConfigs": [],
|
||||
"useBuiltinServer": false,
|
||||
"mainBundleIsRemote": false,
|
||||
"mainBundleCompressionType": "subpackage",
|
||||
"useSplashScreen": true,
|
||||
"bundleCommonChunk": false,
|
||||
"packAutoAtlas": true,
|
||||
"startScene": "cce78068-e13a-47f5-ae44-d1ac5c097bd7",
|
||||
"outputName": "bytedance-mini-game",
|
||||
"taskName": "bytedance-mini-game",
|
||||
"scenes": [
|
||||
{
|
||||
"url": "db://assets/scene.scene",
|
||||
"uuid": "cce78068-e13a-47f5-ae44-d1ac5c097bd7"
|
||||
}
|
||||
],
|
||||
"wasmCompressionMode": false,
|
||||
"packages": {},
|
||||
"__version__": "1.3.8",
|
||||
"logDest": "project://temp/builder/log/bytedance-mini-game2025-2-17 22-44.log"
|
||||
},
|
||||
"time": "2025-5-8 23:52:24",
|
||||
"dirty": false
|
||||
}
|
||||
}
|
||||
"taskMap": {}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
{
|
||||
"__version__": "1.0.3",
|
||||
"builder": {
|
||||
"common": {
|
||||
"buildPath": "project://build",
|
||||
"outputName": "bytedance-mini-game",
|
||||
"mainBundleCompressionType": "subpackage",
|
||||
"platform": "bytedance-mini-game",
|
||||
"mainBundleIsRemote": false,
|
||||
"server": ""
|
||||
},
|
||||
"options": {
|
||||
"bytedance-mini-game": {
|
||||
"buildOpenDataContextTemplate": "",
|
||||
"appid": "test",
|
||||
"orientation": "portrait",
|
||||
"physX": {
|
||||
"use": "project",
|
||||
"notPackPhysXLibs": false,
|
||||
"multiThread": false,
|
||||
"subThreadCount": 1,
|
||||
"epsilon": 0.001
|
||||
},
|
||||
"devToolsLaunchMethod": "lite",
|
||||
"__version__": "1.0.3",
|
||||
"generatePreloadJsFileList": false
|
||||
}
|
||||
},
|
||||
"taskOptionsMap": {
|
||||
"1739803462121": {
|
||||
"buildOpenDataContextTemplate": "",
|
||||
"appid": "test",
|
||||
"orientation": "portrait",
|
||||
"physX": {
|
||||
"use": "project",
|
||||
"notPackPhysXLibs": false,
|
||||
"multiThread": false,
|
||||
"subThreadCount": 1,
|
||||
"epsilon": 0.001
|
||||
},
|
||||
"devToolsLaunchMethod": "lite",
|
||||
"__version__": "1.0.3",
|
||||
"generatePreloadJsFileList": false
|
||||
}
|
||||
},
|
||||
"__version__": "1.3.8"
|
||||
}
|
||||
}
|
||||
@@ -39,6 +39,7 @@
|
||||
},
|
||||
"builder-options": {
|
||||
"configID": "4df978",
|
||||
"services": []
|
||||
"services": [],
|
||||
"__version__": "3.0.7"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,31 +37,6 @@
|
||||
"snapThreshold": 4
|
||||
},
|
||||
"camera-infos": {
|
||||
"c3d9a1af-8e7b-4cc9-a9f4-69160e77209e": {
|
||||
"position": {
|
||||
"x": 641.3649878654887,
|
||||
"y": 611.3790112972914,
|
||||
"z": 1814.410678026035
|
||||
},
|
||||
"rotation": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"viewCenter": {
|
||||
"x": 641.3649878654887,
|
||||
"y": 611.3790112972914,
|
||||
"z": 0
|
||||
},
|
||||
"contentRect": {
|
||||
"x": 216.4000590730244,
|
||||
"y": -922.5593637985307,
|
||||
"width": 370,
|
||||
"height": 184
|
||||
},
|
||||
"scale": 0.17628724506054866
|
||||
},
|
||||
"29bc61af-9ade-4095-bb78-e7f6f6ffde45": {
|
||||
"position": {
|
||||
"x": 1111.3478132462628,
|
||||
@@ -1112,31 +1087,6 @@
|
||||
},
|
||||
"scale": 1
|
||||
},
|
||||
"cce78068-e13a-47f5-ae44-d1ac5c097bd7": {
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0.012999999999998124
|
||||
},
|
||||
"rotation": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"viewCenter": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"contentRect": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 1035,
|
||||
"height": 914
|
||||
},
|
||||
"scale": 1
|
||||
},
|
||||
"d13b389d-0d8b-49b3-9e0d-5485f92b3b71": {
|
||||
"position": {
|
||||
"x": 1.269,
|
||||
@@ -1286,10 +1236,59 @@
|
||||
"height": 914
|
||||
},
|
||||
"scale": 1
|
||||
},
|
||||
"d9beb3fb-1fd9-4e14-b4c1-9ed5eaea9dd3": {
|
||||
"position": {
|
||||
"x": 26.50980641329652,
|
||||
"y": 26.509806413296516,
|
||||
"z": 26.509806413296516
|
||||
},
|
||||
"rotation": {
|
||||
"x": -0.27984814233312133,
|
||||
"y": 0.3647051996310009,
|
||||
"z": 0.11591689595929512,
|
||||
"w": 0.8804762392171493
|
||||
},
|
||||
"viewCenter": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"contentRect": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 1500,
|
||||
"height": 1000
|
||||
},
|
||||
"scale": 1
|
||||
},
|
||||
"cce78068-e13a-47f5-ae44-d1ac5c097bd7": {
|
||||
"position": {
|
||||
"x": 14.348778704834523,
|
||||
"y": 14.348778704834515,
|
||||
"z": 14.348778704834515
|
||||
},
|
||||
"rotation": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"viewCenter": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"contentRect": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 1500,
|
||||
"height": 1000
|
||||
},
|
||||
"scale": 1
|
||||
}
|
||||
},
|
||||
"camera-uuids": [
|
||||
"c3d9a1af-8e7b-4cc9-a9f4-69160e77209e",
|
||||
"29bc61af-9ade-4095-bb78-e7f6f6ffde45",
|
||||
"4554fcb5-8cde-4628-a767-88d28a8c2d5c",
|
||||
"17123b08-b5ac-4558-8f6b-10101e5118ce",
|
||||
@@ -1332,13 +1331,14 @@
|
||||
"72515175-8f35-4968-80a1-56e7ea6c4ca7",
|
||||
"f6fc939a-4859-43f5-b4b9-8c803c767ccf",
|
||||
"b77ce934-6413-4d7e-93ec-b449b08c39a3",
|
||||
"cce78068-e13a-47f5-ae44-d1ac5c097bd7",
|
||||
"d13b389d-0d8b-49b3-9e0d-5485f92b3b71",
|
||||
"60463bf1-d090-4cb7-8a64-61041fc0c378",
|
||||
"93f653e7-15fb-4bb5-8a2b-b8e548543887",
|
||||
"1ba5fdc8-d440-48e6-a59a-b985d26550ea",
|
||||
"463d67e9-167f-4613-b172-9e4b92cca880",
|
||||
"ff55344a-f4c7-4de3-80c2-8ca3d7281004"
|
||||
"ff55344a-f4c7-4de3-80c2-8ca3d7281004",
|
||||
"d9beb3fb-1fd9-4e14-b4c1-9ed5eaea9dd3",
|
||||
"cce78068-e13a-47f5-ae44-d1ac5c097bd7"
|
||||
],
|
||||
"camera": {
|
||||
"color": [
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
{
|
||||
"__version__": "1.0.4",
|
||||
"builder": {
|
||||
"common": {
|
||||
"buildPath": "project://build",
|
||||
"outputName": "wechatgame",
|
||||
"mainBundleCompressionType": "subpackage",
|
||||
"platform": "wechatgame",
|
||||
"mainBundleIsRemote": false,
|
||||
"experimentalEraseModules": false,
|
||||
"sourceMaps": false,
|
||||
"overwriteProjectSettings": {
|
||||
"includeModules": {
|
||||
"physics": "inherit-project-setting"
|
||||
}
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"wechatgame": {
|
||||
"orientation": "portrait",
|
||||
"appid": "test",
|
||||
"buildOpenDataContextTemplate": "",
|
||||
"separateEngine": false,
|
||||
"highPerformanceMode": true,
|
||||
"__version__": "1.0.4"
|
||||
}
|
||||
},
|
||||
"taskOptionsMap": {
|
||||
"1739023595240": {
|
||||
"orientation": "portrait",
|
||||
"appid": "test",
|
||||
"buildOpenDataContextTemplate": "",
|
||||
"separateEngine": false,
|
||||
"highPerformanceMode": true,
|
||||
"__version__": "1.0.4"
|
||||
}
|
||||
},
|
||||
"__version__": "1.3.8"
|
||||
}
|
||||
}
|
||||
@@ -19,54 +19,6 @@
|
||||
"fallbackOptions": {
|
||||
"compressionType": "merge_dep"
|
||||
}
|
||||
},
|
||||
"miniGame": {
|
||||
"fallbackOptions": {
|
||||
"isRemote": false,
|
||||
"compressionType": "merge_dep"
|
||||
},
|
||||
"configMode": "overwrite",
|
||||
"overwriteSettings": {
|
||||
"wechatgame": {
|
||||
"compressionType": "subpackage"
|
||||
},
|
||||
"bytedance-mini-game": {
|
||||
"compressionType": "subpackage",
|
||||
"isRemote": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"3aXTPyQPtKKJ7Mz+plBaPw": {
|
||||
"displayName": "默认配置 Copy",
|
||||
"configs": {
|
||||
"native": {
|
||||
"preferredOptions": {
|
||||
"isRemote": false,
|
||||
"compressionType": "merge_dep"
|
||||
}
|
||||
},
|
||||
"web": {
|
||||
"preferredOptions": {
|
||||
"isRemote": false,
|
||||
"compressionType": "merge_dep"
|
||||
},
|
||||
"fallbackOptions": {
|
||||
"compressionType": "merge_dep"
|
||||
}
|
||||
},
|
||||
"miniGame": {
|
||||
"fallbackOptions": {
|
||||
"isRemote": false,
|
||||
"compressionType": "merge_dep"
|
||||
},
|
||||
"configMode": "overwrite",
|
||||
"overwriteSettings": {
|
||||
"bytedance-mini-game": {
|
||||
"isRemote": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"current-scene": "cce78068-e13a-47f5-ae44-d1ac5c097bd7"
|
||||
"current-scene": ""
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
+16
-90
@@ -1,7 +1,7 @@
|
||||
System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__unresolved_3", "__unresolved_4", "__unresolved_5", "__unresolved_6", "__unresolved_7", "__unresolved_8", "__unresolved_9", "__unresolved_10", "__unresolved_11", "__unresolved_12", "__unresolved_13"], function (_export, _context) {
|
||||
System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__unresolved_3", "__unresolved_4", "__unresolved_5", "__unresolved_6", "__unresolved_7", "__unresolved_8", "__unresolved_9", "__unresolved_10", "__unresolved_11"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
var _reporterNs, _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, Button, instantiate, Label, Node, Prefab, randomRange, Sprite, sys, Tween, tween, Vec3, LocalSaveMgr, UIManager, AudioMgr, PanelBase, AssetController, GameController, DataMgr, Weapon, AddHeartPanel, SdkMgr, EventCenter, SideTipPanel, SharePanel, _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _class3, _crd, ccclass, property, MainPanel;
|
||||
var _reporterNs, _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, Button, instantiate, Label, Node, Prefab, randomRange, Sprite, Tween, tween, Vec3, LocalSaveMgr, UIManager, AudioMgr, PanelBase, AssetController, GameController, DataMgr, Weapon, AddHeartPanel, SdkMgr, EventCenter, _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _class3, _crd, ccclass, property, MainPanel;
|
||||
|
||||
function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
|
||||
|
||||
@@ -53,14 +53,6 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
_reporterNs.report("EventCenter", "../EventCenter", _context.meta, extras);
|
||||
}
|
||||
|
||||
function _reportPossibleCrUseOfSideTipPanel(extras) {
|
||||
_reporterNs.report("SideTipPanel", "./SideTipPanel", _context.meta, extras);
|
||||
}
|
||||
|
||||
function _reportPossibleCrUseOfSharePanel(extras) {
|
||||
_reporterNs.report("SharePanel", "./SharePanel", _context.meta, extras);
|
||||
}
|
||||
|
||||
return {
|
||||
setters: [function (_unresolved_) {
|
||||
_reporterNs = _unresolved_;
|
||||
@@ -76,7 +68,6 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
Prefab = _cc.Prefab;
|
||||
randomRange = _cc.randomRange;
|
||||
Sprite = _cc.Sprite;
|
||||
sys = _cc.sys;
|
||||
Tween = _cc.Tween;
|
||||
tween = _cc.tween;
|
||||
Vec3 = _cc.Vec3;
|
||||
@@ -102,17 +93,13 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
SdkMgr = _unresolved_11.SdkMgr;
|
||||
}, function (_unresolved_12) {
|
||||
EventCenter = _unresolved_12.EventCenter;
|
||||
}, function (_unresolved_13) {
|
||||
SideTipPanel = _unresolved_13.SideTipPanel;
|
||||
}, function (_unresolved_14) {
|
||||
SharePanel = _unresolved_14.SharePanel;
|
||||
}],
|
||||
execute: function () {
|
||||
_crd = true;
|
||||
|
||||
_cclegacy._RF.push({}, "225f05jxNxKhbj3vtUo/BoH", "MainPanel", undefined);
|
||||
|
||||
__checkObsolete__(['_decorator', 'Asset', 'Button', 'Component', 'debug', 'instantiate', 'Label', 'Node', 'Prefab', 'randomRange', 'Sprite', 'sys', 'Tween', 'tween', 'Vec3']);
|
||||
__checkObsolete__(['_decorator', 'Asset', 'Button', 'Component', 'debug', 'instantiate', 'Label', 'Node', 'Prefab', 'randomRange', 'Sprite', 'Tween', 'tween', 'Vec3']);
|
||||
|
||||
({
|
||||
ccclass,
|
||||
@@ -148,12 +135,8 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
}), _dec15 = property({
|
||||
type: Button
|
||||
}), _dec16 = property({
|
||||
type: Button
|
||||
}), _dec17 = property({
|
||||
type: Prefab
|
||||
}), _dec18 = property(Prefab), _dec19 = property(Node), _dec20 = property(Node), _dec21 = property({
|
||||
type: Button
|
||||
}), _dec22 = property({
|
||||
}), _dec17 = property(Prefab), _dec18 = property(Node), _dec19 = property(Node), _dec20 = property({
|
||||
type: Node
|
||||
}), _dec(_class = (_class2 = (_class3 = class MainPanel extends (_crd && PanelBase === void 0 ? (_reportPossibleCrUseOfPanelBase({
|
||||
error: Error()
|
||||
@@ -189,23 +172,19 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
|
||||
_initializerDefineProperty(this, "addHeartBtn", _descriptor14, this);
|
||||
|
||||
_initializerDefineProperty(this, "shareBtn", _descriptor15, this);
|
||||
_initializerDefineProperty(this, "weaponSelectPrefab", _descriptor15, this);
|
||||
|
||||
_initializerDefineProperty(this, "weaponSelectPrefab", _descriptor16, this);
|
||||
_initializerDefineProperty(this, "flyMoneyPrefab", _descriptor16, this);
|
||||
|
||||
_initializerDefineProperty(this, "flyMoneyPrefab", _descriptor17, this);
|
||||
_initializerDefineProperty(this, "flyMoneyContent", _descriptor17, this);
|
||||
|
||||
_initializerDefineProperty(this, "flyMoneyContent", _descriptor18, this);
|
||||
|
||||
_initializerDefineProperty(this, "fingerNode", _descriptor19, this);
|
||||
|
||||
_initializerDefineProperty(this, "sideTipBtn", _descriptor20, this);
|
||||
_initializerDefineProperty(this, "fingerNode", _descriptor18, this);
|
||||
|
||||
this.weaponDatas = [];
|
||||
this.weaponOffset = 1000;
|
||||
this.curSelectIndex = 0;
|
||||
|
||||
_initializerDefineProperty(this, "weaponContent", _descriptor21, this);
|
||||
_initializerDefineProperty(this, "weaponContent", _descriptor19, this);
|
||||
}
|
||||
|
||||
onOpen() {
|
||||
@@ -238,21 +217,6 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
}
|
||||
}
|
||||
|
||||
if (sys.platform == sys.Platform.WECHAT_GAME) {
|
||||
this.sideTipBtn.node.active = false;
|
||||
const date = new Date();
|
||||
const dayOfMonth = date.getDate();
|
||||
|
||||
if ((_crd && LocalSaveMgr === void 0 ? (_reportPossibleCrUseOfLocalSaveMgr({
|
||||
error: Error()
|
||||
}), LocalSaveMgr) : LocalSaveMgr).instance.playerData.day != dayOfMonth) {
|
||||
this.shareBtn.node.active = true;
|
||||
}
|
||||
} else if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
this.sideTipBtn.node.active = true;
|
||||
this.shareBtn.node.active = false;
|
||||
}
|
||||
|
||||
this.fingerNode.active = !(_crd && LocalSaveMgr === void 0 ? (_reportPossibleCrUseOfLocalSaveMgr({
|
||||
error: Error()
|
||||
}), LocalSaveMgr) : LocalSaveMgr).instance.playerData.haveTutorial;
|
||||
@@ -444,7 +408,7 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
}), AssetController) : AssetController).instance.click);
|
||||
(_crd && SdkMgr === void 0 ? (_reportPossibleCrUseOfSdkMgr({
|
||||
error: Error()
|
||||
}), SdkMgr) : SdkMgr).instance.playerRewardAds(() => {
|
||||
}), SdkMgr) : SdkMgr).instance.requestReward(() => {
|
||||
let addPoint = 200;
|
||||
let fromeMoney = (_crd && LocalSaveMgr === void 0 ? (_reportPossibleCrUseOfLocalSaveMgr({
|
||||
error: Error()
|
||||
@@ -459,7 +423,7 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
});
|
||||
}
|
||||
|
||||
flyShareMoney(fromMoney, endMoney) {
|
||||
flyRewardMoney(fromMoney, endMoney) {
|
||||
(_crd && AudioMgr === void 0 ? (_reportPossibleCrUseOfAudioMgr({
|
||||
error: Error()
|
||||
}), AudioMgr) : AudioMgr).inst.playOneShot((_crd && AssetController === void 0 ? (_reportPossibleCrUseOfAssetController({
|
||||
@@ -539,34 +503,12 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
MainPanel.instance.refreshToIndex();
|
||||
}
|
||||
|
||||
clickSideTipBtn() {
|
||||
(_crd && AudioMgr === void 0 ? (_reportPossibleCrUseOfAudioMgr({
|
||||
error: Error()
|
||||
}), AudioMgr) : AudioMgr).inst.playOneShot((_crd && AssetController === void 0 ? (_reportPossibleCrUseOfAssetController({
|
||||
error: Error()
|
||||
}), AssetController) : AssetController).instance.click);
|
||||
console.log("openPanel SideTipPanel");
|
||||
(_crd && UIManager === void 0 ? (_reportPossibleCrUseOfUIManager({
|
||||
error: Error()
|
||||
}), UIManager) : UIManager).instance.openPanel(_crd && SideTipPanel === void 0 ? (_reportPossibleCrUseOfSideTipPanel({
|
||||
error: Error()
|
||||
}), SideTipPanel) : SideTipPanel);
|
||||
}
|
||||
|
||||
onDestroy() {
|
||||
(_crd && EventCenter === void 0 ? (_reportPossibleCrUseOfEventCenter({
|
||||
error: Error()
|
||||
}), EventCenter) : EventCenter).coinCountChange.off("coinCountChange", this.onCoinCountChange);
|
||||
}
|
||||
|
||||
clickShareBtn() {
|
||||
(_crd && UIManager === void 0 ? (_reportPossibleCrUseOfUIManager({
|
||||
error: Error()
|
||||
}), UIManager) : UIManager).instance.openPanel(_crd && SharePanel === void 0 ? (_reportPossibleCrUseOfSharePanel({
|
||||
error: Error()
|
||||
}), SharePanel) : SharePanel);
|
||||
}
|
||||
|
||||
onLoad() {
|
||||
MainPanel.instance = this;
|
||||
this.startBtn.node.on(Button.EventType.CLICK, this.startBtnCallBack, this);
|
||||
@@ -574,8 +516,6 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
this.right.node.on(Button.EventType.CLICK, this.clickRight, this);
|
||||
this.equip.node.on(Button.EventType.CLICK, this.clickEquipBtn, this);
|
||||
this.buy.node.on(Button.EventType.CLICK, this.clickBuyBtn, this);
|
||||
this.sideTipBtn.node.on(Button.EventType.CLICK, this.clickSideTipBtn, this);
|
||||
this.shareBtn.node.on(Button.EventType.CLICK, this.clickShareBtn, this);
|
||||
this.clear.node.on(Button.EventType.CLICK, this.clickClear, this);
|
||||
this.addHeartBtn.node.on(Button.EventType.CLICK, this.clickAddHeartBtn, this);
|
||||
this.addMoneyBtn.node.on(Button.EventType.CLICK, this.clickAddMoneyBtn, this);
|
||||
@@ -688,49 +628,35 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
initializer: function () {
|
||||
return null;
|
||||
}
|
||||
}), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "shareBtn", [_dec16], {
|
||||
}), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "weaponSelectPrefab", [_dec16], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function () {
|
||||
return null;
|
||||
}
|
||||
}), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, "weaponSelectPrefab", [_dec17], {
|
||||
}), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, "flyMoneyPrefab", [_dec17], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function () {
|
||||
return null;
|
||||
}
|
||||
}), _descriptor17 = _applyDecoratedDescriptor(_class2.prototype, "flyMoneyPrefab", [_dec18], {
|
||||
}), _descriptor17 = _applyDecoratedDescriptor(_class2.prototype, "flyMoneyContent", [_dec18], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function () {
|
||||
return null;
|
||||
}
|
||||
}), _descriptor18 = _applyDecoratedDescriptor(_class2.prototype, "flyMoneyContent", [_dec19], {
|
||||
}), _descriptor18 = _applyDecoratedDescriptor(_class2.prototype, "fingerNode", [_dec19], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function () {
|
||||
return null;
|
||||
}
|
||||
}), _descriptor19 = _applyDecoratedDescriptor(_class2.prototype, "fingerNode", [_dec20], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function () {
|
||||
return null;
|
||||
}
|
||||
}), _descriptor20 = _applyDecoratedDescriptor(_class2.prototype, "sideTipBtn", [_dec21], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function () {
|
||||
return null;
|
||||
}
|
||||
}), _descriptor21 = _applyDecoratedDescriptor(_class2.prototype, "weaponContent", [_dec22], {
|
||||
}), _descriptor19 = _applyDecoratedDescriptor(_class2.prototype, "weaponContent", [_dec20], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+15
-125
@@ -1,153 +1,43 @@
|
||||
System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__unresolved_3"], function (_export, _context) {
|
||||
System.register(["cc"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
var _reporterNs, _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, Component, director, sys, WXSdk, DYSdk, AudioMgr, _dec, _class, _class2, _crd, ccclass, property, SdkMgr;
|
||||
|
||||
function _reportPossibleCrUseOfWXSdk(extras) {
|
||||
_reporterNs.report("WXSdk", "./WXSdk", _context.meta, extras);
|
||||
}
|
||||
|
||||
function _reportPossibleCrUseOfDYSdk(extras) {
|
||||
_reporterNs.report("DYSdk", "./DYSdk", _context.meta, extras);
|
||||
}
|
||||
|
||||
function _reportPossibleCrUseOfAudioMgr(extras) {
|
||||
_reporterNs.report("AudioMgr", "../audio/AudioMgr", _context.meta, extras);
|
||||
}
|
||||
var _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, Component, _dec, _class, _class2, _crd, ccclass, SdkMgr;
|
||||
|
||||
return {
|
||||
setters: [function (_unresolved_) {
|
||||
_reporterNs = _unresolved_;
|
||||
}, function (_cc) {
|
||||
setters: [function (_cc) {
|
||||
_cclegacy = _cc.cclegacy;
|
||||
__checkObsolete__ = _cc.__checkObsolete__;
|
||||
__checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
|
||||
_decorator = _cc._decorator;
|
||||
Component = _cc.Component;
|
||||
director = _cc.director;
|
||||
sys = _cc.sys;
|
||||
}, function (_unresolved_2) {
|
||||
WXSdk = _unresolved_2.WXSdk;
|
||||
}, function (_unresolved_3) {
|
||||
DYSdk = _unresolved_3.DYSdk;
|
||||
}, function (_unresolved_4) {
|
||||
AudioMgr = _unresolved_4.AudioMgr;
|
||||
}],
|
||||
execute: function () {
|
||||
_crd = true;
|
||||
|
||||
_cclegacy._RF.push({}, "6fbd6RxA9dOzJEaowwyH1c6", "SdkMgr", undefined);
|
||||
|
||||
__checkObsolete__(['_decorator', 'Button', 'Component', 'director', 'game', 'Label', 'Node', 'sys', 'Tween']);
|
||||
__checkObsolete__(['_decorator', 'Component']);
|
||||
|
||||
({
|
||||
ccclass,
|
||||
property
|
||||
ccclass
|
||||
} = _decorator);
|
||||
/**
|
||||
* Integration seam for a future rewarded-placement provider.
|
||||
* The project currently ships without any advertising or platform SDK.
|
||||
*/
|
||||
|
||||
_export("SdkMgr", SdkMgr = (_dec = ccclass('SdkMgr'), _dec(_class = (_class2 = class SdkMgr extends Component {
|
||||
onLoad() {
|
||||
SdkMgr.instance = this;
|
||||
}
|
||||
/**
|
||||
* SDK-free default: grant the gameplay reward immediately.
|
||||
* Replace this method body with a provider call when an SDK is added later.
|
||||
*/
|
||||
|
||||
start() {
|
||||
this.init();
|
||||
}
|
||||
|
||||
init() {
|
||||
if (sys.platform == sys.Platform.WECHAT_GAME) {
|
||||
(_crd && WXSdk === void 0 ? (_reportPossibleCrUseOfWXSdk({
|
||||
error: Error()
|
||||
}), WXSdk) : WXSdk).instance.init();
|
||||
} else if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
(_crd && DYSdk === void 0 ? (_reportPossibleCrUseOfDYSdk({
|
||||
error: Error()
|
||||
}), DYSdk) : DYSdk).instance.init();
|
||||
}
|
||||
}
|
||||
|
||||
playerRewardAds(successCallBack) {
|
||||
(_crd && AudioMgr === void 0 ? (_reportPossibleCrUseOfAudioMgr({
|
||||
error: Error()
|
||||
}), AudioMgr) : AudioMgr).inst.pause();
|
||||
director.pause();
|
||||
console.log("广告开启", "pause");
|
||||
|
||||
let callBack = () => {
|
||||
console.log("广告开启", "resume");
|
||||
if (successCallBack != null) successCallBack();
|
||||
director.resume();
|
||||
(_crd && AudioMgr === void 0 ? (_reportPossibleCrUseOfAudioMgr({
|
||||
error: Error()
|
||||
}), AudioMgr) : AudioMgr).inst.resume();
|
||||
};
|
||||
|
||||
let failCallback = () => {
|
||||
director.resume();
|
||||
(_crd && AudioMgr === void 0 ? (_reportPossibleCrUseOfAudioMgr({
|
||||
error: Error()
|
||||
}), AudioMgr) : AudioMgr).inst.resume();
|
||||
};
|
||||
|
||||
if (sys.platform == sys.Platform.WECHAT_GAME) {
|
||||
(_crd && WXSdk === void 0 ? (_reportPossibleCrUseOfWXSdk({
|
||||
error: Error()
|
||||
}), WXSdk) : WXSdk).instance.showVideo(callBack, failCallback);
|
||||
} else if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
(_crd && DYSdk === void 0 ? (_reportPossibleCrUseOfDYSdk({
|
||||
error: Error()
|
||||
}), DYSdk) : DYSdk).instance.showVideo(callBack, failCallback);
|
||||
} else {
|
||||
callBack();
|
||||
}
|
||||
}
|
||||
|
||||
initativeShare() {
|
||||
if (sys.platform == sys.Platform.WECHAT_GAME) {
|
||||
(_crd && WXSdk === void 0 ? (_reportPossibleCrUseOfWXSdk({
|
||||
error: Error()
|
||||
}), WXSdk) : WXSdk).instance.initativeShare();
|
||||
} else if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
(_crd && DYSdk === void 0 ? (_reportPossibleCrUseOfDYSdk({
|
||||
error: Error()
|
||||
}), DYSdk) : DYSdk).instance.initativeShare();
|
||||
}
|
||||
}
|
||||
|
||||
showBanner() {
|
||||
if (sys.platform == sys.Platform.WECHAT_GAME) {
|
||||
(_crd && WXSdk === void 0 ? (_reportPossibleCrUseOfWXSdk({
|
||||
error: Error()
|
||||
}), WXSdk) : WXSdk).instance.showBanner();
|
||||
} else if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
(_crd && DYSdk === void 0 ? (_reportPossibleCrUseOfDYSdk({
|
||||
error: Error()
|
||||
}), DYSdk) : DYSdk).instance.showBanner();
|
||||
}
|
||||
}
|
||||
|
||||
hideBanner() {
|
||||
if (sys.platform == sys.Platform.WECHAT_GAME) {
|
||||
(_crd && WXSdk === void 0 ? (_reportPossibleCrUseOfWXSdk({
|
||||
error: Error()
|
||||
}), WXSdk) : WXSdk).instance.hideBanner();
|
||||
} else if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
(_crd && DYSdk === void 0 ? (_reportPossibleCrUseOfDYSdk({
|
||||
error: Error()
|
||||
}), DYSdk) : DYSdk).instance.hideBanner();
|
||||
}
|
||||
}
|
||||
|
||||
showInterstitial() {
|
||||
if (sys.platform == sys.Platform.WECHAT_GAME) {
|
||||
(_crd && WXSdk === void 0 ? (_reportPossibleCrUseOfWXSdk({
|
||||
error: Error()
|
||||
}), WXSdk) : WXSdk).instance.showInterstitial();
|
||||
} else if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
(_crd && DYSdk === void 0 ? (_reportPossibleCrUseOfDYSdk({
|
||||
error: Error()
|
||||
}), DYSdk) : DYSdk).instance.showInterstitial();
|
||||
}
|
||||
requestReward(onGranted) {
|
||||
onGranted == null || onGranted();
|
||||
}
|
||||
|
||||
}, _class2.instance = void 0, _class2)) || _class));
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -6,7 +6,7 @@ System.register([], function (_export, _context) {
|
||||
execute: async function () {
|
||||
// Auto generated represents the prerequisite imports of project modules.
|
||||
await (async () => {
|
||||
const requests = [() => _context.import("__unresolved_0"), () => _context.import("__unresolved_1"), () => _context.import("__unresolved_2"), () => _context.import("__unresolved_3"), () => _context.import("__unresolved_4"), () => _context.import("__unresolved_5"), () => _context.import("__unresolved_6"), () => _context.import("__unresolved_7"), () => _context.import("__unresolved_8"), () => _context.import("__unresolved_9"), () => _context.import("__unresolved_10"), () => _context.import("__unresolved_11"), () => _context.import("__unresolved_12"), () => _context.import("__unresolved_13"), () => _context.import("__unresolved_14"), () => _context.import("__unresolved_15"), () => _context.import("__unresolved_16"), () => _context.import("__unresolved_17"), () => _context.import("__unresolved_18"), () => _context.import("__unresolved_19"), () => _context.import("__unresolved_20"), () => _context.import("__unresolved_21"), () => _context.import("__unresolved_22"), () => _context.import("__unresolved_23"), () => _context.import("__unresolved_24"), () => _context.import("__unresolved_25"), () => _context.import("__unresolved_26"), () => _context.import("__unresolved_27"), () => _context.import("__unresolved_28"), () => _context.import("__unresolved_29"), () => _context.import("__unresolved_30"), () => _context.import("__unresolved_31"), () => _context.import("__unresolved_32"), () => _context.import("__unresolved_33"), () => _context.import("__unresolved_34"), () => _context.import("__unresolved_35"), () => _context.import("__unresolved_36"), () => _context.import("__unresolved_37")];
|
||||
const requests = [() => _context.import("__unresolved_0"), () => _context.import("__unresolved_1"), () => _context.import("__unresolved_2"), () => _context.import("__unresolved_3"), () => _context.import("__unresolved_4"), () => _context.import("__unresolved_5"), () => _context.import("__unresolved_6"), () => _context.import("__unresolved_7"), () => _context.import("__unresolved_8"), () => _context.import("__unresolved_9"), () => _context.import("__unresolved_10"), () => _context.import("__unresolved_11"), () => _context.import("__unresolved_12"), () => _context.import("__unresolved_13"), () => _context.import("__unresolved_14"), () => _context.import("__unresolved_15"), () => _context.import("__unresolved_16"), () => _context.import("__unresolved_17"), () => _context.import("__unresolved_18"), () => _context.import("__unresolved_19"), () => _context.import("__unresolved_20"), () => _context.import("__unresolved_21"), () => _context.import("__unresolved_22"), () => _context.import("__unresolved_23"), () => _context.import("__unresolved_24"), () => _context.import("__unresolved_25"), () => _context.import("__unresolved_26"), () => _context.import("__unresolved_27"), () => _context.import("__unresolved_28"), () => _context.import("__unresolved_29"), () => _context.import("__unresolved_30"), () => _context.import("__unresolved_31"), () => _context.import("__unresolved_32"), () => _context.import("__unresolved_33")];
|
||||
|
||||
for (const request of requests) {
|
||||
try {
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"sources":["cce:/internal/x/prerequisite-imports"],"names":["requests","request","_err"],"mappings":";;;;;;AACA;AAEA,YAAM,CAAC,YAAY;AACf,cAAMA,QAAQ,GAAG,CAAC,uCAAD,EAAqJ,uCAArJ,EAAoO,uCAApO,EAAuT,uCAAvT,EAAgZ,uCAAhZ,EAAue,uCAAve,EAA0jB,uCAA1jB,EAA0oB,uCAA1oB,EAA6tB,uCAA7tB,EAAwzB,uCAAxzB,EAA84B,wCAA94B,EAA09B,wCAA19B,EAAyiC,wCAAziC,EAAgoC,wCAAhoC,EAAutC,wCAAvtC,EAAszC,wCAAtzC,EAA+5C,wCAA/5C,EAAygD,wCAAzgD,EAAymD,wCAAzmD,EAAusD,wCAAvsD,EAA0yD,wCAA1yD,EAAq4D,wCAAr4D,EAAi+D,wCAAj+D,EAA4jE,wCAA5jE,EAA0pE,wCAA1pE,EAAsvE,wCAAtvE,EAAo1E,wCAAp1E,EAAm7E,wCAAn7E,EAA2gF,wCAA3gF,EAAkmF,wCAAlmF,EAAsrF,wCAAtrF,EAA0wF,wCAA1wF,EAA81F,wCAA91F,EAAq7F,wCAAr7F,EAA4gG,wCAA5gG,EAAimG,wCAAjmG,EAAwrG,wCAAxrG,EAAixG,wCAAjxG,CAAjB;;AACA,aAAK,MAAMC,OAAX,IAAsBD,QAAtB,EAAgC;AAC5B,cAAI;AACA,kBAAMC,OAAO,EAAb;AACH,WAFD,CAEE,OAAOC,IAAP,EAAa,CACX;AACH;AACJ;AACJ,OATK,GAAN","sourcesContent":["\n// Auto generated represents the prerequisite imports of project modules.\n\nawait (async () => {\n const requests = [() => import(\"file:///D:/ProgramData/cocos/editors/Creator/3.8.3/resources/resources/3d/engine/editor/assets/tools/debug-view-runtime-control.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/Ragdoll/Ragdoll.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/Ragdoll/RagdollBone.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/Ragdoll/RagdollConstraint.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/AssetController.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/BattleLevel.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/EnumFile.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/EventCenter.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/FPSCameraController.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/GameController.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/Test.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/UIAdapt.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/data/ConfigData.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/data/GameConfig.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/SingletonBase.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/animation/MoveComponent.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/animation/ScaleComponent.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/audio/AudioMgr.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/data/DataMgr.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/data/LocalSaveMgr.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/DYSdk.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/SdkMgr.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/WXSdk.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/ui/PanelBase.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/ui/UIAdapt.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/ui/UIManager.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/ui/UISwitcher.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/AddHeartPanel.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/LoadingPanel.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/LosePanel.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/MainPanel.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/PlayPanel.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/QingBaoPanel.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/SettingPanel.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/SharePanel.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/SideTipPanel.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/TargetIconItem.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/WinPanel.ts\")];\n for (const request of requests) {\n try {\n await request();\n } catch (_err) {\n // The error should have been caught by executor.\n }\n }\n})();\n "]}
|
||||
{"version":3,"sources":["cce:/internal/x/prerequisite-imports"],"names":["requests","request","_err"],"mappings":";;;;;;AACA;AAEA,YAAM,CAAC,YAAY;AACf,cAAMA,QAAQ,GAAG,CAAC,uCAAD,EAAqJ,uCAArJ,EAAoO,uCAApO,EAAuT,uCAAvT,EAAgZ,uCAAhZ,EAAue,uCAAve,EAA0jB,uCAA1jB,EAA0oB,uCAA1oB,EAA6tB,uCAA7tB,EAAwzB,uCAAxzB,EAA84B,wCAA94B,EAA09B,wCAA19B,EAAyiC,wCAAziC,EAAgoC,wCAAhoC,EAAutC,wCAAvtC,EAAszC,wCAAtzC,EAA+5C,wCAA/5C,EAAygD,wCAAzgD,EAAymD,wCAAzmD,EAAusD,wCAAvsD,EAA0yD,wCAA1yD,EAAs4D,wCAAt4D,EAAo+D,wCAAp+D,EAAgkE,wCAAhkE,EAA8pE,wCAA9pE,EAA6vE,wCAA7vE,EAAq1E,wCAAr1E,EAA46E,wCAA56E,EAAggF,wCAAhgF,EAAolF,wCAAplF,EAAwqF,wCAAxqF,EAA+vF,wCAA/vF,EAAs1F,wCAAt1F,EAA+6F,wCAA/6F,CAAjB;;AACA,aAAK,MAAMC,OAAX,IAAsBD,QAAtB,EAAgC;AAC5B,cAAI;AACA,kBAAMC,OAAO,EAAb;AACH,WAFD,CAEE,OAAOC,IAAP,EAAa,CACX;AACH;AACJ;AACJ,OATK,GAAN","sourcesContent":["\n// Auto generated represents the prerequisite imports of project modules.\n\nawait (async () => {\n const requests = [() => import(\"file:///D:/ProgramData/cocos/editors/Creator/3.8.3/resources/resources/3d/engine/editor/assets/tools/debug-view-runtime-control.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/Ragdoll/Ragdoll.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/Ragdoll/RagdollBone.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/Ragdoll/RagdollConstraint.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/AssetController.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/BattleLevel.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/EnumFile.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/EventCenter.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/FPSCameraController.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/GameController.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/Test.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/UIAdapt.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/data/ConfigData.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/data/GameConfig.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/SingletonBase.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/animation/MoveComponent.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/animation/ScaleComponent.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/audio/AudioMgr.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/data/DataMgr.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/data/LocalSaveMgr.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/SdkMgr.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/ui/PanelBase.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/ui/UIAdapt.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/ui/UIManager.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/ui/UISwitcher.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/AddHeartPanel.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/LoadingPanel.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/LosePanel.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/MainPanel.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/PlayPanel.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/QingBaoPanel.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/SettingPanel.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/TargetIconItem.ts\"), () => import(\"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/WinPanel.ts\")];\n for (const request of requests) {\n try {\n await request();\n } catch (_err) {\n // The error should have been caught by executor.\n }\n }\n})();\n "]}
|
||||
+1
-1
@@ -96,7 +96,7 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
}), AssetController) : AssetController).instance.click);
|
||||
(_crd && SdkMgr === void 0 ? (_reportPossibleCrUseOfSdkMgr({
|
||||
error: Error()
|
||||
}), SdkMgr) : SdkMgr).instance.playerRewardAds(() => {
|
||||
}), SdkMgr) : SdkMgr).instance.requestReward(() => {
|
||||
(_crd && LocalSaveMgr === void 0 ? (_reportPossibleCrUseOfLocalSaveMgr({
|
||||
error: Error()
|
||||
}), LocalSaveMgr) : LocalSaveMgr).instance.adsAddPower();
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"sources":["file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/AddHeartPanel.ts"],"names":["_decorator","Button","LocalSaveMgr","UIManager","AudioMgr","PanelBase","AssetController","SdkMgr","ccclass","property","AddHeartPanel","type","onLoad","instance","closeBtn","node","on","EventType","CLICK","closeBtnCallBack","addPower","addPowerCallBack","inst","playOneShot","click","playerRewardAds","adsAddPower","closePanel","button","start"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACSA,MAAAA,U,OAAAA,U;AAAYC,MAAAA,M,OAAAA,M;;AACZC,MAAAA,Y,iBAAAA,Y;;AACAC,MAAAA,S,iBAAAA,S;;AAEAC,MAAAA,Q,iBAAAA,Q;;AACAC,MAAAA,S,iBAAAA,S;;AACAC,MAAAA,e,iBAAAA,e;;AAEAC,MAAAA,M,iBAAAA,M;;;;;;;;;OAEH;AAAEC,QAAAA,OAAF;AAAWC,QAAAA;AAAX,O,GAAwBT,U;;+BAGjBU,a,WADZF,OAAO,CAAC,eAAD,C,UAKHC,QAAQ,CAAC;AAAEE,QAAAA,IAAI,EAAEV;AAAR,OAAD,C,UAGRQ,QAAQ,CAAC;AAAEE,QAAAA,IAAI,EAAEV;AAAR,OAAD,C,sCARb,MACaS,aADb;AAAA;AAAA,kCAC6C;AAAA;AAAA;;AAAA;;AAAA;AAAA;;AAUzCE,QAAAA,MAAM,GAAG;AACLF,UAAAA,aAAa,CAACG,QAAd,GAAyB,IAAzB;AACA,eAAKC,QAAL,CAAcC,IAAd,CAAmBC,EAAnB,CAAsBf,MAAM,CAACgB,SAAP,CAAiBC,KAAvC,EAA8C,KAAKC,gBAAnD,EAAqE,IAArE;AACA,eAAKC,QAAL,CAAcL,IAAd,CAAmBC,EAAnB,CAAsBf,MAAM,CAACgB,SAAP,CAAiBC,KAAvC,EAA8C,KAAKG,gBAAnD,EAAqE,IAArE;AACH;;AAEDA,QAAAA,gBAAgB,GAAG;AACf;AAAA;AAAA,oCAASC,IAAT,CAAcC,WAAd,CAA0B;AAAA;AAAA,kDAAgBV,QAAhB,CAAyBW,KAAnD;AACA;AAAA;AAAA,gCAAOX,QAAP,CAAgBY,eAAhB,CAAgC,MAAM;AAClC;AAAA;AAAA,8CAAaZ,QAAb,CAAsBa,WAAtB;AACA;AAAA;AAAA,wCAAUb,QAAV,CAAmBc,UAAnB,CAA8BjB,aAA9B;AACH,WAHD;AAIH;;AAEDS,QAAAA,gBAAgB,CAACS,MAAD,EAAiB;AAC7B;AAAA;AAAA,oCAASN,IAAT,CAAcC,WAAd,CAA0B;AAAA;AAAA,kDAAgBV,QAAhB,CAAyBW,KAAnD;AACA;AAAA;AAAA,sCAAUX,QAAV,CAAmBc,UAAnB,CAA8BjB,aAA9B;AACH;;AACDmB,QAAAA,KAAK,GAAG,CAEP;;AA9BwC,O,UAElChB,Q;;;;;iBAGY,I;;;;;;;iBAGA,I","sourcesContent":["\r\nimport { _decorator, Button, Component, Label, Node, Tween, tween, Vec3 } from 'cc';\r\nimport { LocalSaveMgr } from '../framework/data/LocalSaveMgr';\r\nimport { UIManager } from '../framework/ui/UIManager';\r\nimport { UISwitcher } from '../framework/ui/UISwitcher';\r\nimport { AudioMgr } from '../framework/audio/AudioMgr';\r\nimport { PanelBase } from '../framework/ui/PanelBase';\r\nimport { AssetController } from '../AssetController';\r\nimport { GameController } from '../GameController';\r\nimport { SdkMgr } from '../framework/sdk/SdkMgr';\r\n\r\nconst { ccclass, property } = _decorator;\r\n\r\n@ccclass('AddHeartPanel')\r\nexport class AddHeartPanel extends PanelBase {\r\n\r\n static instance: AddHeartPanel;\r\n\r\n @property({ type: Button })\r\n addPower: Button = null;\r\n\r\n @property({ type: Button })\r\n closeBtn: Button = null;\r\n\r\n onLoad() {\r\n AddHeartPanel.instance = this;\r\n this.closeBtn.node.on(Button.EventType.CLICK, this.closeBtnCallBack, this);\r\n this.addPower.node.on(Button.EventType.CLICK, this.addPowerCallBack, this);\r\n }\r\n\r\n addPowerCallBack() {\r\n AudioMgr.inst.playOneShot(AssetController.instance.click)\r\n SdkMgr.instance.playerRewardAds(() => {\r\n LocalSaveMgr.instance.adsAddPower()\r\n UIManager.instance.closePanel(AddHeartPanel)\r\n })\r\n }\r\n\r\n closeBtnCallBack(button: Button) {\r\n AudioMgr.inst.playOneShot(AssetController.instance.click)\r\n UIManager.instance.closePanel(AddHeartPanel)\r\n }\r\n start() {\r\n\r\n }\r\n}\r\n\r\n\r\n"]}
|
||||
{"version":3,"sources":["file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/AddHeartPanel.ts"],"names":["_decorator","Button","LocalSaveMgr","UIManager","AudioMgr","PanelBase","AssetController","SdkMgr","ccclass","property","AddHeartPanel","type","onLoad","instance","closeBtn","node","on","EventType","CLICK","closeBtnCallBack","addPower","addPowerCallBack","inst","playOneShot","click","requestReward","adsAddPower","closePanel","button","start"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACSA,MAAAA,U,OAAAA,U;AAAYC,MAAAA,M,OAAAA,M;;AACZC,MAAAA,Y,iBAAAA,Y;;AACAC,MAAAA,S,iBAAAA,S;;AAEAC,MAAAA,Q,iBAAAA,Q;;AACAC,MAAAA,S,iBAAAA,S;;AACAC,MAAAA,e,iBAAAA,e;;AAEAC,MAAAA,M,iBAAAA,M;;;;;;;;;OAEH;AAAEC,QAAAA,OAAF;AAAWC,QAAAA;AAAX,O,GAAwBT,U;;+BAGjBU,a,WADZF,OAAO,CAAC,eAAD,C,UAKHC,QAAQ,CAAC;AAAEE,QAAAA,IAAI,EAAEV;AAAR,OAAD,C,UAGRQ,QAAQ,CAAC;AAAEE,QAAAA,IAAI,EAAEV;AAAR,OAAD,C,sCARb,MACaS,aADb;AAAA;AAAA,kCAC6C;AAAA;AAAA;;AAAA;;AAAA;AAAA;;AAUzCE,QAAAA,MAAM,GAAG;AACLF,UAAAA,aAAa,CAACG,QAAd,GAAyB,IAAzB;AACA,eAAKC,QAAL,CAAcC,IAAd,CAAmBC,EAAnB,CAAsBf,MAAM,CAACgB,SAAP,CAAiBC,KAAvC,EAA8C,KAAKC,gBAAnD,EAAqE,IAArE;AACA,eAAKC,QAAL,CAAcL,IAAd,CAAmBC,EAAnB,CAAsBf,MAAM,CAACgB,SAAP,CAAiBC,KAAvC,EAA8C,KAAKG,gBAAnD,EAAqE,IAArE;AACH;;AAEDA,QAAAA,gBAAgB,GAAG;AACf;AAAA;AAAA,oCAASC,IAAT,CAAcC,WAAd,CAA0B;AAAA;AAAA,kDAAgBV,QAAhB,CAAyBW,KAAnD;AACA;AAAA;AAAA,gCAAOX,QAAP,CAAgBY,aAAhB,CAA8B,MAAM;AAChC;AAAA;AAAA,8CAAaZ,QAAb,CAAsBa,WAAtB;AACA;AAAA;AAAA,wCAAUb,QAAV,CAAmBc,UAAnB,CAA8BjB,aAA9B;AACH,WAHD;AAIH;;AAEDS,QAAAA,gBAAgB,CAACS,MAAD,EAAiB;AAC7B;AAAA;AAAA,oCAASN,IAAT,CAAcC,WAAd,CAA0B;AAAA;AAAA,kDAAgBV,QAAhB,CAAyBW,KAAnD;AACA;AAAA;AAAA,sCAAUX,QAAV,CAAmBc,UAAnB,CAA8BjB,aAA9B;AACH;;AACDmB,QAAAA,KAAK,GAAG,CAEP;;AA9BwC,O,UAElChB,Q;;;;;iBAGY,I;;;;;;;iBAGA,I","sourcesContent":["\r\nimport { _decorator, Button, Component, Label, Node, Tween, tween, Vec3 } from 'cc';\r\nimport { LocalSaveMgr } from '../framework/data/LocalSaveMgr';\r\nimport { UIManager } from '../framework/ui/UIManager';\r\nimport { UISwitcher } from '../framework/ui/UISwitcher';\r\nimport { AudioMgr } from '../framework/audio/AudioMgr';\r\nimport { PanelBase } from '../framework/ui/PanelBase';\r\nimport { AssetController } from '../AssetController';\r\nimport { GameController } from '../GameController';\r\nimport { SdkMgr } from '../framework/sdk/SdkMgr';\r\n\r\nconst { ccclass, property } = _decorator;\r\n\r\n@ccclass('AddHeartPanel')\r\nexport class AddHeartPanel extends PanelBase {\r\n\r\n static instance: AddHeartPanel;\r\n\r\n @property({ type: Button })\r\n addPower: Button = null;\r\n\r\n @property({ type: Button })\r\n closeBtn: Button = null;\r\n\r\n onLoad() {\r\n AddHeartPanel.instance = this;\r\n this.closeBtn.node.on(Button.EventType.CLICK, this.closeBtnCallBack, this);\r\n this.addPower.node.on(Button.EventType.CLICK, this.addPowerCallBack, this);\r\n }\r\n\r\n addPowerCallBack() {\r\n AudioMgr.inst.playOneShot(AssetController.instance.click)\r\n SdkMgr.instance.requestReward(() => {\n LocalSaveMgr.instance.adsAddPower()\r\n UIManager.instance.closePanel(AddHeartPanel)\r\n })\r\n }\r\n\r\n closeBtnCallBack(button: Button) {\r\n AudioMgr.inst.playOneShot(AssetController.instance.click)\r\n UIManager.instance.closePanel(AddHeartPanel)\r\n }\r\n start() {\r\n\r\n }\r\n}\r\n\r\n\r\n"]}
|
||||
-19
@@ -152,11 +152,6 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
this.save();
|
||||
}
|
||||
|
||||
setSideTip() {
|
||||
this.playerData.haveGetSideReward = true;
|
||||
this.save();
|
||||
}
|
||||
|
||||
adsAddPower() {
|
||||
this.playerData.power += 3;
|
||||
(_crd && EventCenter === void 0 ? (_reportPossibleCrUseOfEventCenter({
|
||||
@@ -177,14 +172,6 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
}), Config) : Config).powerCD - passTime;
|
||||
}
|
||||
|
||||
setShareTime() {
|
||||
const date = new Date();
|
||||
const dayOfMonth = date.getDate();
|
||||
this.playerData.day = dayOfMonth;
|
||||
this.save();
|
||||
console.log(dayOfMonth);
|
||||
}
|
||||
|
||||
update(dt) {
|
||||
if (this.playerData.power < (_crd && Config === void 0 ? (_reportPossibleCrUseOfConfig({
|
||||
error: Error()
|
||||
@@ -234,10 +221,7 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
this.ownWeapon = [1];
|
||||
this.lastAddPowerTimer = null;
|
||||
this.isOnTimerRun = false;
|
||||
this.haveGetSideReward = false;
|
||||
this.haveShare = false;
|
||||
this.haveTutorial = false;
|
||||
this.day = -1;
|
||||
}
|
||||
|
||||
jsonDataInit(obj) {
|
||||
@@ -251,9 +235,6 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
if (obj.lastAddPowerTimer != null) this.lastAddPowerTimer = obj.lastAddPowerTimer;
|
||||
if (obj.power != null) this.power = obj.power;
|
||||
if (obj.isOnTimerRun != null) this.isOnTimerRun = obj.isOnTimerRun;
|
||||
if (obj.haveGetSideReward != null) this.haveGetSideReward = obj.haveGetSideReward;
|
||||
if (obj.haveShare != null) this.haveShare = obj.haveShare;
|
||||
if (obj.day != null) this.day = obj.day;
|
||||
if (obj.haveTutorial != null) this.haveTutorial = obj.haveTutorial;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -120,7 +120,7 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
}), AssetController) : AssetController).instance.click);
|
||||
(_crd && SdkMgr === void 0 ? (_reportPossibleCrUseOfSdkMgr({
|
||||
error: Error()
|
||||
}), SdkMgr) : SdkMgr).instance.playerRewardAds(() => {
|
||||
}), SdkMgr) : SdkMgr).instance.requestReward(() => {
|
||||
(_crd && GameController === void 0 ? (_reportPossibleCrUseOfGameController({
|
||||
error: Error()
|
||||
}), GameController) : GameController).getInstance().curLevel.addTimer();
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"sources":["file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/LosePanel.ts"],"names":["_decorator","Button","Label","PanelBase","GameController","UIManager","SdkMgr","AudioMgr","AssetController","ccclass","property","LosePanel","onLoad","instance","closeBtn","node","on","EventType","CLICK","onClickClose","replayBtn","onClickReplay","addTimeBtn","onClickAddTime","inst","playOneShot","click","getInstance","backMain","gameRestart","playerRewardAds","curLevel","addTimer","ContinueRun","closePanel","onOpen","remainLabel","string","getAliveEnemeyCount","toString"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAASA,MAAAA,U,OAAAA,U;AAAYC,MAAAA,M,OAAAA,M;AAA0DC,MAAAA,K,OAAAA,K;;AACtEC,MAAAA,S,iBAAAA,S;;AAEAC,MAAAA,c,iBAAAA,c;;AAGAC,MAAAA,S,iBAAAA,S;;AACAC,MAAAA,M,iBAAAA,M;;AACAC,MAAAA,Q,iBAAAA,Q;;AACAC,MAAAA,e,iBAAAA,e;;;;;;;;;OACH;AAAEC,QAAAA,OAAF;AAAWC,QAAAA;AAAX,O,GAAwBV,U;;2BAGjBW,S,WADZF,OAAO,CAAC,WAAD,C,UAKHC,QAAQ,CAACT,MAAD,C,UAGRS,QAAQ,CAACT,MAAD,C,UAGRS,QAAQ,CAACT,MAAD,C,UAGRS,QAAQ,CAACR,KAAD,C,sCAdb,MACaS,SADb;AAAA;AAAA,kCACyC;AAAA;AAAA;;AAAA;;AAAA;;AAAA;;AAAA;AAAA;;AAgBrCC,QAAAA,MAAM,GAAG;AACLD,UAAAA,SAAS,CAACE,QAAV,GAAqB,IAArB;AACA,eAAKC,QAAL,CAAcC,IAAd,CAAmBC,EAAnB,CAAsBf,MAAM,CAACgB,SAAP,CAAiBC,KAAvC,EAA8C,KAAKC,YAAnD,EAAiE,IAAjE;AACA,eAAKC,SAAL,CAAeL,IAAf,CAAoBC,EAApB,CAAuBf,MAAM,CAACgB,SAAP,CAAiBC,KAAxC,EAA+C,KAAKG,aAApD,EAAmE,IAAnE;AACA,eAAKC,UAAL,CAAgBP,IAAhB,CAAqBC,EAArB,CAAwBf,MAAM,CAACgB,SAAP,CAAiBC,KAAzC,EAAgD,KAAKK,cAArD,EAAqE,IAArE;AACH;;AACDJ,QAAAA,YAAY,GAAG;AACX;AAAA;AAAA,oCAASK,IAAT,CAAcC,WAAd,CAA0B;AAAA;AAAA,kDAAgBZ,QAAhB,CAAyBa,KAAnD;AACA;AAAA;AAAA,gDAAeC,WAAf,GAA6BC,QAA7B;AACH;;AAEDP,QAAAA,aAAa,GAAG;AACZ;AAAA;AAAA,oCAASG,IAAT,CAAcC,WAAd,CAA0B;AAAA;AAAA,kDAAgBZ,QAAhB,CAAyBa,KAAnD;AACA;AAAA;AAAA,gDAAeC,WAAf,GAA6BE,WAA7B;AACH;;AAEDN,QAAAA,cAAc,GAAG;AACb;AAAA;AAAA,oCAASC,IAAT,CAAcC,WAAd,CAA0B;AAAA;AAAA,kDAAgBZ,QAAhB,CAAyBa,KAAnD;AACA;AAAA;AAAA,gCAAOb,QAAP,CAAgBiB,eAAhB,CAAgC,MAAM;AAClC;AAAA;AAAA,kDAAeH,WAAf,GAA6BI,QAA7B,CAAsCC,QAAtC;AACA;AAAA;AAAA,kDAAeL,WAAf,GAA6BI,QAA7B,CAAsCE,WAAtC;AACA;AAAA;AAAA,wCAAUpB,QAAV,CAAmBqB,UAAnB,CAA8BvB,SAA9B;AACH,WAJD;AAKH;;AAESwB,QAAAA,MAAM,GAAS;AACrBxB,UAAAA,SAAS,CAACE,QAAV,CAAmBuB,WAAnB,CAA+BC,MAA/B,GAAwC,SAAS;AAAA;AAAA,gDAAeV,WAAf,GAA6BI,QAA7B,CAAsCO,mBAAtC,GAA4DC,QAA5D,EAAjD;AACH;;AA3CoC,O,UAE9B1B,Q,GAAsB,I;;;;;iBAGV,I;;;;;;;iBAGC,I;;;;;;;iBAGC,I;;;;;;;iBAGA,I","sourcesContent":["import { _decorator, Button, Component, EventTouch, Input, input, instantiate, Label, Node, Prefab } from 'cc';\r\nimport { PanelBase } from '../framework/ui/PanelBase';\r\nimport { FPSCameraController } from '../FPSCameraController';\r\nimport { GameController } from '../GameController';\r\nimport { TargetIconItem } from './TargetIconItem';\r\nimport { EventCenter } from '../EventCenter';\r\nimport { UIManager } from '../framework/ui/UIManager';\r\nimport { SdkMgr } from '../framework/sdk/SdkMgr';\r\nimport { AudioMgr } from '../framework/audio/AudioMgr';\r\nimport { AssetController } from '../AssetController';\r\nconst { ccclass, property } = _decorator;\r\n\r\n@ccclass('LosePanel')\r\nexport class LosePanel extends PanelBase {\r\n\r\n static instance: LosePanel = null\r\n\r\n @property(Button)\r\n closeBtn: Button = null;\r\n\r\n @property(Button)\r\n replayBtn: Button = null;\r\n\r\n @property(Button)\r\n addTimeBtn: Button = null;\r\n\r\n @property(Label)\r\n remainLabel: Label = null;\r\n\r\n onLoad() {\r\n LosePanel.instance = this\r\n this.closeBtn.node.on(Button.EventType.CLICK, this.onClickClose, this);\r\n this.replayBtn.node.on(Button.EventType.CLICK, this.onClickReplay, this);\r\n this.addTimeBtn.node.on(Button.EventType.CLICK, this.onClickAddTime, this);\r\n }\r\n onClickClose() {\r\n AudioMgr.inst.playOneShot(AssetController.instance.click)\r\n GameController.getInstance().backMain()\r\n }\r\n\r\n onClickReplay() {\r\n AudioMgr.inst.playOneShot(AssetController.instance.click)\r\n GameController.getInstance().gameRestart()\r\n }\r\n\r\n onClickAddTime() {\r\n AudioMgr.inst.playOneShot(AssetController.instance.click)\r\n SdkMgr.instance.playerRewardAds(() => {\r\n GameController.getInstance().curLevel.addTimer()\r\n GameController.getInstance().curLevel.ContinueRun()\r\n UIManager.instance.closePanel(LosePanel)\r\n })\r\n }\r\n\r\n protected onOpen(): void {\r\n LosePanel.instance.remainLabel.string = \"剩余: \" + GameController.getInstance().curLevel.getAliveEnemeyCount().toString()\r\n }\r\n\r\n}\r\n\r\n\r\n"]}
|
||||
{"version":3,"sources":["file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/LosePanel.ts"],"names":["_decorator","Button","Label","PanelBase","GameController","UIManager","SdkMgr","AudioMgr","AssetController","ccclass","property","LosePanel","onLoad","instance","closeBtn","node","on","EventType","CLICK","onClickClose","replayBtn","onClickReplay","addTimeBtn","onClickAddTime","inst","playOneShot","click","getInstance","backMain","gameRestart","requestReward","curLevel","addTimer","ContinueRun","closePanel","onOpen","remainLabel","string","getAliveEnemeyCount","toString"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAASA,MAAAA,U,OAAAA,U;AAAYC,MAAAA,M,OAAAA,M;AAA0DC,MAAAA,K,OAAAA,K;;AACtEC,MAAAA,S,iBAAAA,S;;AAEAC,MAAAA,c,iBAAAA,c;;AAGAC,MAAAA,S,iBAAAA,S;;AACAC,MAAAA,M,iBAAAA,M;;AACAC,MAAAA,Q,iBAAAA,Q;;AACAC,MAAAA,e,iBAAAA,e;;;;;;;;;OACH;AAAEC,QAAAA,OAAF;AAAWC,QAAAA;AAAX,O,GAAwBV,U;;2BAGjBW,S,WADZF,OAAO,CAAC,WAAD,C,UAKHC,QAAQ,CAACT,MAAD,C,UAGRS,QAAQ,CAACT,MAAD,C,UAGRS,QAAQ,CAACT,MAAD,C,UAGRS,QAAQ,CAACR,KAAD,C,sCAdb,MACaS,SADb;AAAA;AAAA,kCACyC;AAAA;AAAA;;AAAA;;AAAA;;AAAA;;AAAA;AAAA;;AAgBrCC,QAAAA,MAAM,GAAG;AACLD,UAAAA,SAAS,CAACE,QAAV,GAAqB,IAArB;AACA,eAAKC,QAAL,CAAcC,IAAd,CAAmBC,EAAnB,CAAsBf,MAAM,CAACgB,SAAP,CAAiBC,KAAvC,EAA8C,KAAKC,YAAnD,EAAiE,IAAjE;AACA,eAAKC,SAAL,CAAeL,IAAf,CAAoBC,EAApB,CAAuBf,MAAM,CAACgB,SAAP,CAAiBC,KAAxC,EAA+C,KAAKG,aAApD,EAAmE,IAAnE;AACA,eAAKC,UAAL,CAAgBP,IAAhB,CAAqBC,EAArB,CAAwBf,MAAM,CAACgB,SAAP,CAAiBC,KAAzC,EAAgD,KAAKK,cAArD,EAAqE,IAArE;AACH;;AACDJ,QAAAA,YAAY,GAAG;AACX;AAAA;AAAA,oCAASK,IAAT,CAAcC,WAAd,CAA0B;AAAA;AAAA,kDAAgBZ,QAAhB,CAAyBa,KAAnD;AACA;AAAA;AAAA,gDAAeC,WAAf,GAA6BC,QAA7B;AACH;;AAEDP,QAAAA,aAAa,GAAG;AACZ;AAAA;AAAA,oCAASG,IAAT,CAAcC,WAAd,CAA0B;AAAA;AAAA,kDAAgBZ,QAAhB,CAAyBa,KAAnD;AACA;AAAA;AAAA,gDAAeC,WAAf,GAA6BE,WAA7B;AACH;;AAEDN,QAAAA,cAAc,GAAG;AACb;AAAA;AAAA,oCAASC,IAAT,CAAcC,WAAd,CAA0B;AAAA;AAAA,kDAAgBZ,QAAhB,CAAyBa,KAAnD;AACA;AAAA;AAAA,gCAAOb,QAAP,CAAgBiB,aAAhB,CAA8B,MAAM;AAChC;AAAA;AAAA,kDAAeH,WAAf,GAA6BI,QAA7B,CAAsCC,QAAtC;AACA;AAAA;AAAA,kDAAeL,WAAf,GAA6BI,QAA7B,CAAsCE,WAAtC;AACA;AAAA;AAAA,wCAAUpB,QAAV,CAAmBqB,UAAnB,CAA8BvB,SAA9B;AACH,WAJD;AAKH;;AAESwB,QAAAA,MAAM,GAAS;AACrBxB,UAAAA,SAAS,CAACE,QAAV,CAAmBuB,WAAnB,CAA+BC,MAA/B,GAAwC,SAAS;AAAA;AAAA,gDAAeV,WAAf,GAA6BI,QAA7B,CAAsCO,mBAAtC,GAA4DC,QAA5D,EAAjD;AACH;;AA3CoC,O,UAE9B1B,Q,GAAsB,I;;;;;iBAGV,I;;;;;;;iBAGC,I;;;;;;;iBAGC,I;;;;;;;iBAGA,I","sourcesContent":["import { _decorator, Button, Component, EventTouch, Input, input, instantiate, Label, Node, Prefab } from 'cc';\r\nimport { PanelBase } from '../framework/ui/PanelBase';\r\nimport { FPSCameraController } from '../FPSCameraController';\r\nimport { GameController } from '../GameController';\r\nimport { TargetIconItem } from './TargetIconItem';\r\nimport { EventCenter } from '../EventCenter';\r\nimport { UIManager } from '../framework/ui/UIManager';\r\nimport { SdkMgr } from '../framework/sdk/SdkMgr';\r\nimport { AudioMgr } from '../framework/audio/AudioMgr';\r\nimport { AssetController } from '../AssetController';\r\nconst { ccclass, property } = _decorator;\r\n\r\n@ccclass('LosePanel')\r\nexport class LosePanel extends PanelBase {\r\n\r\n static instance: LosePanel = null\r\n\r\n @property(Button)\r\n closeBtn: Button = null;\r\n\r\n @property(Button)\r\n replayBtn: Button = null;\r\n\r\n @property(Button)\r\n addTimeBtn: Button = null;\r\n\r\n @property(Label)\r\n remainLabel: Label = null;\r\n\r\n onLoad() {\r\n LosePanel.instance = this\r\n this.closeBtn.node.on(Button.EventType.CLICK, this.onClickClose, this);\r\n this.replayBtn.node.on(Button.EventType.CLICK, this.onClickReplay, this);\r\n this.addTimeBtn.node.on(Button.EventType.CLICK, this.onClickAddTime, this);\r\n }\r\n onClickClose() {\r\n AudioMgr.inst.playOneShot(AssetController.instance.click)\r\n GameController.getInstance().backMain()\r\n }\r\n\r\n onClickReplay() {\r\n AudioMgr.inst.playOneShot(AssetController.instance.click)\r\n GameController.getInstance().gameRestart()\r\n }\r\n\r\n onClickAddTime() {\r\n AudioMgr.inst.playOneShot(AssetController.instance.click)\r\n SdkMgr.instance.requestReward(() => {\n GameController.getInstance().curLevel.addTimer()\r\n GameController.getInstance().curLevel.ContinueRun()\r\n UIManager.instance.closePanel(LosePanel)\r\n })\r\n }\r\n\r\n protected onOpen(): void {\r\n LosePanel.instance.remainLabel.string = \"剩余: \" + GameController.getInstance().curLevel.getAliveEnemeyCount().toString()\r\n }\r\n\r\n}\r\n\r\n\r\n"]}
|
||||
+2
-15
@@ -1,7 +1,7 @@
|
||||
System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__unresolved_3", "__unresolved_4", "__unresolved_5", "__unresolved_6", "__unresolved_7", "__unresolved_8", "__unresolved_9", "__unresolved_10", "__unresolved_11"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
var _reporterNs, _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, AssetManager, Camera, Component, instantiate, Node, Prefab, resources, sys, Ragdoll, EventCenter, LevelState, GameController, UIManager, WinPanel, FPSCameraController, DataMgr, LevelConfig, Weapon, LocalSaveMgr, LosePanel, BattleResult, _dec, _dec2, _class, _class2, _descriptor, _crd, ccclass, property, BattleLevel;
|
||||
var _reporterNs, _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, AssetManager, Camera, Component, instantiate, Node, Prefab, resources, Ragdoll, EventCenter, LevelState, GameController, UIManager, WinPanel, FPSCameraController, DataMgr, LevelConfig, Weapon, LocalSaveMgr, LosePanel, BattleResult, _dec, _dec2, _class, _class2, _descriptor, _crd, ccclass, property, BattleLevel;
|
||||
|
||||
function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
|
||||
|
||||
@@ -74,7 +74,6 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
Node = _cc.Node;
|
||||
Prefab = _cc.Prefab;
|
||||
resources = _cc.resources;
|
||||
sys = _cc.sys;
|
||||
}, function (_unresolved_2) {
|
||||
Ragdoll = _unresolved_2.Ragdoll;
|
||||
}, function (_unresolved_3) {
|
||||
@@ -104,7 +103,7 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
|
||||
_cclegacy._RF.push({}, "9e148aozb1Po7lPojkLGFFt", "BattleLevel", undefined);
|
||||
|
||||
__checkObsolete__(['_decorator', 'AssetManager', 'Camera', 'Component', 'instantiate', 'math', 'Node', 'Prefab', 'resources', 'sys']);
|
||||
__checkObsolete__(['_decorator', 'AssetManager', 'Camera', 'Component', 'instantiate', 'math', 'Node', 'Prefab', 'resources']);
|
||||
|
||||
({
|
||||
ccclass,
|
||||
@@ -191,12 +190,6 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
|
||||
this.levelIndex = levelIndex; // levelIndex = 1
|
||||
|
||||
if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
tt.reportAnalytics('start_level', {
|
||||
level: this.levelIndex
|
||||
});
|
||||
}
|
||||
|
||||
let config = (_crd && DataMgr === void 0 ? (_reportPossibleCrUseOfDataMgr({
|
||||
error: Error()
|
||||
}), DataMgr) : DataMgr).getInstance().GetDataById(_crd && LevelConfig === void 0 ? (_reportPossibleCrUseOfLevelConfig({
|
||||
@@ -322,12 +315,6 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
}
|
||||
|
||||
win() {
|
||||
if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
tt.reportAnalytics('end_level', {
|
||||
level: this.levelIndex
|
||||
});
|
||||
}
|
||||
|
||||
this.levelState = (_crd && LevelState === void 0 ? (_reportPossibleCrUseOfLevelState({
|
||||
error: Error()
|
||||
}), LevelState) : LevelState).Result;
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+4
-21
@@ -1,7 +1,7 @@
|
||||
System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__unresolved_3", "__unresolved_4", "__unresolved_5", "__unresolved_6", "__unresolved_7", "__unresolved_8", "__unresolved_9", "__unresolved_10", "__unresolved_11", "__unresolved_12"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
var _reporterNs, _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, Animation, AnimationComponent, Button, instantiate, Label, Node, Prefab, randomRange, randomRangeInt, sys, tween, Vec2, Vec3, PanelBase, FPSCameraController, GameController, TargetIconItem, EventCenter, UIManager, QingBaoPanel, SettingPanel, SdkMgr, AudioMgr, AssetController, LocalSaveMgr, _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _class3, _crd, ccclass, property, PlayPanel;
|
||||
var _reporterNs, _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, Animation, AnimationComponent, Button, instantiate, Label, Node, Prefab, randomRange, randomRangeInt, tween, Vec2, Vec3, PanelBase, FPSCameraController, GameController, TargetIconItem, EventCenter, UIManager, QingBaoPanel, SettingPanel, SdkMgr, AudioMgr, AssetController, LocalSaveMgr, _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _class3, _crd, ccclass, property, PlayPanel;
|
||||
|
||||
function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
|
||||
|
||||
@@ -78,7 +78,6 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
Prefab = _cc.Prefab;
|
||||
randomRange = _cc.randomRange;
|
||||
randomRangeInt = _cc.randomRangeInt;
|
||||
sys = _cc.sys;
|
||||
tween = _cc.tween;
|
||||
Vec2 = _cc.Vec2;
|
||||
Vec3 = _cc.Vec3;
|
||||
@@ -112,7 +111,7 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
|
||||
_cclegacy._RF.push({}, "a66cdbq8WdFToV6aW4c47xh", "PlayPanel", undefined);
|
||||
|
||||
__checkObsolete__(['_decorator', 'animation', 'Animation', 'AnimationComponent', 'Button', 'Component', 'EventTouch', 'Input', 'input', 'instantiate', 'Label', 'math', 'Node', 'Prefab', 'randomRange', 'randomRangeInt', 'screen', 'Screen', 'sys', 'tween', 'Vec2', 'Vec3', 'view']);
|
||||
__checkObsolete__(['_decorator', 'animation', 'Animation', 'AnimationComponent', 'Button', 'Component', 'EventTouch', 'Input', 'input', 'instantiate', 'Label', 'math', 'Node', 'Prefab', 'randomRange', 'randomRangeInt', 'screen', 'Screen', 'tween', 'Vec2', 'Vec3', 'view']);
|
||||
|
||||
({
|
||||
ccclass,
|
||||
@@ -236,14 +235,6 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
}
|
||||
|
||||
onClickQingBao() {
|
||||
if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
tt.reportAnalytics('use_prop', {
|
||||
level: (_crd && GameController === void 0 ? (_reportPossibleCrUseOfGameController({
|
||||
error: Error()
|
||||
}), GameController) : GameController).getInstance().curLevel.levelIndex
|
||||
});
|
||||
}
|
||||
|
||||
(_crd && AudioMgr === void 0 ? (_reportPossibleCrUseOfAudioMgr({
|
||||
error: Error()
|
||||
}), AudioMgr) : AudioMgr).inst.playOneShot((_crd && AssetController === void 0 ? (_reportPossibleCrUseOfAssetController({
|
||||
@@ -251,7 +242,7 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
}), AssetController) : AssetController).instance.click);
|
||||
(_crd && SdkMgr === void 0 ? (_reportPossibleCrUseOfSdkMgr({
|
||||
error: Error()
|
||||
}), SdkMgr) : SdkMgr).instance.playerRewardAds(() => {
|
||||
}), SdkMgr) : SdkMgr).instance.requestReward(() => {
|
||||
(_crd && UIManager === void 0 ? (_reportPossibleCrUseOfUIManager({
|
||||
error: Error()
|
||||
}), UIManager) : UIManager).instance.openPanel(_crd && QingBaoPanel === void 0 ? (_reportPossibleCrUseOfQingBaoPanel({
|
||||
@@ -278,14 +269,6 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
}
|
||||
|
||||
onClickSaoMiao() {
|
||||
if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
tt.reportAnalytics('use_prop', {
|
||||
level: (_crd && GameController === void 0 ? (_reportPossibleCrUseOfGameController({
|
||||
error: Error()
|
||||
}), GameController) : GameController).getInstance().curLevel.levelIndex
|
||||
});
|
||||
}
|
||||
|
||||
(_crd && AudioMgr === void 0 ? (_reportPossibleCrUseOfAudioMgr({
|
||||
error: Error()
|
||||
}), AudioMgr) : AudioMgr).inst.playOneShot((_crd && AssetController === void 0 ? (_reportPossibleCrUseOfAssetController({
|
||||
@@ -293,7 +276,7 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
}), AssetController) : AssetController).instance.click);
|
||||
(_crd && SdkMgr === void 0 ? (_reportPossibleCrUseOfSdkMgr({
|
||||
error: Error()
|
||||
}), SdkMgr) : SdkMgr).instance.playerRewardAds(() => {
|
||||
}), SdkMgr) : SdkMgr).instance.requestReward(() => {
|
||||
this.saoMiaoTip.active = true;
|
||||
(_crd && GameController === void 0 ? (_reportPossibleCrUseOfGameController({
|
||||
error: Error()
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-4
@@ -156,7 +156,7 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
this.runingPoint = false;
|
||||
(_crd && SdkMgr === void 0 ? (_reportPossibleCrUseOfSdkMgr({
|
||||
error: Error()
|
||||
}), SdkMgr) : SdkMgr).instance.playerRewardAds(() => {
|
||||
}), SdkMgr) : SdkMgr).instance.requestReward(() => {
|
||||
let addPoint = Math.ceil(this.curResult.coinCount * this.rewardDouble);
|
||||
let fromeMoney = (_crd && LocalSaveMgr === void 0 ? (_reportPossibleCrUseOfLocalSaveMgr({
|
||||
error: Error()
|
||||
@@ -180,9 +180,6 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
(_crd && GameController === void 0 ? (_reportPossibleCrUseOfGameController({
|
||||
error: Error()
|
||||
}), GameController) : GameController).getInstance().backMain();
|
||||
(_crd && SdkMgr === void 0 ? (_reportPossibleCrUseOfSdkMgr({
|
||||
error: Error()
|
||||
}), SdkMgr) : SdkMgr).instance.showInterstitial();
|
||||
}
|
||||
|
||||
backMain() {
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
@@ -22,9 +22,7 @@
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/audio/AudioMgr.ts": "./chunks/17/17c15c9f91cab21852afabf06f526d531a818ca5.js",
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/data/DataMgr.ts": "./chunks/74/74492fc9d685cee57174a4cb2d83681be8c897ae.js",
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/data/LocalSaveMgr.ts": "./chunks/a9/a912ccf8538595758f48834d371e876268f35154.js",
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/DYSdk.ts": "./chunks/0a/0ac499867c38f0c346de057171246da0ed544830.js",
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/SdkMgr.ts": "./chunks/39/398d00769bffaa6da8f5ea12e7941d4a67eac52a.js",
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/WXSdk.ts": "./chunks/9b/9bb5a494a0ce54031b6a65bb881bfbc74b1b2ceb.js",
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/ui/PanelBase.ts": "./chunks/63/63a64431b6b21cd924e8e7464d636fa810675c73.js",
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/ui/UIAdapt.ts": "./chunks/61/61a1a90fa18d74e270c2b1882d8383afa6bd221e.js",
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/ui/UIManager.ts": "./chunks/84/846848029ee2eaec7dd62969289523953b0fd69b.js",
|
||||
@@ -36,8 +34,6 @@
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/PlayPanel.ts": "./chunks/f3/f3d2c0c32b5bda2d3627fc340699129d1ecef51f.js",
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/QingBaoPanel.ts": "./chunks/ab/abd6b3d279fb075f8e562e5b6b6f34a9435a296e.js",
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/SettingPanel.ts": "./chunks/27/272d64b5902574fa3c4e1d917eb5c8c66cc47e6e.js",
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/SharePanel.ts": "./chunks/c1/c1e2c1815dec4ca60d55200a304a5a0c18d5490a.js",
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/SideTipPanel.ts": "./chunks/c3/c3f94a0a0b60a4096d1845d94adb63d9a6fbb04b.js",
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/TargetIconItem.ts": "./chunks/3e/3e6e47d30b1f7141ff9f130754ef3e0c08b4f2cf.js",
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/WinPanel.ts": "./chunks/f8/f8f691aa4e9ee54c9f93800a6a699c64dce1eca4.js"
|
||||
},
|
||||
@@ -88,25 +84,21 @@
|
||||
"__unresolved_18": "./chunks/74/74492fc9d685cee57174a4cb2d83681be8c897ae.js",
|
||||
"__unresolved_19": "./chunks/a9/a912ccf8538595758f48834d371e876268f35154.js",
|
||||
"__unresolved_2": "./chunks/16/16943f8f7ce6b22136d1afbe85657c81d916047e.js",
|
||||
"__unresolved_20": "./chunks/0a/0ac499867c38f0c346de057171246da0ed544830.js",
|
||||
"__unresolved_21": "./chunks/39/398d00769bffaa6da8f5ea12e7941d4a67eac52a.js",
|
||||
"__unresolved_22": "./chunks/9b/9bb5a494a0ce54031b6a65bb881bfbc74b1b2ceb.js",
|
||||
"__unresolved_23": "./chunks/63/63a64431b6b21cd924e8e7464d636fa810675c73.js",
|
||||
"__unresolved_24": "./chunks/61/61a1a90fa18d74e270c2b1882d8383afa6bd221e.js",
|
||||
"__unresolved_25": "./chunks/84/846848029ee2eaec7dd62969289523953b0fd69b.js",
|
||||
"__unresolved_26": "./chunks/60/60cdac507d8d69ba60d1a17b9010a0a8c3c7a055.js",
|
||||
"__unresolved_27": "./chunks/97/97ba04727710315dc2b2eb043263e1cc25995b18.js",
|
||||
"__unresolved_28": "./chunks/af/aff6617cbbb7a53a4de9a5219456dcc3e0d312e5.js",
|
||||
"__unresolved_29": "./chunks/ba/bace070c537a3e1854e903015145470ccbad65f3.js",
|
||||
"__unresolved_20": "./chunks/39/398d00769bffaa6da8f5ea12e7941d4a67eac52a.js",
|
||||
"__unresolved_21": "./chunks/63/63a64431b6b21cd924e8e7464d636fa810675c73.js",
|
||||
"__unresolved_22": "./chunks/61/61a1a90fa18d74e270c2b1882d8383afa6bd221e.js",
|
||||
"__unresolved_23": "./chunks/84/846848029ee2eaec7dd62969289523953b0fd69b.js",
|
||||
"__unresolved_24": "./chunks/60/60cdac507d8d69ba60d1a17b9010a0a8c3c7a055.js",
|
||||
"__unresolved_25": "./chunks/97/97ba04727710315dc2b2eb043263e1cc25995b18.js",
|
||||
"__unresolved_26": "./chunks/af/aff6617cbbb7a53a4de9a5219456dcc3e0d312e5.js",
|
||||
"__unresolved_27": "./chunks/ba/bace070c537a3e1854e903015145470ccbad65f3.js",
|
||||
"__unresolved_28": "./chunks/11/11bc8e58e773fbc894d55b9ccb0cb65cbd484ea3.js",
|
||||
"__unresolved_29": "./chunks/f3/f3d2c0c32b5bda2d3627fc340699129d1ecef51f.js",
|
||||
"__unresolved_3": "./chunks/4e/4e3da60860de09602aee36fbb9aa794712379f47.js",
|
||||
"__unresolved_30": "./chunks/11/11bc8e58e773fbc894d55b9ccb0cb65cbd484ea3.js",
|
||||
"__unresolved_31": "./chunks/f3/f3d2c0c32b5bda2d3627fc340699129d1ecef51f.js",
|
||||
"__unresolved_32": "./chunks/ab/abd6b3d279fb075f8e562e5b6b6f34a9435a296e.js",
|
||||
"__unresolved_33": "./chunks/27/272d64b5902574fa3c4e1d917eb5c8c66cc47e6e.js",
|
||||
"__unresolved_34": "./chunks/c1/c1e2c1815dec4ca60d55200a304a5a0c18d5490a.js",
|
||||
"__unresolved_35": "./chunks/c3/c3f94a0a0b60a4096d1845d94adb63d9a6fbb04b.js",
|
||||
"__unresolved_36": "./chunks/3e/3e6e47d30b1f7141ff9f130754ef3e0c08b4f2cf.js",
|
||||
"__unresolved_37": "./chunks/f8/f8f691aa4e9ee54c9f93800a6a699c64dce1eca4.js",
|
||||
"__unresolved_30": "./chunks/ab/abd6b3d279fb075f8e562e5b6b6f34a9435a296e.js",
|
||||
"__unresolved_31": "./chunks/27/272d64b5902574fa3c4e1d917eb5c8c66cc47e6e.js",
|
||||
"__unresolved_32": "./chunks/3e/3e6e47d30b1f7141ff9f130754ef3e0c08b4f2cf.js",
|
||||
"__unresolved_33": "./chunks/f8/f8f691aa4e9ee54c9f93800a6a699c64dce1eca4.js",
|
||||
"__unresolved_4": "./chunks/14/140dc6bd476739f3eb222d0c65eda1306239d6c5.js",
|
||||
"__unresolved_5": "./chunks/cc/cce2d64bf43cd827ad5c0d87dcb166b068a41ba8.js",
|
||||
"__unresolved_6": "./chunks/dd/dd9b18077e2f673e16c18254c48f641a27848de5.js",
|
||||
@@ -138,19 +130,6 @@
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/39/398d00769bffaa6da8f5ea12e7941d4a67eac52a.js": {
|
||||
"__unresolved_0": "./chunks/6a/6a5019a719a9014c047e67aa1cf34453ab8392ce.js",
|
||||
"__unresolved_1": "./chunks/9b/9bb5a494a0ce54031b6a65bb881bfbc74b1b2ceb.js",
|
||||
"__unresolved_2": "./chunks/0a/0ac499867c38f0c346de057171246da0ed544830.js",
|
||||
"__unresolved_3": "./chunks/17/17c15c9f91cab21852afabf06f526d531a818ca5.js",
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/17/17c15c9f91cab21852afabf06f526d531a818ca5.js": {
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/0a/0ac499867c38f0c346de057171246da0ed544830.js": {
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/9b/9bb5a494a0ce54031b6a65bb881bfbc74b1b2ceb.js": {
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/14/140dc6bd476739f3eb222d0c65eda1306239d6c5.js": {
|
||||
@@ -159,6 +138,9 @@
|
||||
"./chunks/63/63a64431b6b21cd924e8e7464d636fa810675c73.js": {
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/17/17c15c9f91cab21852afabf06f526d531a818ca5.js": {
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/84/846848029ee2eaec7dd62969289523953b0fd69b.js": {
|
||||
"__unresolved_0": "./chunks/6a/6a5019a719a9014c047e67aa1cf34453ab8392ce.js",
|
||||
"__unresolved_1": "./chunks/63/63a64431b6b21cd924e8e7464d636fa810675c73.js",
|
||||
@@ -203,8 +185,6 @@
|
||||
"__unresolved_1": "./chunks/a9/a912ccf8538595758f48834d371e876268f35154.js",
|
||||
"__unresolved_10": "./chunks/39/398d00769bffaa6da8f5ea12e7941d4a67eac52a.js",
|
||||
"__unresolved_11": "./chunks/d7/d7006a76a6894c1b64ce9eaf0f0f41170ec7bb9f.js",
|
||||
"__unresolved_12": "./chunks/c3/c3f94a0a0b60a4096d1845d94adb63d9a6fbb04b.js",
|
||||
"__unresolved_13": "./chunks/c1/c1e2c1815dec4ca60d55200a304a5a0c18d5490a.js",
|
||||
"__unresolved_2": "./chunks/84/846848029ee2eaec7dd62969289523953b0fd69b.js",
|
||||
"__unresolved_3": "./chunks/17/17c15c9f91cab21852afabf06f526d531a818ca5.js",
|
||||
"__unresolved_4": "./chunks/63/63a64431b6b21cd924e8e7464d636fa810675c73.js",
|
||||
@@ -224,27 +204,6 @@
|
||||
"__unresolved_2": "./chunks/04/04ba8e78fd81d85f3e686fe17aa3fb20ac8c65fa.js",
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/c1/c1e2c1815dec4ca60d55200a304a5a0c18d5490a.js": {
|
||||
"__unresolved_0": "./chunks/6a/6a5019a719a9014c047e67aa1cf34453ab8392ce.js",
|
||||
"__unresolved_1": "./chunks/a9/a912ccf8538595758f48834d371e876268f35154.js",
|
||||
"__unresolved_2": "./chunks/84/846848029ee2eaec7dd62969289523953b0fd69b.js",
|
||||
"__unresolved_3": "./chunks/17/17c15c9f91cab21852afabf06f526d531a818ca5.js",
|
||||
"__unresolved_4": "./chunks/63/63a64431b6b21cd924e8e7464d636fa810675c73.js",
|
||||
"__unresolved_5": "./chunks/14/140dc6bd476739f3eb222d0c65eda1306239d6c5.js",
|
||||
"__unresolved_6": "./chunks/9b/9bb5a494a0ce54031b6a65bb881bfbc74b1b2ceb.js",
|
||||
"__unresolved_7": "./chunks/11/11bc8e58e773fbc894d55b9ccb0cb65cbd484ea3.js",
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/c3/c3f94a0a0b60a4096d1845d94adb63d9a6fbb04b.js": {
|
||||
"__unresolved_0": "./chunks/6a/6a5019a719a9014c047e67aa1cf34453ab8392ce.js",
|
||||
"__unresolved_1": "./chunks/a9/a912ccf8538595758f48834d371e876268f35154.js",
|
||||
"__unresolved_2": "./chunks/84/846848029ee2eaec7dd62969289523953b0fd69b.js",
|
||||
"__unresolved_3": "./chunks/17/17c15c9f91cab21852afabf06f526d531a818ca5.js",
|
||||
"__unresolved_4": "./chunks/63/63a64431b6b21cd924e8e7464d636fa810675c73.js",
|
||||
"__unresolved_5": "./chunks/14/140dc6bd476739f3eb222d0c65eda1306239d6c5.js",
|
||||
"__unresolved_6": "./chunks/0a/0ac499867c38f0c346de057171246da0ed544830.js",
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/f3/f3d2c0c32b5bda2d3627fc340699129d1ecef51f.js": {
|
||||
"__unresolved_0": "./chunks/6a/6a5019a719a9014c047e67aa1cf34453ab8392ce.js",
|
||||
"__unresolved_1": "./chunks/63/63a64431b6b21cd924e8e7464d636fa810675c73.js",
|
||||
|
||||
@@ -640,7 +640,7 @@
|
||||
]
|
||||
},
|
||||
"cce:/internal/x/prerequisite-imports": {
|
||||
"mTimestamp": 10009.181400000001,
|
||||
"mTimestamp": 4122170.3530999995,
|
||||
"chunkId": "6d8fd2b0177941b032ddc0733af48a561fb60657",
|
||||
"imports": [
|
||||
{
|
||||
@@ -924,7 +924,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/DYSdk.ts",
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/SdkMgr.ts",
|
||||
"resolved": "__unresolved_20",
|
||||
"loc": {
|
||||
"start": {
|
||||
@@ -933,245 +933,189 @@
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 1943
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/SdkMgr.ts",
|
||||
"resolved": "__unresolved_21",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 1959
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 2035
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/WXSdk.ts",
|
||||
"resolved": "__unresolved_22",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 2051
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 2126
|
||||
"column": 1944
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/ui/PanelBase.ts",
|
||||
"resolved": "__unresolved_23",
|
||||
"resolved": "__unresolved_21",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 2142
|
||||
"column": 1960
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 2220
|
||||
"column": 2038
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/ui/UIAdapt.ts",
|
||||
"resolved": "__unresolved_24",
|
||||
"resolved": "__unresolved_22",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 2236
|
||||
"column": 2054
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 2312
|
||||
"column": 2130
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/ui/UIManager.ts",
|
||||
"resolved": "__unresolved_25",
|
||||
"resolved": "__unresolved_23",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 2328
|
||||
"column": 2146
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 2406
|
||||
"column": 2224
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/ui/UISwitcher.ts",
|
||||
"resolved": "__unresolved_26",
|
||||
"resolved": "__unresolved_24",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 2422
|
||||
"column": 2240
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 2501
|
||||
"column": 2319
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/AddHeartPanel.ts",
|
||||
"resolved": "__unresolved_27",
|
||||
"resolved": "__unresolved_25",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 2517
|
||||
"column": 2335
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 2589
|
||||
"column": 2407
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/LoadingPanel.ts",
|
||||
"resolved": "__unresolved_28",
|
||||
"resolved": "__unresolved_26",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 2605
|
||||
"column": 2423
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 2676
|
||||
"column": 2494
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/LosePanel.ts",
|
||||
"resolved": "__unresolved_29",
|
||||
"resolved": "__unresolved_27",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 2692
|
||||
"column": 2510
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 2760
|
||||
"column": 2578
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/MainPanel.ts",
|
||||
"resolved": "__unresolved_30",
|
||||
"resolved": "__unresolved_28",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 2776
|
||||
"column": 2594
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 2844
|
||||
"column": 2662
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/PlayPanel.ts",
|
||||
"resolved": "__unresolved_31",
|
||||
"resolved": "__unresolved_29",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 2860
|
||||
"column": 2678
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 2928
|
||||
"column": 2746
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/QingBaoPanel.ts",
|
||||
"resolved": "__unresolved_32",
|
||||
"resolved": "__unresolved_30",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 2944
|
||||
"column": 2762
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 3015
|
||||
"column": 2833
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/SettingPanel.ts",
|
||||
"resolved": "__unresolved_33",
|
||||
"resolved": "__unresolved_31",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 3031
|
||||
"column": 2849
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 3102
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/SharePanel.ts",
|
||||
"resolved": "__unresolved_34",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 3118
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 3187
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/SideTipPanel.ts",
|
||||
"resolved": "__unresolved_35",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 3203
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 3274
|
||||
"column": 2920
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/TargetIconItem.ts",
|
||||
"resolved": "__unresolved_36",
|
||||
"resolved": "__unresolved_32",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 3290
|
||||
"column": 2936
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 3363
|
||||
"column": 3009
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/WinPanel.ts",
|
||||
"resolved": "__unresolved_37",
|
||||
"resolved": "__unresolved_33",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 5,
|
||||
"column": 3379
|
||||
"column": 3025
|
||||
},
|
||||
"end": {
|
||||
"line": 5,
|
||||
"column": 3446
|
||||
"column": 3092
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1318,13 +1262,6 @@
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
{
|
||||
"resolved": {
|
||||
"type": "module",
|
||||
"url": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/DYSdk.ts"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
{
|
||||
"resolved": {
|
||||
"type": "module",
|
||||
@@ -1332,13 +1269,6 @@
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
{
|
||||
"resolved": {
|
||||
"type": "module",
|
||||
"url": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/WXSdk.ts"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
{
|
||||
"resolved": {
|
||||
"type": "module",
|
||||
@@ -1416,20 +1346,6 @@
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
{
|
||||
"resolved": {
|
||||
"type": "module",
|
||||
"url": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/SharePanel.ts"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
{
|
||||
"resolved": {
|
||||
"type": "module",
|
||||
"url": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/SideTipPanel.ts"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
{
|
||||
"resolved": {
|
||||
"type": "module",
|
||||
@@ -2094,7 +2010,7 @@
|
||||
},
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/BattleLevel.ts": {
|
||||
"mTimestamp": {
|
||||
"mtime": 1746887050000,
|
||||
"mtime": 1784085527195.843,
|
||||
"uuid": "9e1486a8-cdbd-4fa3-b94f-a2390b18516d"
|
||||
},
|
||||
"chunkId": "cce2d64bf43cd827ad5c0d87dcb166b068a41ba8",
|
||||
@@ -2114,11 +2030,11 @@
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 109
|
||||
"column": 104
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 113
|
||||
"column": 108
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -2628,7 +2544,7 @@
|
||||
},
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/WinPanel.ts": {
|
||||
"mTimestamp": {
|
||||
"mtime": 1744994168000,
|
||||
"mtime": 1784085527196.8403,
|
||||
"uuid": "614eaab3-3518-4351-b915-2d135f4651f4"
|
||||
},
|
||||
"chunkId": "f8f691aa4e9ee54c9f93800a6a699c64dce1eca4",
|
||||
@@ -2817,7 +2733,7 @@
|
||||
},
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/data/LocalSaveMgr.ts": {
|
||||
"mTimestamp": {
|
||||
"mtime": 1744994168000,
|
||||
"mtime": 1784085527198.7036,
|
||||
"uuid": "f0143096-0558-4925-a73a-0b91753e5038"
|
||||
},
|
||||
"chunkId": "a912ccf8538595758f48834d371e876268f35154",
|
||||
@@ -3069,15 +2985,11 @@
|
||||
},
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/SdkMgr.ts": {
|
||||
"mTimestamp": {
|
||||
"mtime": 1739804244000,
|
||||
"mtime": 1784085777094.102,
|
||||
"uuid": "6fbd6471-03d7-4ecc-911a-a30c321f573a"
|
||||
},
|
||||
"chunkId": "398d00769bffaa6da8f5ea12e7941d4a67eac52a",
|
||||
"imports": [
|
||||
{
|
||||
"value": "cce:/internal/code-quality/cr.mjs",
|
||||
"resolved": "__unresolved_0"
|
||||
},
|
||||
{
|
||||
"value": "cc"
|
||||
},
|
||||
@@ -3089,66 +3001,17 @@
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 87
|
||||
"column": 38
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 91
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "./WXSdk",
|
||||
"resolved": "__unresolved_1",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 2,
|
||||
"column": 22
|
||||
},
|
||||
"end": {
|
||||
"line": 2,
|
||||
"column": 31
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "./DYSdk",
|
||||
"resolved": "__unresolved_2",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 22
|
||||
},
|
||||
"end": {
|
||||
"line": 3,
|
||||
"column": 31
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "../audio/AudioMgr",
|
||||
"resolved": "__unresolved_3",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"column": 25
|
||||
},
|
||||
"end": {
|
||||
"line": 4,
|
||||
"column": 44
|
||||
"column": 42
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"type": "esm",
|
||||
"resolutions": [
|
||||
{
|
||||
"resolved": {
|
||||
"type": "module",
|
||||
"url": "cce:/internal/code-quality/cr.mjs"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
{
|
||||
"resolved": {
|
||||
"type": "module",
|
||||
@@ -3169,33 +3032,12 @@
|
||||
"url": "cce:/internal/x/cc"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
{
|
||||
"resolved": {
|
||||
"type": "module",
|
||||
"url": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/WXSdk.ts"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
{
|
||||
"resolved": {
|
||||
"type": "module",
|
||||
"url": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/DYSdk.ts"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
{
|
||||
"resolved": {
|
||||
"type": "module",
|
||||
"url": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/audio/AudioMgr.ts"
|
||||
},
|
||||
"messages": []
|
||||
}
|
||||
]
|
||||
},
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/WXSdk.ts": {
|
||||
"mTimestamp": {
|
||||
"mtime": 1733660842000,
|
||||
"mtime": 1784085677431.1636,
|
||||
"uuid": "73835816-1977-46d1-ac3b-0a0843758eae"
|
||||
},
|
||||
"chunkId": "9bb5a494a0ce54031b6a65bb881bfbc74b1b2ceb",
|
||||
@@ -3247,7 +3089,7 @@
|
||||
},
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/DYSdk.ts": {
|
||||
"mTimestamp": {
|
||||
"mtime": 1739805310000,
|
||||
"mtime": 1784085677433.073,
|
||||
"uuid": "e50a24d5-8754-4829-87a9-f39e0213fe5e"
|
||||
},
|
||||
"chunkId": "0ac499867c38f0c346de057171246da0ed544830",
|
||||
@@ -3603,7 +3445,7 @@
|
||||
},
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/LosePanel.ts": {
|
||||
"mTimestamp": {
|
||||
"mtime": 1743684814000,
|
||||
"mtime": 1784085527196.8403,
|
||||
"uuid": "35c17ce9-c80c-4430-962b-f46ead6a2e73"
|
||||
},
|
||||
"chunkId": "bace070c537a3e1854e903015145470ccbad65f3",
|
||||
@@ -3792,7 +3634,7 @@
|
||||
},
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/PlayPanel.ts": {
|
||||
"mTimestamp": {
|
||||
"mtime": 1746631688000,
|
||||
"mtime": 1784085527195.843,
|
||||
"uuid": "a66cd6ea-f167-454e-857a-696e1ce3bc61"
|
||||
},
|
||||
"chunkId": "f3d2c0c32b5bda2d3627fc340699129d1ecef51f",
|
||||
@@ -3812,11 +3654,11 @@
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 229
|
||||
"column": 224
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 233
|
||||
"column": 228
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -4642,7 +4484,7 @@
|
||||
},
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/MainPanel.ts": {
|
||||
"mTimestamp": {
|
||||
"mtime": 1744994168000,
|
||||
"mtime": 1784085527198.1907,
|
||||
"uuid": "225f0e63-c4dc-4a85-b8f7-bed528fc1a07"
|
||||
},
|
||||
"chunkId": "11bc8e58e773fbc894d55b9ccb0cb65cbd484ea3",
|
||||
@@ -4662,11 +4504,11 @@
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 2,
|
||||
"column": 140
|
||||
"column": 135
|
||||
},
|
||||
"end": {
|
||||
"line": 2,
|
||||
"column": 144
|
||||
"column": 139
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -4823,34 +4665,6 @@
|
||||
"column": 44
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "./SideTipPanel",
|
||||
"resolved": "__unresolved_12",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 15,
|
||||
"column": 29
|
||||
},
|
||||
"end": {
|
||||
"line": 15,
|
||||
"column": 45
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "./SharePanel",
|
||||
"resolved": "__unresolved_13",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 16,
|
||||
"column": 27
|
||||
},
|
||||
"end": {
|
||||
"line": 16,
|
||||
"column": 41
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"type": "esm",
|
||||
@@ -4959,26 +4773,12 @@
|
||||
"url": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/EventCenter.ts"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
{
|
||||
"resolved": {
|
||||
"type": "module",
|
||||
"url": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/SideTipPanel.ts"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
{
|
||||
"resolved": {
|
||||
"type": "module",
|
||||
"url": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/SharePanel.ts"
|
||||
},
|
||||
"messages": []
|
||||
}
|
||||
]
|
||||
},
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/AddHeartPanel.ts": {
|
||||
"mTimestamp": {
|
||||
"mtime": 1743684778000,
|
||||
"mtime": 1784085527196.8403,
|
||||
"uuid": "917bf6d3-04a8-4289-b46b-037db3226eca"
|
||||
},
|
||||
"chunkId": "97ba04727710315dc2b2eb043263e1cc25995b18",
|
||||
@@ -5167,7 +4967,7 @@
|
||||
},
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/SideTipPanel.ts": {
|
||||
"mTimestamp": {
|
||||
"mtime": 1743684618000,
|
||||
"mtime": 1784085677428.744,
|
||||
"uuid": "b585f61b-a132-4319-aba3-2942d022565b"
|
||||
},
|
||||
"chunkId": "c3f94a0a0b60a4096d1845d94adb63d9a6fbb04b",
|
||||
@@ -5356,7 +5156,7 @@
|
||||
},
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/SharePanel.ts": {
|
||||
"mTimestamp": {
|
||||
"mtime": 1744210200000,
|
||||
"mtime": 1784085677429.8762,
|
||||
"uuid": "a5f9f430-fa04-4fb2-8af4-0e7176a078ce"
|
||||
},
|
||||
"chunkId": "c1e2c1815dec4ca60d55200a304a5a0c18d5490a",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
+16
-90
@@ -1,7 +1,7 @@
|
||||
System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__unresolved_3", "__unresolved_4", "__unresolved_5", "__unresolved_6", "__unresolved_7", "__unresolved_8", "__unresolved_9", "__unresolved_10", "__unresolved_11", "__unresolved_12", "__unresolved_13"], function (_export, _context) {
|
||||
System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__unresolved_3", "__unresolved_4", "__unresolved_5", "__unresolved_6", "__unresolved_7", "__unresolved_8", "__unresolved_9", "__unresolved_10", "__unresolved_11"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
var _reporterNs, _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, Button, instantiate, Label, Node, Prefab, randomRange, Sprite, sys, Tween, tween, Vec3, LocalSaveMgr, UIManager, AudioMgr, PanelBase, AssetController, GameController, DataMgr, Weapon, AddHeartPanel, SdkMgr, EventCenter, SideTipPanel, SharePanel, _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _class3, _crd, ccclass, property, MainPanel;
|
||||
var _reporterNs, _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, Button, instantiate, Label, Node, Prefab, randomRange, Sprite, Tween, tween, Vec3, LocalSaveMgr, UIManager, AudioMgr, PanelBase, AssetController, GameController, DataMgr, Weapon, AddHeartPanel, SdkMgr, EventCenter, _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _class3, _crd, ccclass, property, MainPanel;
|
||||
|
||||
function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
|
||||
|
||||
@@ -53,14 +53,6 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
_reporterNs.report("EventCenter", "../EventCenter", _context.meta, extras);
|
||||
}
|
||||
|
||||
function _reportPossibleCrUseOfSideTipPanel(extras) {
|
||||
_reporterNs.report("SideTipPanel", "./SideTipPanel", _context.meta, extras);
|
||||
}
|
||||
|
||||
function _reportPossibleCrUseOfSharePanel(extras) {
|
||||
_reporterNs.report("SharePanel", "./SharePanel", _context.meta, extras);
|
||||
}
|
||||
|
||||
return {
|
||||
setters: [function (_unresolved_) {
|
||||
_reporterNs = _unresolved_;
|
||||
@@ -76,7 +68,6 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
Prefab = _cc.Prefab;
|
||||
randomRange = _cc.randomRange;
|
||||
Sprite = _cc.Sprite;
|
||||
sys = _cc.sys;
|
||||
Tween = _cc.Tween;
|
||||
tween = _cc.tween;
|
||||
Vec3 = _cc.Vec3;
|
||||
@@ -102,17 +93,13 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
SdkMgr = _unresolved_11.SdkMgr;
|
||||
}, function (_unresolved_12) {
|
||||
EventCenter = _unresolved_12.EventCenter;
|
||||
}, function (_unresolved_13) {
|
||||
SideTipPanel = _unresolved_13.SideTipPanel;
|
||||
}, function (_unresolved_14) {
|
||||
SharePanel = _unresolved_14.SharePanel;
|
||||
}],
|
||||
execute: function () {
|
||||
_crd = true;
|
||||
|
||||
_cclegacy._RF.push({}, "225f05jxNxKhbj3vtUo/BoH", "MainPanel", undefined);
|
||||
|
||||
__checkObsolete__(['_decorator', 'Asset', 'Button', 'Component', 'debug', 'instantiate', 'Label', 'Node', 'Prefab', 'randomRange', 'Sprite', 'sys', 'Tween', 'tween', 'Vec3']);
|
||||
__checkObsolete__(['_decorator', 'Asset', 'Button', 'Component', 'debug', 'instantiate', 'Label', 'Node', 'Prefab', 'randomRange', 'Sprite', 'Tween', 'tween', 'Vec3']);
|
||||
|
||||
({
|
||||
ccclass,
|
||||
@@ -148,12 +135,8 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
}), _dec15 = property({
|
||||
type: Button
|
||||
}), _dec16 = property({
|
||||
type: Button
|
||||
}), _dec17 = property({
|
||||
type: Prefab
|
||||
}), _dec18 = property(Prefab), _dec19 = property(Node), _dec20 = property(Node), _dec21 = property({
|
||||
type: Button
|
||||
}), _dec22 = property({
|
||||
}), _dec17 = property(Prefab), _dec18 = property(Node), _dec19 = property(Node), _dec20 = property({
|
||||
type: Node
|
||||
}), _dec(_class = (_class2 = (_class3 = class MainPanel extends (_crd && PanelBase === void 0 ? (_reportPossibleCrUseOfPanelBase({
|
||||
error: Error()
|
||||
@@ -189,23 +172,19 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
|
||||
_initializerDefineProperty(this, "addHeartBtn", _descriptor14, this);
|
||||
|
||||
_initializerDefineProperty(this, "shareBtn", _descriptor15, this);
|
||||
_initializerDefineProperty(this, "weaponSelectPrefab", _descriptor15, this);
|
||||
|
||||
_initializerDefineProperty(this, "weaponSelectPrefab", _descriptor16, this);
|
||||
_initializerDefineProperty(this, "flyMoneyPrefab", _descriptor16, this);
|
||||
|
||||
_initializerDefineProperty(this, "flyMoneyPrefab", _descriptor17, this);
|
||||
_initializerDefineProperty(this, "flyMoneyContent", _descriptor17, this);
|
||||
|
||||
_initializerDefineProperty(this, "flyMoneyContent", _descriptor18, this);
|
||||
|
||||
_initializerDefineProperty(this, "fingerNode", _descriptor19, this);
|
||||
|
||||
_initializerDefineProperty(this, "sideTipBtn", _descriptor20, this);
|
||||
_initializerDefineProperty(this, "fingerNode", _descriptor18, this);
|
||||
|
||||
this.weaponDatas = [];
|
||||
this.weaponOffset = 1000;
|
||||
this.curSelectIndex = 0;
|
||||
|
||||
_initializerDefineProperty(this, "weaponContent", _descriptor21, this);
|
||||
_initializerDefineProperty(this, "weaponContent", _descriptor19, this);
|
||||
}
|
||||
|
||||
onOpen() {
|
||||
@@ -238,21 +217,6 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
}
|
||||
}
|
||||
|
||||
if (sys.platform == sys.Platform.WECHAT_GAME) {
|
||||
this.sideTipBtn.node.active = false;
|
||||
var date = new Date();
|
||||
var dayOfMonth = date.getDate();
|
||||
|
||||
if ((_crd && LocalSaveMgr === void 0 ? (_reportPossibleCrUseOfLocalSaveMgr({
|
||||
error: Error()
|
||||
}), LocalSaveMgr) : LocalSaveMgr).instance.playerData.day != dayOfMonth) {
|
||||
this.shareBtn.node.active = true;
|
||||
}
|
||||
} else if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
this.sideTipBtn.node.active = true;
|
||||
this.shareBtn.node.active = false;
|
||||
}
|
||||
|
||||
this.fingerNode.active = !(_crd && LocalSaveMgr === void 0 ? (_reportPossibleCrUseOfLocalSaveMgr({
|
||||
error: Error()
|
||||
}), LocalSaveMgr) : LocalSaveMgr).instance.playerData.haveTutorial;
|
||||
@@ -444,7 +408,7 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
}), AssetController) : AssetController).instance.click);
|
||||
(_crd && SdkMgr === void 0 ? (_reportPossibleCrUseOfSdkMgr({
|
||||
error: Error()
|
||||
}), SdkMgr) : SdkMgr).instance.playerRewardAds(() => {
|
||||
}), SdkMgr) : SdkMgr).instance.requestReward(() => {
|
||||
var addPoint = 200;
|
||||
var fromeMoney = (_crd && LocalSaveMgr === void 0 ? (_reportPossibleCrUseOfLocalSaveMgr({
|
||||
error: Error()
|
||||
@@ -459,7 +423,7 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
});
|
||||
}
|
||||
|
||||
flyShareMoney(fromMoney, endMoney) {
|
||||
flyRewardMoney(fromMoney, endMoney) {
|
||||
var _this = this;
|
||||
|
||||
(_crd && AudioMgr === void 0 ? (_reportPossibleCrUseOfAudioMgr({
|
||||
@@ -551,34 +515,12 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
MainPanel.instance.refreshToIndex();
|
||||
}
|
||||
|
||||
clickSideTipBtn() {
|
||||
(_crd && AudioMgr === void 0 ? (_reportPossibleCrUseOfAudioMgr({
|
||||
error: Error()
|
||||
}), AudioMgr) : AudioMgr).inst.playOneShot((_crd && AssetController === void 0 ? (_reportPossibleCrUseOfAssetController({
|
||||
error: Error()
|
||||
}), AssetController) : AssetController).instance.click);
|
||||
console.log("openPanel SideTipPanel");
|
||||
(_crd && UIManager === void 0 ? (_reportPossibleCrUseOfUIManager({
|
||||
error: Error()
|
||||
}), UIManager) : UIManager).instance.openPanel(_crd && SideTipPanel === void 0 ? (_reportPossibleCrUseOfSideTipPanel({
|
||||
error: Error()
|
||||
}), SideTipPanel) : SideTipPanel);
|
||||
}
|
||||
|
||||
onDestroy() {
|
||||
(_crd && EventCenter === void 0 ? (_reportPossibleCrUseOfEventCenter({
|
||||
error: Error()
|
||||
}), EventCenter) : EventCenter).coinCountChange.off("coinCountChange", this.onCoinCountChange);
|
||||
}
|
||||
|
||||
clickShareBtn() {
|
||||
(_crd && UIManager === void 0 ? (_reportPossibleCrUseOfUIManager({
|
||||
error: Error()
|
||||
}), UIManager) : UIManager).instance.openPanel(_crd && SharePanel === void 0 ? (_reportPossibleCrUseOfSharePanel({
|
||||
error: Error()
|
||||
}), SharePanel) : SharePanel);
|
||||
}
|
||||
|
||||
onLoad() {
|
||||
MainPanel.instance = this;
|
||||
this.startBtn.node.on(Button.EventType.CLICK, this.startBtnCallBack, this);
|
||||
@@ -586,8 +528,6 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
this.right.node.on(Button.EventType.CLICK, this.clickRight, this);
|
||||
this.equip.node.on(Button.EventType.CLICK, this.clickEquipBtn, this);
|
||||
this.buy.node.on(Button.EventType.CLICK, this.clickBuyBtn, this);
|
||||
this.sideTipBtn.node.on(Button.EventType.CLICK, this.clickSideTipBtn, this);
|
||||
this.shareBtn.node.on(Button.EventType.CLICK, this.clickShareBtn, this);
|
||||
this.clear.node.on(Button.EventType.CLICK, this.clickClear, this);
|
||||
this.addHeartBtn.node.on(Button.EventType.CLICK, this.clickAddHeartBtn, this);
|
||||
this.addMoneyBtn.node.on(Button.EventType.CLICK, this.clickAddMoneyBtn, this);
|
||||
@@ -700,49 +640,35 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
initializer: function initializer() {
|
||||
return null;
|
||||
}
|
||||
}), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "shareBtn", [_dec16], {
|
||||
}), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "weaponSelectPrefab", [_dec16], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function initializer() {
|
||||
return null;
|
||||
}
|
||||
}), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, "weaponSelectPrefab", [_dec17], {
|
||||
}), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, "flyMoneyPrefab", [_dec17], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function initializer() {
|
||||
return null;
|
||||
}
|
||||
}), _descriptor17 = _applyDecoratedDescriptor(_class2.prototype, "flyMoneyPrefab", [_dec18], {
|
||||
}), _descriptor17 = _applyDecoratedDescriptor(_class2.prototype, "flyMoneyContent", [_dec18], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function initializer() {
|
||||
return null;
|
||||
}
|
||||
}), _descriptor18 = _applyDecoratedDescriptor(_class2.prototype, "flyMoneyContent", [_dec19], {
|
||||
}), _descriptor18 = _applyDecoratedDescriptor(_class2.prototype, "fingerNode", [_dec19], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function initializer() {
|
||||
return null;
|
||||
}
|
||||
}), _descriptor19 = _applyDecoratedDescriptor(_class2.prototype, "fingerNode", [_dec20], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function initializer() {
|
||||
return null;
|
||||
}
|
||||
}), _descriptor20 = _applyDecoratedDescriptor(_class2.prototype, "sideTipBtn", [_dec21], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
initializer: function initializer() {
|
||||
return null;
|
||||
}
|
||||
}), _descriptor21 = _applyDecoratedDescriptor(_class2.prototype, "weaponContent", [_dec22], {
|
||||
}), _descriptor19 = _applyDecoratedDescriptor(_class2.prototype, "weaponContent", [_dec20], {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
writable: true,
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+15
-125
@@ -1,153 +1,43 @@
|
||||
System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__unresolved_3"], function (_export, _context) {
|
||||
System.register(["cc"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
var _reporterNs, _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, Component, director, sys, WXSdk, DYSdk, AudioMgr, _dec, _class, _class2, _crd, ccclass, property, SdkMgr;
|
||||
|
||||
function _reportPossibleCrUseOfWXSdk(extras) {
|
||||
_reporterNs.report("WXSdk", "./WXSdk", _context.meta, extras);
|
||||
}
|
||||
|
||||
function _reportPossibleCrUseOfDYSdk(extras) {
|
||||
_reporterNs.report("DYSdk", "./DYSdk", _context.meta, extras);
|
||||
}
|
||||
|
||||
function _reportPossibleCrUseOfAudioMgr(extras) {
|
||||
_reporterNs.report("AudioMgr", "../audio/AudioMgr", _context.meta, extras);
|
||||
}
|
||||
var _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, Component, _dec, _class, _class2, _crd, ccclass, SdkMgr;
|
||||
|
||||
return {
|
||||
setters: [function (_unresolved_) {
|
||||
_reporterNs = _unresolved_;
|
||||
}, function (_cc) {
|
||||
setters: [function (_cc) {
|
||||
_cclegacy = _cc.cclegacy;
|
||||
__checkObsolete__ = _cc.__checkObsolete__;
|
||||
__checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
|
||||
_decorator = _cc._decorator;
|
||||
Component = _cc.Component;
|
||||
director = _cc.director;
|
||||
sys = _cc.sys;
|
||||
}, function (_unresolved_2) {
|
||||
WXSdk = _unresolved_2.WXSdk;
|
||||
}, function (_unresolved_3) {
|
||||
DYSdk = _unresolved_3.DYSdk;
|
||||
}, function (_unresolved_4) {
|
||||
AudioMgr = _unresolved_4.AudioMgr;
|
||||
}],
|
||||
execute: function () {
|
||||
_crd = true;
|
||||
|
||||
_cclegacy._RF.push({}, "6fbd6RxA9dOzJEaowwyH1c6", "SdkMgr", undefined);
|
||||
|
||||
__checkObsolete__(['_decorator', 'Button', 'Component', 'director', 'game', 'Label', 'Node', 'sys', 'Tween']);
|
||||
__checkObsolete__(['_decorator', 'Component']);
|
||||
|
||||
({
|
||||
ccclass,
|
||||
property
|
||||
ccclass
|
||||
} = _decorator);
|
||||
/**
|
||||
* Integration seam for a future rewarded-placement provider.
|
||||
* The project currently ships without any advertising or platform SDK.
|
||||
*/
|
||||
|
||||
_export("SdkMgr", SdkMgr = (_dec = ccclass('SdkMgr'), _dec(_class = (_class2 = class SdkMgr extends Component {
|
||||
onLoad() {
|
||||
SdkMgr.instance = this;
|
||||
}
|
||||
/**
|
||||
* SDK-free default: grant the gameplay reward immediately.
|
||||
* Replace this method body with a provider call when an SDK is added later.
|
||||
*/
|
||||
|
||||
start() {
|
||||
this.init();
|
||||
}
|
||||
|
||||
init() {
|
||||
if (sys.platform == sys.Platform.WECHAT_GAME) {
|
||||
(_crd && WXSdk === void 0 ? (_reportPossibleCrUseOfWXSdk({
|
||||
error: Error()
|
||||
}), WXSdk) : WXSdk).instance.init();
|
||||
} else if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
(_crd && DYSdk === void 0 ? (_reportPossibleCrUseOfDYSdk({
|
||||
error: Error()
|
||||
}), DYSdk) : DYSdk).instance.init();
|
||||
}
|
||||
}
|
||||
|
||||
playerRewardAds(successCallBack) {
|
||||
(_crd && AudioMgr === void 0 ? (_reportPossibleCrUseOfAudioMgr({
|
||||
error: Error()
|
||||
}), AudioMgr) : AudioMgr).inst.pause();
|
||||
director.pause();
|
||||
console.log("广告开启", "pause");
|
||||
|
||||
var callBack = () => {
|
||||
console.log("广告开启", "resume");
|
||||
if (successCallBack != null) successCallBack();
|
||||
director.resume();
|
||||
(_crd && AudioMgr === void 0 ? (_reportPossibleCrUseOfAudioMgr({
|
||||
error: Error()
|
||||
}), AudioMgr) : AudioMgr).inst.resume();
|
||||
};
|
||||
|
||||
var failCallback = () => {
|
||||
director.resume();
|
||||
(_crd && AudioMgr === void 0 ? (_reportPossibleCrUseOfAudioMgr({
|
||||
error: Error()
|
||||
}), AudioMgr) : AudioMgr).inst.resume();
|
||||
};
|
||||
|
||||
if (sys.platform == sys.Platform.WECHAT_GAME) {
|
||||
(_crd && WXSdk === void 0 ? (_reportPossibleCrUseOfWXSdk({
|
||||
error: Error()
|
||||
}), WXSdk) : WXSdk).instance.showVideo(callBack, failCallback);
|
||||
} else if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
(_crd && DYSdk === void 0 ? (_reportPossibleCrUseOfDYSdk({
|
||||
error: Error()
|
||||
}), DYSdk) : DYSdk).instance.showVideo(callBack, failCallback);
|
||||
} else {
|
||||
callBack();
|
||||
}
|
||||
}
|
||||
|
||||
initativeShare() {
|
||||
if (sys.platform == sys.Platform.WECHAT_GAME) {
|
||||
(_crd && WXSdk === void 0 ? (_reportPossibleCrUseOfWXSdk({
|
||||
error: Error()
|
||||
}), WXSdk) : WXSdk).instance.initativeShare();
|
||||
} else if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
(_crd && DYSdk === void 0 ? (_reportPossibleCrUseOfDYSdk({
|
||||
error: Error()
|
||||
}), DYSdk) : DYSdk).instance.initativeShare();
|
||||
}
|
||||
}
|
||||
|
||||
showBanner() {
|
||||
if (sys.platform == sys.Platform.WECHAT_GAME) {
|
||||
(_crd && WXSdk === void 0 ? (_reportPossibleCrUseOfWXSdk({
|
||||
error: Error()
|
||||
}), WXSdk) : WXSdk).instance.showBanner();
|
||||
} else if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
(_crd && DYSdk === void 0 ? (_reportPossibleCrUseOfDYSdk({
|
||||
error: Error()
|
||||
}), DYSdk) : DYSdk).instance.showBanner();
|
||||
}
|
||||
}
|
||||
|
||||
hideBanner() {
|
||||
if (sys.platform == sys.Platform.WECHAT_GAME) {
|
||||
(_crd && WXSdk === void 0 ? (_reportPossibleCrUseOfWXSdk({
|
||||
error: Error()
|
||||
}), WXSdk) : WXSdk).instance.hideBanner();
|
||||
} else if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
(_crd && DYSdk === void 0 ? (_reportPossibleCrUseOfDYSdk({
|
||||
error: Error()
|
||||
}), DYSdk) : DYSdk).instance.hideBanner();
|
||||
}
|
||||
}
|
||||
|
||||
showInterstitial() {
|
||||
if (sys.platform == sys.Platform.WECHAT_GAME) {
|
||||
(_crd && WXSdk === void 0 ? (_reportPossibleCrUseOfWXSdk({
|
||||
error: Error()
|
||||
}), WXSdk) : WXSdk).instance.showInterstitial();
|
||||
} else if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
(_crd && DYSdk === void 0 ? (_reportPossibleCrUseOfDYSdk({
|
||||
error: Error()
|
||||
}), DYSdk) : DYSdk).instance.showInterstitial();
|
||||
}
|
||||
requestReward(onGranted) {
|
||||
onGranted == null || onGranted();
|
||||
}
|
||||
|
||||
}, _class2.instance = void 0, _class2)) || _class));
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
@@ -1,8 +1,8 @@
|
||||
System.register(["__unresolved_0", "__unresolved_1", "__unresolved_2", "__unresolved_3", "__unresolved_4", "__unresolved_5", "__unresolved_6", "__unresolved_7", "__unresolved_8", "__unresolved_9", "__unresolved_10", "__unresolved_11", "__unresolved_12", "__unresolved_13", "__unresolved_14", "__unresolved_15", "__unresolved_16", "__unresolved_17", "__unresolved_18", "__unresolved_19", "__unresolved_20", "__unresolved_21", "__unresolved_22", "__unresolved_23", "__unresolved_24", "__unresolved_25", "__unresolved_26", "__unresolved_27", "__unresolved_28", "__unresolved_29", "__unresolved_30", "__unresolved_31", "__unresolved_32", "__unresolved_33", "__unresolved_34", "__unresolved_35", "__unresolved_36", "__unresolved_37"], function (_export, _context) {
|
||||
System.register(["__unresolved_0", "__unresolved_1", "__unresolved_2", "__unresolved_3", "__unresolved_4", "__unresolved_5", "__unresolved_6", "__unresolved_7", "__unresolved_8", "__unresolved_9", "__unresolved_10", "__unresolved_11", "__unresolved_12", "__unresolved_13", "__unresolved_14", "__unresolved_15", "__unresolved_16", "__unresolved_17", "__unresolved_18", "__unresolved_19", "__unresolved_20", "__unresolved_21", "__unresolved_22", "__unresolved_23", "__unresolved_24", "__unresolved_25", "__unresolved_26", "__unresolved_27", "__unresolved_28", "__unresolved_29", "__unresolved_30", "__unresolved_31", "__unresolved_32", "__unresolved_33"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
return {
|
||||
setters: [function (_unresolved_) {}, function (_unresolved_2) {}, function (_unresolved_3) {}, function (_unresolved_4) {}, function (_unresolved_5) {}, function (_unresolved_6) {}, function (_unresolved_7) {}, function (_unresolved_8) {}, function (_unresolved_9) {}, function (_unresolved_10) {}, function (_unresolved_11) {}, function (_unresolved_12) {}, function (_unresolved_13) {}, function (_unresolved_14) {}, function (_unresolved_15) {}, function (_unresolved_16) {}, function (_unresolved_17) {}, function (_unresolved_18) {}, function (_unresolved_19) {}, function (_unresolved_20) {}, function (_unresolved_21) {}, function (_unresolved_22) {}, function (_unresolved_23) {}, function (_unresolved_24) {}, function (_unresolved_25) {}, function (_unresolved_26) {}, function (_unresolved_27) {}, function (_unresolved_28) {}, function (_unresolved_29) {}, function (_unresolved_30) {}, function (_unresolved_31) {}, function (_unresolved_32) {}, function (_unresolved_33) {}, function (_unresolved_34) {}, function (_unresolved_35) {}, function (_unresolved_36) {}, function (_unresolved_37) {}, function (_unresolved_38) {}],
|
||||
setters: [function (_unresolved_) {}, function (_unresolved_2) {}, function (_unresolved_3) {}, function (_unresolved_4) {}, function (_unresolved_5) {}, function (_unresolved_6) {}, function (_unresolved_7) {}, function (_unresolved_8) {}, function (_unresolved_9) {}, function (_unresolved_10) {}, function (_unresolved_11) {}, function (_unresolved_12) {}, function (_unresolved_13) {}, function (_unresolved_14) {}, function (_unresolved_15) {}, function (_unresolved_16) {}, function (_unresolved_17) {}, function (_unresolved_18) {}, function (_unresolved_19) {}, function (_unresolved_20) {}, function (_unresolved_21) {}, function (_unresolved_22) {}, function (_unresolved_23) {}, function (_unresolved_24) {}, function (_unresolved_25) {}, function (_unresolved_26) {}, function (_unresolved_27) {}, function (_unresolved_28) {}, function (_unresolved_29) {}, function (_unresolved_30) {}, function (_unresolved_31) {}, function (_unresolved_32) {}, function (_unresolved_33) {}, function (_unresolved_34) {}],
|
||||
execute: function () {}
|
||||
};
|
||||
});
|
||||
|
||||
+1
-1
@@ -96,7 +96,7 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
}), AssetController) : AssetController).instance.click);
|
||||
(_crd && SdkMgr === void 0 ? (_reportPossibleCrUseOfSdkMgr({
|
||||
error: Error()
|
||||
}), SdkMgr) : SdkMgr).instance.playerRewardAds(() => {
|
||||
}), SdkMgr) : SdkMgr).instance.requestReward(() => {
|
||||
(_crd && LocalSaveMgr === void 0 ? (_reportPossibleCrUseOfLocalSaveMgr({
|
||||
error: Error()
|
||||
}), LocalSaveMgr) : LocalSaveMgr).instance.adsAddPower();
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"sources":["file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/AddHeartPanel.ts"],"names":["_decorator","Button","LocalSaveMgr","UIManager","AudioMgr","PanelBase","AssetController","SdkMgr","ccclass","property","AddHeartPanel","type","onLoad","instance","closeBtn","node","on","EventType","CLICK","closeBtnCallBack","addPower","addPowerCallBack","inst","playOneShot","click","playerRewardAds","adsAddPower","closePanel","button","start"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACSA,MAAAA,U,OAAAA,U;AAAYC,MAAAA,M,OAAAA,M;;AACZC,MAAAA,Y,iBAAAA,Y;;AACAC,MAAAA,S,iBAAAA,S;;AAEAC,MAAAA,Q,iBAAAA,Q;;AACAC,MAAAA,S,iBAAAA,S;;AACAC,MAAAA,e,iBAAAA,e;;AAEAC,MAAAA,M,iBAAAA,M;;;;;;;;;OAEH;AAAEC,QAAAA,OAAF;AAAWC,QAAAA;AAAX,O,GAAwBT,U;;+BAGjBU,a,WADZF,OAAO,CAAC,eAAD,C,UAKHC,QAAQ,CAAC;AAAEE,QAAAA,IAAI,EAAEV;AAAR,OAAD,C,UAGRQ,QAAQ,CAAC;AAAEE,QAAAA,IAAI,EAAEV;AAAR,OAAD,C,sCARb,MACaS,aADb;AAAA;AAAA,kCAC6C;AAAA;AAAA;;AAAA;;AAAA;AAAA;;AAUzCE,QAAAA,MAAM,GAAG;AACLF,UAAAA,aAAa,CAACG,QAAd,GAAyB,IAAzB;AACA,eAAKC,QAAL,CAAcC,IAAd,CAAmBC,EAAnB,CAAsBf,MAAM,CAACgB,SAAP,CAAiBC,KAAvC,EAA8C,KAAKC,gBAAnD,EAAqE,IAArE;AACA,eAAKC,QAAL,CAAcL,IAAd,CAAmBC,EAAnB,CAAsBf,MAAM,CAACgB,SAAP,CAAiBC,KAAvC,EAA8C,KAAKG,gBAAnD,EAAqE,IAArE;AACH;;AAEDA,QAAAA,gBAAgB,GAAG;AACf;AAAA;AAAA,oCAASC,IAAT,CAAcC,WAAd,CAA0B;AAAA;AAAA,kDAAgBV,QAAhB,CAAyBW,KAAnD;AACA;AAAA;AAAA,gCAAOX,QAAP,CAAgBY,eAAhB,CAAgC,MAAM;AAClC;AAAA;AAAA,8CAAaZ,QAAb,CAAsBa,WAAtB;AACA;AAAA;AAAA,wCAAUb,QAAV,CAAmBc,UAAnB,CAA8BjB,aAA9B;AACH,WAHD;AAIH;;AAEDS,QAAAA,gBAAgB,CAACS,MAAD,EAAiB;AAC7B;AAAA;AAAA,oCAASN,IAAT,CAAcC,WAAd,CAA0B;AAAA;AAAA,kDAAgBV,QAAhB,CAAyBW,KAAnD;AACA;AAAA;AAAA,sCAAUX,QAAV,CAAmBc,UAAnB,CAA8BjB,aAA9B;AACH;;AACDmB,QAAAA,KAAK,GAAG,CAEP;;AA9BwC,O,UAElChB,Q;;;;;iBAGY,I;;;;;;;iBAGA,I","sourcesContent":["\r\nimport { _decorator, Button, Component, Label, Node, Tween, tween, Vec3 } from 'cc';\r\nimport { LocalSaveMgr } from '../framework/data/LocalSaveMgr';\r\nimport { UIManager } from '../framework/ui/UIManager';\r\nimport { UISwitcher } from '../framework/ui/UISwitcher';\r\nimport { AudioMgr } from '../framework/audio/AudioMgr';\r\nimport { PanelBase } from '../framework/ui/PanelBase';\r\nimport { AssetController } from '../AssetController';\r\nimport { GameController } from '../GameController';\r\nimport { SdkMgr } from '../framework/sdk/SdkMgr';\r\n\r\nconst { ccclass, property } = _decorator;\r\n\r\n@ccclass('AddHeartPanel')\r\nexport class AddHeartPanel extends PanelBase {\r\n\r\n static instance: AddHeartPanel;\r\n\r\n @property({ type: Button })\r\n addPower: Button = null;\r\n\r\n @property({ type: Button })\r\n closeBtn: Button = null;\r\n\r\n onLoad() {\r\n AddHeartPanel.instance = this;\r\n this.closeBtn.node.on(Button.EventType.CLICK, this.closeBtnCallBack, this);\r\n this.addPower.node.on(Button.EventType.CLICK, this.addPowerCallBack, this);\r\n }\r\n\r\n addPowerCallBack() {\r\n AudioMgr.inst.playOneShot(AssetController.instance.click)\r\n SdkMgr.instance.playerRewardAds(() => {\r\n LocalSaveMgr.instance.adsAddPower()\r\n UIManager.instance.closePanel(AddHeartPanel)\r\n })\r\n }\r\n\r\n closeBtnCallBack(button: Button) {\r\n AudioMgr.inst.playOneShot(AssetController.instance.click)\r\n UIManager.instance.closePanel(AddHeartPanel)\r\n }\r\n start() {\r\n\r\n }\r\n}\r\n\r\n\r\n"]}
|
||||
{"version":3,"sources":["file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/AddHeartPanel.ts"],"names":["_decorator","Button","LocalSaveMgr","UIManager","AudioMgr","PanelBase","AssetController","SdkMgr","ccclass","property","AddHeartPanel","type","onLoad","instance","closeBtn","node","on","EventType","CLICK","closeBtnCallBack","addPower","addPowerCallBack","inst","playOneShot","click","requestReward","adsAddPower","closePanel","button","start"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACSA,MAAAA,U,OAAAA,U;AAAYC,MAAAA,M,OAAAA,M;;AACZC,MAAAA,Y,iBAAAA,Y;;AACAC,MAAAA,S,iBAAAA,S;;AAEAC,MAAAA,Q,iBAAAA,Q;;AACAC,MAAAA,S,iBAAAA,S;;AACAC,MAAAA,e,iBAAAA,e;;AAEAC,MAAAA,M,iBAAAA,M;;;;;;;;;OAEH;AAAEC,QAAAA,OAAF;AAAWC,QAAAA;AAAX,O,GAAwBT,U;;+BAGjBU,a,WADZF,OAAO,CAAC,eAAD,C,UAKHC,QAAQ,CAAC;AAAEE,QAAAA,IAAI,EAAEV;AAAR,OAAD,C,UAGRQ,QAAQ,CAAC;AAAEE,QAAAA,IAAI,EAAEV;AAAR,OAAD,C,sCARb,MACaS,aADb;AAAA;AAAA,kCAC6C;AAAA;AAAA;;AAAA;;AAAA;AAAA;;AAUzCE,QAAAA,MAAM,GAAG;AACLF,UAAAA,aAAa,CAACG,QAAd,GAAyB,IAAzB;AACA,eAAKC,QAAL,CAAcC,IAAd,CAAmBC,EAAnB,CAAsBf,MAAM,CAACgB,SAAP,CAAiBC,KAAvC,EAA8C,KAAKC,gBAAnD,EAAqE,IAArE;AACA,eAAKC,QAAL,CAAcL,IAAd,CAAmBC,EAAnB,CAAsBf,MAAM,CAACgB,SAAP,CAAiBC,KAAvC,EAA8C,KAAKG,gBAAnD,EAAqE,IAArE;AACH;;AAEDA,QAAAA,gBAAgB,GAAG;AACf;AAAA;AAAA,oCAASC,IAAT,CAAcC,WAAd,CAA0B;AAAA;AAAA,kDAAgBV,QAAhB,CAAyBW,KAAnD;AACA;AAAA;AAAA,gCAAOX,QAAP,CAAgBY,aAAhB,CAA8B,MAAM;AAChC;AAAA;AAAA,8CAAaZ,QAAb,CAAsBa,WAAtB;AACA;AAAA;AAAA,wCAAUb,QAAV,CAAmBc,UAAnB,CAA8BjB,aAA9B;AACH,WAHD;AAIH;;AAEDS,QAAAA,gBAAgB,CAACS,MAAD,EAAiB;AAC7B;AAAA;AAAA,oCAASN,IAAT,CAAcC,WAAd,CAA0B;AAAA;AAAA,kDAAgBV,QAAhB,CAAyBW,KAAnD;AACA;AAAA;AAAA,sCAAUX,QAAV,CAAmBc,UAAnB,CAA8BjB,aAA9B;AACH;;AACDmB,QAAAA,KAAK,GAAG,CAEP;;AA9BwC,O,UAElChB,Q;;;;;iBAGY,I;;;;;;;iBAGA,I","sourcesContent":["\r\nimport { _decorator, Button, Component, Label, Node, Tween, tween, Vec3 } from 'cc';\r\nimport { LocalSaveMgr } from '../framework/data/LocalSaveMgr';\r\nimport { UIManager } from '../framework/ui/UIManager';\r\nimport { UISwitcher } from '../framework/ui/UISwitcher';\r\nimport { AudioMgr } from '../framework/audio/AudioMgr';\r\nimport { PanelBase } from '../framework/ui/PanelBase';\r\nimport { AssetController } from '../AssetController';\r\nimport { GameController } from '../GameController';\r\nimport { SdkMgr } from '../framework/sdk/SdkMgr';\r\n\r\nconst { ccclass, property } = _decorator;\r\n\r\n@ccclass('AddHeartPanel')\r\nexport class AddHeartPanel extends PanelBase {\r\n\r\n static instance: AddHeartPanel;\r\n\r\n @property({ type: Button })\r\n addPower: Button = null;\r\n\r\n @property({ type: Button })\r\n closeBtn: Button = null;\r\n\r\n onLoad() {\r\n AddHeartPanel.instance = this;\r\n this.closeBtn.node.on(Button.EventType.CLICK, this.closeBtnCallBack, this);\r\n this.addPower.node.on(Button.EventType.CLICK, this.addPowerCallBack, this);\r\n }\r\n\r\n addPowerCallBack() {\r\n AudioMgr.inst.playOneShot(AssetController.instance.click)\r\n SdkMgr.instance.requestReward(() => {\n LocalSaveMgr.instance.adsAddPower()\r\n UIManager.instance.closePanel(AddHeartPanel)\r\n })\r\n }\r\n\r\n closeBtnCallBack(button: Button) {\r\n AudioMgr.inst.playOneShot(AssetController.instance.click)\r\n UIManager.instance.closePanel(AddHeartPanel)\r\n }\r\n start() {\r\n\r\n }\r\n}\r\n\r\n\r\n"]}
|
||||
-19
@@ -152,11 +152,6 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
this.save();
|
||||
}
|
||||
|
||||
setSideTip() {
|
||||
this.playerData.haveGetSideReward = true;
|
||||
this.save();
|
||||
}
|
||||
|
||||
adsAddPower() {
|
||||
this.playerData.power += 3;
|
||||
(_crd && EventCenter === void 0 ? (_reportPossibleCrUseOfEventCenter({
|
||||
@@ -177,14 +172,6 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
}), Config) : Config).powerCD - passTime;
|
||||
}
|
||||
|
||||
setShareTime() {
|
||||
var date = new Date();
|
||||
var dayOfMonth = date.getDate();
|
||||
this.playerData.day = dayOfMonth;
|
||||
this.save();
|
||||
console.log(dayOfMonth);
|
||||
}
|
||||
|
||||
update(dt) {
|
||||
if (this.playerData.power < (_crd && Config === void 0 ? (_reportPossibleCrUseOfConfig({
|
||||
error: Error()
|
||||
@@ -234,10 +221,7 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
this.ownWeapon = [1];
|
||||
this.lastAddPowerTimer = null;
|
||||
this.isOnTimerRun = false;
|
||||
this.haveGetSideReward = false;
|
||||
this.haveShare = false;
|
||||
this.haveTutorial = false;
|
||||
this.day = -1;
|
||||
}
|
||||
|
||||
jsonDataInit(obj) {
|
||||
@@ -251,9 +235,6 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
if (obj.lastAddPowerTimer != null) this.lastAddPowerTimer = obj.lastAddPowerTimer;
|
||||
if (obj.power != null) this.power = obj.power;
|
||||
if (obj.isOnTimerRun != null) this.isOnTimerRun = obj.isOnTimerRun;
|
||||
if (obj.haveGetSideReward != null) this.haveGetSideReward = obj.haveGetSideReward;
|
||||
if (obj.haveShare != null) this.haveShare = obj.haveShare;
|
||||
if (obj.day != null) this.day = obj.day;
|
||||
if (obj.haveTutorial != null) this.haveTutorial = obj.haveTutorial;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -120,7 +120,7 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
}), AssetController) : AssetController).instance.click);
|
||||
(_crd && SdkMgr === void 0 ? (_reportPossibleCrUseOfSdkMgr({
|
||||
error: Error()
|
||||
}), SdkMgr) : SdkMgr).instance.playerRewardAds(() => {
|
||||
}), SdkMgr) : SdkMgr).instance.requestReward(() => {
|
||||
(_crd && GameController === void 0 ? (_reportPossibleCrUseOfGameController({
|
||||
error: Error()
|
||||
}), GameController) : GameController).getInstance().curLevel.addTimer();
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"sources":["file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/LosePanel.ts"],"names":["_decorator","Button","Label","PanelBase","GameController","UIManager","SdkMgr","AudioMgr","AssetController","ccclass","property","LosePanel","onLoad","instance","closeBtn","node","on","EventType","CLICK","onClickClose","replayBtn","onClickReplay","addTimeBtn","onClickAddTime","inst","playOneShot","click","getInstance","backMain","gameRestart","playerRewardAds","curLevel","addTimer","ContinueRun","closePanel","onOpen","remainLabel","string","getAliveEnemeyCount","toString"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAASA,MAAAA,U,OAAAA,U;AAAYC,MAAAA,M,OAAAA,M;AAA0DC,MAAAA,K,OAAAA,K;;AACtEC,MAAAA,S,iBAAAA,S;;AAEAC,MAAAA,c,iBAAAA,c;;AAGAC,MAAAA,S,iBAAAA,S;;AACAC,MAAAA,M,iBAAAA,M;;AACAC,MAAAA,Q,iBAAAA,Q;;AACAC,MAAAA,e,iBAAAA,e;;;;;;;;;OACH;AAAEC,QAAAA,OAAF;AAAWC,QAAAA;AAAX,O,GAAwBV,U;;2BAGjBW,S,WADZF,OAAO,CAAC,WAAD,C,UAKHC,QAAQ,CAACT,MAAD,C,UAGRS,QAAQ,CAACT,MAAD,C,UAGRS,QAAQ,CAACT,MAAD,C,UAGRS,QAAQ,CAACR,KAAD,C,sCAdb,MACaS,SADb;AAAA;AAAA,kCACyC;AAAA;AAAA;;AAAA;;AAAA;;AAAA;;AAAA;AAAA;;AAgBrCC,QAAAA,MAAM,GAAG;AACLD,UAAAA,SAAS,CAACE,QAAV,GAAqB,IAArB;AACA,eAAKC,QAAL,CAAcC,IAAd,CAAmBC,EAAnB,CAAsBf,MAAM,CAACgB,SAAP,CAAiBC,KAAvC,EAA8C,KAAKC,YAAnD,EAAiE,IAAjE;AACA,eAAKC,SAAL,CAAeL,IAAf,CAAoBC,EAApB,CAAuBf,MAAM,CAACgB,SAAP,CAAiBC,KAAxC,EAA+C,KAAKG,aAApD,EAAmE,IAAnE;AACA,eAAKC,UAAL,CAAgBP,IAAhB,CAAqBC,EAArB,CAAwBf,MAAM,CAACgB,SAAP,CAAiBC,KAAzC,EAAgD,KAAKK,cAArD,EAAqE,IAArE;AACH;;AACDJ,QAAAA,YAAY,GAAG;AACX;AAAA;AAAA,oCAASK,IAAT,CAAcC,WAAd,CAA0B;AAAA;AAAA,kDAAgBZ,QAAhB,CAAyBa,KAAnD;AACA;AAAA;AAAA,gDAAeC,WAAf,GAA6BC,QAA7B;AACH;;AAEDP,QAAAA,aAAa,GAAG;AACZ;AAAA;AAAA,oCAASG,IAAT,CAAcC,WAAd,CAA0B;AAAA;AAAA,kDAAgBZ,QAAhB,CAAyBa,KAAnD;AACA;AAAA;AAAA,gDAAeC,WAAf,GAA6BE,WAA7B;AACH;;AAEDN,QAAAA,cAAc,GAAG;AACb;AAAA;AAAA,oCAASC,IAAT,CAAcC,WAAd,CAA0B;AAAA;AAAA,kDAAgBZ,QAAhB,CAAyBa,KAAnD;AACA;AAAA;AAAA,gCAAOb,QAAP,CAAgBiB,eAAhB,CAAgC,MAAM;AAClC;AAAA;AAAA,kDAAeH,WAAf,GAA6BI,QAA7B,CAAsCC,QAAtC;AACA;AAAA;AAAA,kDAAeL,WAAf,GAA6BI,QAA7B,CAAsCE,WAAtC;AACA;AAAA;AAAA,wCAAUpB,QAAV,CAAmBqB,UAAnB,CAA8BvB,SAA9B;AACH,WAJD;AAKH;;AAESwB,QAAAA,MAAM,GAAS;AACrBxB,UAAAA,SAAS,CAACE,QAAV,CAAmBuB,WAAnB,CAA+BC,MAA/B,GAAwC,SAAS;AAAA;AAAA,gDAAeV,WAAf,GAA6BI,QAA7B,CAAsCO,mBAAtC,GAA4DC,QAA5D,EAAjD;AACH;;AA3CoC,O,UAE9B1B,Q,GAAsB,I;;;;;iBAGV,I;;;;;;;iBAGC,I;;;;;;;iBAGC,I;;;;;;;iBAGA,I","sourcesContent":["import { _decorator, Button, Component, EventTouch, Input, input, instantiate, Label, Node, Prefab } from 'cc';\r\nimport { PanelBase } from '../framework/ui/PanelBase';\r\nimport { FPSCameraController } from '../FPSCameraController';\r\nimport { GameController } from '../GameController';\r\nimport { TargetIconItem } from './TargetIconItem';\r\nimport { EventCenter } from '../EventCenter';\r\nimport { UIManager } from '../framework/ui/UIManager';\r\nimport { SdkMgr } from '../framework/sdk/SdkMgr';\r\nimport { AudioMgr } from '../framework/audio/AudioMgr';\r\nimport { AssetController } from '../AssetController';\r\nconst { ccclass, property } = _decorator;\r\n\r\n@ccclass('LosePanel')\r\nexport class LosePanel extends PanelBase {\r\n\r\n static instance: LosePanel = null\r\n\r\n @property(Button)\r\n closeBtn: Button = null;\r\n\r\n @property(Button)\r\n replayBtn: Button = null;\r\n\r\n @property(Button)\r\n addTimeBtn: Button = null;\r\n\r\n @property(Label)\r\n remainLabel: Label = null;\r\n\r\n onLoad() {\r\n LosePanel.instance = this\r\n this.closeBtn.node.on(Button.EventType.CLICK, this.onClickClose, this);\r\n this.replayBtn.node.on(Button.EventType.CLICK, this.onClickReplay, this);\r\n this.addTimeBtn.node.on(Button.EventType.CLICK, this.onClickAddTime, this);\r\n }\r\n onClickClose() {\r\n AudioMgr.inst.playOneShot(AssetController.instance.click)\r\n GameController.getInstance().backMain()\r\n }\r\n\r\n onClickReplay() {\r\n AudioMgr.inst.playOneShot(AssetController.instance.click)\r\n GameController.getInstance().gameRestart()\r\n }\r\n\r\n onClickAddTime() {\r\n AudioMgr.inst.playOneShot(AssetController.instance.click)\r\n SdkMgr.instance.playerRewardAds(() => {\r\n GameController.getInstance().curLevel.addTimer()\r\n GameController.getInstance().curLevel.ContinueRun()\r\n UIManager.instance.closePanel(LosePanel)\r\n })\r\n }\r\n\r\n protected onOpen(): void {\r\n LosePanel.instance.remainLabel.string = \"剩余: \" + GameController.getInstance().curLevel.getAliveEnemeyCount().toString()\r\n }\r\n\r\n}\r\n\r\n\r\n"]}
|
||||
{"version":3,"sources":["file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/LosePanel.ts"],"names":["_decorator","Button","Label","PanelBase","GameController","UIManager","SdkMgr","AudioMgr","AssetController","ccclass","property","LosePanel","onLoad","instance","closeBtn","node","on","EventType","CLICK","onClickClose","replayBtn","onClickReplay","addTimeBtn","onClickAddTime","inst","playOneShot","click","getInstance","backMain","gameRestart","requestReward","curLevel","addTimer","ContinueRun","closePanel","onOpen","remainLabel","string","getAliveEnemeyCount","toString"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAASA,MAAAA,U,OAAAA,U;AAAYC,MAAAA,M,OAAAA,M;AAA0DC,MAAAA,K,OAAAA,K;;AACtEC,MAAAA,S,iBAAAA,S;;AAEAC,MAAAA,c,iBAAAA,c;;AAGAC,MAAAA,S,iBAAAA,S;;AACAC,MAAAA,M,iBAAAA,M;;AACAC,MAAAA,Q,iBAAAA,Q;;AACAC,MAAAA,e,iBAAAA,e;;;;;;;;;OACH;AAAEC,QAAAA,OAAF;AAAWC,QAAAA;AAAX,O,GAAwBV,U;;2BAGjBW,S,WADZF,OAAO,CAAC,WAAD,C,UAKHC,QAAQ,CAACT,MAAD,C,UAGRS,QAAQ,CAACT,MAAD,C,UAGRS,QAAQ,CAACT,MAAD,C,UAGRS,QAAQ,CAACR,KAAD,C,sCAdb,MACaS,SADb;AAAA;AAAA,kCACyC;AAAA;AAAA;;AAAA;;AAAA;;AAAA;;AAAA;AAAA;;AAgBrCC,QAAAA,MAAM,GAAG;AACLD,UAAAA,SAAS,CAACE,QAAV,GAAqB,IAArB;AACA,eAAKC,QAAL,CAAcC,IAAd,CAAmBC,EAAnB,CAAsBf,MAAM,CAACgB,SAAP,CAAiBC,KAAvC,EAA8C,KAAKC,YAAnD,EAAiE,IAAjE;AACA,eAAKC,SAAL,CAAeL,IAAf,CAAoBC,EAApB,CAAuBf,MAAM,CAACgB,SAAP,CAAiBC,KAAxC,EAA+C,KAAKG,aAApD,EAAmE,IAAnE;AACA,eAAKC,UAAL,CAAgBP,IAAhB,CAAqBC,EAArB,CAAwBf,MAAM,CAACgB,SAAP,CAAiBC,KAAzC,EAAgD,KAAKK,cAArD,EAAqE,IAArE;AACH;;AACDJ,QAAAA,YAAY,GAAG;AACX;AAAA;AAAA,oCAASK,IAAT,CAAcC,WAAd,CAA0B;AAAA;AAAA,kDAAgBZ,QAAhB,CAAyBa,KAAnD;AACA;AAAA;AAAA,gDAAeC,WAAf,GAA6BC,QAA7B;AACH;;AAEDP,QAAAA,aAAa,GAAG;AACZ;AAAA;AAAA,oCAASG,IAAT,CAAcC,WAAd,CAA0B;AAAA;AAAA,kDAAgBZ,QAAhB,CAAyBa,KAAnD;AACA;AAAA;AAAA,gDAAeC,WAAf,GAA6BE,WAA7B;AACH;;AAEDN,QAAAA,cAAc,GAAG;AACb;AAAA;AAAA,oCAASC,IAAT,CAAcC,WAAd,CAA0B;AAAA;AAAA,kDAAgBZ,QAAhB,CAAyBa,KAAnD;AACA;AAAA;AAAA,gCAAOb,QAAP,CAAgBiB,aAAhB,CAA8B,MAAM;AAChC;AAAA;AAAA,kDAAeH,WAAf,GAA6BI,QAA7B,CAAsCC,QAAtC;AACA;AAAA;AAAA,kDAAeL,WAAf,GAA6BI,QAA7B,CAAsCE,WAAtC;AACA;AAAA;AAAA,wCAAUpB,QAAV,CAAmBqB,UAAnB,CAA8BvB,SAA9B;AACH,WAJD;AAKH;;AAESwB,QAAAA,MAAM,GAAS;AACrBxB,UAAAA,SAAS,CAACE,QAAV,CAAmBuB,WAAnB,CAA+BC,MAA/B,GAAwC,SAAS;AAAA;AAAA,gDAAeV,WAAf,GAA6BI,QAA7B,CAAsCO,mBAAtC,GAA4DC,QAA5D,EAAjD;AACH;;AA3CoC,O,UAE9B1B,Q,GAAsB,I;;;;;iBAGV,I;;;;;;;iBAGC,I;;;;;;;iBAGC,I;;;;;;;iBAGA,I","sourcesContent":["import { _decorator, Button, Component, EventTouch, Input, input, instantiate, Label, Node, Prefab } from 'cc';\r\nimport { PanelBase } from '../framework/ui/PanelBase';\r\nimport { FPSCameraController } from '../FPSCameraController';\r\nimport { GameController } from '../GameController';\r\nimport { TargetIconItem } from './TargetIconItem';\r\nimport { EventCenter } from '../EventCenter';\r\nimport { UIManager } from '../framework/ui/UIManager';\r\nimport { SdkMgr } from '../framework/sdk/SdkMgr';\r\nimport { AudioMgr } from '../framework/audio/AudioMgr';\r\nimport { AssetController } from '../AssetController';\r\nconst { ccclass, property } = _decorator;\r\n\r\n@ccclass('LosePanel')\r\nexport class LosePanel extends PanelBase {\r\n\r\n static instance: LosePanel = null\r\n\r\n @property(Button)\r\n closeBtn: Button = null;\r\n\r\n @property(Button)\r\n replayBtn: Button = null;\r\n\r\n @property(Button)\r\n addTimeBtn: Button = null;\r\n\r\n @property(Label)\r\n remainLabel: Label = null;\r\n\r\n onLoad() {\r\n LosePanel.instance = this\r\n this.closeBtn.node.on(Button.EventType.CLICK, this.onClickClose, this);\r\n this.replayBtn.node.on(Button.EventType.CLICK, this.onClickReplay, this);\r\n this.addTimeBtn.node.on(Button.EventType.CLICK, this.onClickAddTime, this);\r\n }\r\n onClickClose() {\r\n AudioMgr.inst.playOneShot(AssetController.instance.click)\r\n GameController.getInstance().backMain()\r\n }\r\n\r\n onClickReplay() {\r\n AudioMgr.inst.playOneShot(AssetController.instance.click)\r\n GameController.getInstance().gameRestart()\r\n }\r\n\r\n onClickAddTime() {\r\n AudioMgr.inst.playOneShot(AssetController.instance.click)\r\n SdkMgr.instance.requestReward(() => {\n GameController.getInstance().curLevel.addTimer()\r\n GameController.getInstance().curLevel.ContinueRun()\r\n UIManager.instance.closePanel(LosePanel)\r\n })\r\n }\r\n\r\n protected onOpen(): void {\r\n LosePanel.instance.remainLabel.string = \"剩余: \" + GameController.getInstance().curLevel.getAliveEnemeyCount().toString()\r\n }\r\n\r\n}\r\n\r\n\r\n"]}
|
||||
+2
-15
@@ -1,7 +1,7 @@
|
||||
System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__unresolved_3", "__unresolved_4", "__unresolved_5", "__unresolved_6", "__unresolved_7", "__unresolved_8", "__unresolved_9", "__unresolved_10", "__unresolved_11"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
var _reporterNs, _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, AssetManager, Camera, Component, instantiate, Node, Prefab, resources, sys, Ragdoll, EventCenter, LevelState, GameController, UIManager, WinPanel, FPSCameraController, DataMgr, LevelConfig, Weapon, LocalSaveMgr, LosePanel, BattleResult, _dec, _dec2, _class, _class2, _descriptor, _crd, ccclass, property, BattleLevel;
|
||||
var _reporterNs, _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, AssetManager, Camera, Component, instantiate, Node, Prefab, resources, Ragdoll, EventCenter, LevelState, GameController, UIManager, WinPanel, FPSCameraController, DataMgr, LevelConfig, Weapon, LocalSaveMgr, LosePanel, BattleResult, _dec, _dec2, _class, _class2, _descriptor, _crd, ccclass, property, BattleLevel;
|
||||
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
||||
|
||||
@@ -78,7 +78,6 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
Node = _cc.Node;
|
||||
Prefab = _cc.Prefab;
|
||||
resources = _cc.resources;
|
||||
sys = _cc.sys;
|
||||
}, function (_unresolved_2) {
|
||||
Ragdoll = _unresolved_2.Ragdoll;
|
||||
}, function (_unresolved_3) {
|
||||
@@ -108,7 +107,7 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
|
||||
_cclegacy._RF.push({}, "9e148aozb1Po7lPojkLGFFt", "BattleLevel", undefined);
|
||||
|
||||
__checkObsolete__(['_decorator', 'AssetManager', 'Camera', 'Component', 'instantiate', 'math', 'Node', 'Prefab', 'resources', 'sys']);
|
||||
__checkObsolete__(['_decorator', 'AssetManager', 'Camera', 'Component', 'instantiate', 'math', 'Node', 'Prefab', 'resources']);
|
||||
|
||||
({
|
||||
ccclass,
|
||||
@@ -200,12 +199,6 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
|
||||
_this.levelIndex = levelIndex; // levelIndex = 1
|
||||
|
||||
if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
tt.reportAnalytics('start_level', {
|
||||
level: _this.levelIndex
|
||||
});
|
||||
}
|
||||
|
||||
var config = (_crd && DataMgr === void 0 ? (_reportPossibleCrUseOfDataMgr({
|
||||
error: Error()
|
||||
}), DataMgr) : DataMgr).getInstance().GetDataById(_crd && LevelConfig === void 0 ? (_reportPossibleCrUseOfLevelConfig({
|
||||
@@ -333,12 +326,6 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
}
|
||||
|
||||
win() {
|
||||
if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
tt.reportAnalytics('end_level', {
|
||||
level: this.levelIndex
|
||||
});
|
||||
}
|
||||
|
||||
this.levelState = (_crd && LevelState === void 0 ? (_reportPossibleCrUseOfLevelState({
|
||||
error: Error()
|
||||
}), LevelState) : LevelState).Result;
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+4
-21
@@ -1,7 +1,7 @@
|
||||
System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__unresolved_3", "__unresolved_4", "__unresolved_5", "__unresolved_6", "__unresolved_7", "__unresolved_8", "__unresolved_9", "__unresolved_10", "__unresolved_11", "__unresolved_12"], function (_export, _context) {
|
||||
"use strict";
|
||||
|
||||
var _reporterNs, _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, Animation, AnimationComponent, Button, instantiate, Label, Node, Prefab, randomRange, randomRangeInt, sys, tween, Vec2, Vec3, PanelBase, FPSCameraController, GameController, TargetIconItem, EventCenter, UIManager, QingBaoPanel, SettingPanel, SdkMgr, AudioMgr, AssetController, LocalSaveMgr, _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _class3, _crd, ccclass, property, PlayPanel;
|
||||
var _reporterNs, _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, Animation, AnimationComponent, Button, instantiate, Label, Node, Prefab, randomRange, randomRangeInt, tween, Vec2, Vec3, PanelBase, FPSCameraController, GameController, TargetIconItem, EventCenter, UIManager, QingBaoPanel, SettingPanel, SdkMgr, AudioMgr, AssetController, LocalSaveMgr, _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _class3, _crd, ccclass, property, PlayPanel;
|
||||
|
||||
function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
|
||||
|
||||
@@ -78,7 +78,6 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
Prefab = _cc.Prefab;
|
||||
randomRange = _cc.randomRange;
|
||||
randomRangeInt = _cc.randomRangeInt;
|
||||
sys = _cc.sys;
|
||||
tween = _cc.tween;
|
||||
Vec2 = _cc.Vec2;
|
||||
Vec3 = _cc.Vec3;
|
||||
@@ -112,7 +111,7 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
|
||||
_cclegacy._RF.push({}, "a66cdbq8WdFToV6aW4c47xh", "PlayPanel", undefined);
|
||||
|
||||
__checkObsolete__(['_decorator', 'animation', 'Animation', 'AnimationComponent', 'Button', 'Component', 'EventTouch', 'Input', 'input', 'instantiate', 'Label', 'math', 'Node', 'Prefab', 'randomRange', 'randomRangeInt', 'screen', 'Screen', 'sys', 'tween', 'Vec2', 'Vec3', 'view']);
|
||||
__checkObsolete__(['_decorator', 'animation', 'Animation', 'AnimationComponent', 'Button', 'Component', 'EventTouch', 'Input', 'input', 'instantiate', 'Label', 'math', 'Node', 'Prefab', 'randomRange', 'randomRangeInt', 'screen', 'Screen', 'tween', 'Vec2', 'Vec3', 'view']);
|
||||
|
||||
({
|
||||
ccclass,
|
||||
@@ -236,14 +235,6 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
}
|
||||
|
||||
onClickQingBao() {
|
||||
if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
tt.reportAnalytics('use_prop', {
|
||||
level: (_crd && GameController === void 0 ? (_reportPossibleCrUseOfGameController({
|
||||
error: Error()
|
||||
}), GameController) : GameController).getInstance().curLevel.levelIndex
|
||||
});
|
||||
}
|
||||
|
||||
(_crd && AudioMgr === void 0 ? (_reportPossibleCrUseOfAudioMgr({
|
||||
error: Error()
|
||||
}), AudioMgr) : AudioMgr).inst.playOneShot((_crd && AssetController === void 0 ? (_reportPossibleCrUseOfAssetController({
|
||||
@@ -251,7 +242,7 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
}), AssetController) : AssetController).instance.click);
|
||||
(_crd && SdkMgr === void 0 ? (_reportPossibleCrUseOfSdkMgr({
|
||||
error: Error()
|
||||
}), SdkMgr) : SdkMgr).instance.playerRewardAds(() => {
|
||||
}), SdkMgr) : SdkMgr).instance.requestReward(() => {
|
||||
(_crd && UIManager === void 0 ? (_reportPossibleCrUseOfUIManager({
|
||||
error: Error()
|
||||
}), UIManager) : UIManager).instance.openPanel(_crd && QingBaoPanel === void 0 ? (_reportPossibleCrUseOfQingBaoPanel({
|
||||
@@ -278,14 +269,6 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
}
|
||||
|
||||
onClickSaoMiao() {
|
||||
if (sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
|
||||
tt.reportAnalytics('use_prop', {
|
||||
level: (_crd && GameController === void 0 ? (_reportPossibleCrUseOfGameController({
|
||||
error: Error()
|
||||
}), GameController) : GameController).getInstance().curLevel.levelIndex
|
||||
});
|
||||
}
|
||||
|
||||
(_crd && AudioMgr === void 0 ? (_reportPossibleCrUseOfAudioMgr({
|
||||
error: Error()
|
||||
}), AudioMgr) : AudioMgr).inst.playOneShot((_crd && AssetController === void 0 ? (_reportPossibleCrUseOfAssetController({
|
||||
@@ -293,7 +276,7 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
}), AssetController) : AssetController).instance.click);
|
||||
(_crd && SdkMgr === void 0 ? (_reportPossibleCrUseOfSdkMgr({
|
||||
error: Error()
|
||||
}), SdkMgr) : SdkMgr).instance.playerRewardAds(() => {
|
||||
}), SdkMgr) : SdkMgr).instance.requestReward(() => {
|
||||
this.saoMiaoTip.active = true;
|
||||
(_crd && GameController === void 0 ? (_reportPossibleCrUseOfGameController({
|
||||
error: Error()
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-4
@@ -156,7 +156,7 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
this.runingPoint = false;
|
||||
(_crd && SdkMgr === void 0 ? (_reportPossibleCrUseOfSdkMgr({
|
||||
error: Error()
|
||||
}), SdkMgr) : SdkMgr).instance.playerRewardAds(() => {
|
||||
}), SdkMgr) : SdkMgr).instance.requestReward(() => {
|
||||
var addPoint = Math.ceil(this.curResult.coinCount * this.rewardDouble);
|
||||
var fromeMoney = (_crd && LocalSaveMgr === void 0 ? (_reportPossibleCrUseOfLocalSaveMgr({
|
||||
error: Error()
|
||||
@@ -180,9 +180,6 @@ System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2", "__
|
||||
(_crd && GameController === void 0 ? (_reportPossibleCrUseOfGameController({
|
||||
error: Error()
|
||||
}), GameController) : GameController).getInstance().backMain();
|
||||
(_crd && SdkMgr === void 0 ? (_reportPossibleCrUseOfSdkMgr({
|
||||
error: Error()
|
||||
}), SdkMgr) : SdkMgr).instance.showInterstitial();
|
||||
}
|
||||
|
||||
backMain() {
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
@@ -22,9 +22,7 @@
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/audio/AudioMgr.ts": "./chunks/17/17c15c9f91cab21852afabf06f526d531a818ca5.js",
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/data/DataMgr.ts": "./chunks/74/74492fc9d685cee57174a4cb2d83681be8c897ae.js",
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/data/LocalSaveMgr.ts": "./chunks/a9/a912ccf8538595758f48834d371e876268f35154.js",
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/DYSdk.ts": "./chunks/0a/0ac499867c38f0c346de057171246da0ed544830.js",
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/SdkMgr.ts": "./chunks/39/398d00769bffaa6da8f5ea12e7941d4a67eac52a.js",
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/WXSdk.ts": "./chunks/9b/9bb5a494a0ce54031b6a65bb881bfbc74b1b2ceb.js",
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/ui/PanelBase.ts": "./chunks/63/63a64431b6b21cd924e8e7464d636fa810675c73.js",
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/ui/UIAdapt.ts": "./chunks/61/61a1a90fa18d74e270c2b1882d8383afa6bd221e.js",
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/ui/UIManager.ts": "./chunks/84/846848029ee2eaec7dd62969289523953b0fd69b.js",
|
||||
@@ -36,8 +34,6 @@
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/PlayPanel.ts": "./chunks/f3/f3d2c0c32b5bda2d3627fc340699129d1ecef51f.js",
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/QingBaoPanel.ts": "./chunks/ab/abd6b3d279fb075f8e562e5b6b6f34a9435a296e.js",
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/SettingPanel.ts": "./chunks/27/272d64b5902574fa3c4e1d917eb5c8c66cc47e6e.js",
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/SharePanel.ts": "./chunks/c1/c1e2c1815dec4ca60d55200a304a5a0c18d5490a.js",
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/SideTipPanel.ts": "./chunks/c3/c3f94a0a0b60a4096d1845d94adb63d9a6fbb04b.js",
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/TargetIconItem.ts": "./chunks/3e/3e6e47d30b1f7141ff9f130754ef3e0c08b4f2cf.js",
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/WinPanel.ts": "./chunks/f8/f8f691aa4e9ee54c9f93800a6a699c64dce1eca4.js"
|
||||
},
|
||||
@@ -73,25 +69,21 @@
|
||||
"__unresolved_18": "./chunks/74/74492fc9d685cee57174a4cb2d83681be8c897ae.js",
|
||||
"__unresolved_19": "./chunks/a9/a912ccf8538595758f48834d371e876268f35154.js",
|
||||
"__unresolved_2": "./chunks/16/16943f8f7ce6b22136d1afbe85657c81d916047e.js",
|
||||
"__unresolved_20": "./chunks/0a/0ac499867c38f0c346de057171246da0ed544830.js",
|
||||
"__unresolved_21": "./chunks/39/398d00769bffaa6da8f5ea12e7941d4a67eac52a.js",
|
||||
"__unresolved_22": "./chunks/9b/9bb5a494a0ce54031b6a65bb881bfbc74b1b2ceb.js",
|
||||
"__unresolved_23": "./chunks/63/63a64431b6b21cd924e8e7464d636fa810675c73.js",
|
||||
"__unresolved_24": "./chunks/61/61a1a90fa18d74e270c2b1882d8383afa6bd221e.js",
|
||||
"__unresolved_25": "./chunks/84/846848029ee2eaec7dd62969289523953b0fd69b.js",
|
||||
"__unresolved_26": "./chunks/60/60cdac507d8d69ba60d1a17b9010a0a8c3c7a055.js",
|
||||
"__unresolved_27": "./chunks/97/97ba04727710315dc2b2eb043263e1cc25995b18.js",
|
||||
"__unresolved_28": "./chunks/af/aff6617cbbb7a53a4de9a5219456dcc3e0d312e5.js",
|
||||
"__unresolved_29": "./chunks/ba/bace070c537a3e1854e903015145470ccbad65f3.js",
|
||||
"__unresolved_20": "./chunks/39/398d00769bffaa6da8f5ea12e7941d4a67eac52a.js",
|
||||
"__unresolved_21": "./chunks/63/63a64431b6b21cd924e8e7464d636fa810675c73.js",
|
||||
"__unresolved_22": "./chunks/61/61a1a90fa18d74e270c2b1882d8383afa6bd221e.js",
|
||||
"__unresolved_23": "./chunks/84/846848029ee2eaec7dd62969289523953b0fd69b.js",
|
||||
"__unresolved_24": "./chunks/60/60cdac507d8d69ba60d1a17b9010a0a8c3c7a055.js",
|
||||
"__unresolved_25": "./chunks/97/97ba04727710315dc2b2eb043263e1cc25995b18.js",
|
||||
"__unresolved_26": "./chunks/af/aff6617cbbb7a53a4de9a5219456dcc3e0d312e5.js",
|
||||
"__unresolved_27": "./chunks/ba/bace070c537a3e1854e903015145470ccbad65f3.js",
|
||||
"__unresolved_28": "./chunks/11/11bc8e58e773fbc894d55b9ccb0cb65cbd484ea3.js",
|
||||
"__unresolved_29": "./chunks/f3/f3d2c0c32b5bda2d3627fc340699129d1ecef51f.js",
|
||||
"__unresolved_3": "./chunks/4e/4e3da60860de09602aee36fbb9aa794712379f47.js",
|
||||
"__unresolved_30": "./chunks/11/11bc8e58e773fbc894d55b9ccb0cb65cbd484ea3.js",
|
||||
"__unresolved_31": "./chunks/f3/f3d2c0c32b5bda2d3627fc340699129d1ecef51f.js",
|
||||
"__unresolved_32": "./chunks/ab/abd6b3d279fb075f8e562e5b6b6f34a9435a296e.js",
|
||||
"__unresolved_33": "./chunks/27/272d64b5902574fa3c4e1d917eb5c8c66cc47e6e.js",
|
||||
"__unresolved_34": "./chunks/c1/c1e2c1815dec4ca60d55200a304a5a0c18d5490a.js",
|
||||
"__unresolved_35": "./chunks/c3/c3f94a0a0b60a4096d1845d94adb63d9a6fbb04b.js",
|
||||
"__unresolved_36": "./chunks/3e/3e6e47d30b1f7141ff9f130754ef3e0c08b4f2cf.js",
|
||||
"__unresolved_37": "./chunks/f8/f8f691aa4e9ee54c9f93800a6a699c64dce1eca4.js",
|
||||
"__unresolved_30": "./chunks/ab/abd6b3d279fb075f8e562e5b6b6f34a9435a296e.js",
|
||||
"__unresolved_31": "./chunks/27/272d64b5902574fa3c4e1d917eb5c8c66cc47e6e.js",
|
||||
"__unresolved_32": "./chunks/3e/3e6e47d30b1f7141ff9f130754ef3e0c08b4f2cf.js",
|
||||
"__unresolved_33": "./chunks/f8/f8f691aa4e9ee54c9f93800a6a699c64dce1eca4.js",
|
||||
"__unresolved_4": "./chunks/14/140dc6bd476739f3eb222d0c65eda1306239d6c5.js",
|
||||
"__unresolved_5": "./chunks/cc/cce2d64bf43cd827ad5c0d87dcb166b068a41ba8.js",
|
||||
"__unresolved_6": "./chunks/dd/dd9b18077e2f673e16c18254c48f641a27848de5.js",
|
||||
@@ -123,19 +115,6 @@
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/39/398d00769bffaa6da8f5ea12e7941d4a67eac52a.js": {
|
||||
"__unresolved_0": "./chunks/6a/6a5019a719a9014c047e67aa1cf34453ab8392ce.js",
|
||||
"__unresolved_1": "./chunks/9b/9bb5a494a0ce54031b6a65bb881bfbc74b1b2ceb.js",
|
||||
"__unresolved_2": "./chunks/0a/0ac499867c38f0c346de057171246da0ed544830.js",
|
||||
"__unresolved_3": "./chunks/17/17c15c9f91cab21852afabf06f526d531a818ca5.js",
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/17/17c15c9f91cab21852afabf06f526d531a818ca5.js": {
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/0a/0ac499867c38f0c346de057171246da0ed544830.js": {
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/9b/9bb5a494a0ce54031b6a65bb881bfbc74b1b2ceb.js": {
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/14/140dc6bd476739f3eb222d0c65eda1306239d6c5.js": {
|
||||
@@ -144,6 +123,9 @@
|
||||
"./chunks/63/63a64431b6b21cd924e8e7464d636fa810675c73.js": {
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/17/17c15c9f91cab21852afabf06f526d531a818ca5.js": {
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/84/846848029ee2eaec7dd62969289523953b0fd69b.js": {
|
||||
"__unresolved_0": "./chunks/6a/6a5019a719a9014c047e67aa1cf34453ab8392ce.js",
|
||||
"__unresolved_1": "./chunks/63/63a64431b6b21cd924e8e7464d636fa810675c73.js",
|
||||
@@ -188,8 +170,6 @@
|
||||
"__unresolved_1": "./chunks/a9/a912ccf8538595758f48834d371e876268f35154.js",
|
||||
"__unresolved_10": "./chunks/39/398d00769bffaa6da8f5ea12e7941d4a67eac52a.js",
|
||||
"__unresolved_11": "./chunks/d7/d7006a76a6894c1b64ce9eaf0f0f41170ec7bb9f.js",
|
||||
"__unresolved_12": "./chunks/c3/c3f94a0a0b60a4096d1845d94adb63d9a6fbb04b.js",
|
||||
"__unresolved_13": "./chunks/c1/c1e2c1815dec4ca60d55200a304a5a0c18d5490a.js",
|
||||
"__unresolved_2": "./chunks/84/846848029ee2eaec7dd62969289523953b0fd69b.js",
|
||||
"__unresolved_3": "./chunks/17/17c15c9f91cab21852afabf06f526d531a818ca5.js",
|
||||
"__unresolved_4": "./chunks/63/63a64431b6b21cd924e8e7464d636fa810675c73.js",
|
||||
@@ -209,27 +189,6 @@
|
||||
"__unresolved_2": "./chunks/04/04ba8e78fd81d85f3e686fe17aa3fb20ac8c65fa.js",
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/c1/c1e2c1815dec4ca60d55200a304a5a0c18d5490a.js": {
|
||||
"__unresolved_0": "./chunks/6a/6a5019a719a9014c047e67aa1cf34453ab8392ce.js",
|
||||
"__unresolved_1": "./chunks/a9/a912ccf8538595758f48834d371e876268f35154.js",
|
||||
"__unresolved_2": "./chunks/84/846848029ee2eaec7dd62969289523953b0fd69b.js",
|
||||
"__unresolved_3": "./chunks/17/17c15c9f91cab21852afabf06f526d531a818ca5.js",
|
||||
"__unresolved_4": "./chunks/63/63a64431b6b21cd924e8e7464d636fa810675c73.js",
|
||||
"__unresolved_5": "./chunks/14/140dc6bd476739f3eb222d0c65eda1306239d6c5.js",
|
||||
"__unresolved_6": "./chunks/9b/9bb5a494a0ce54031b6a65bb881bfbc74b1b2ceb.js",
|
||||
"__unresolved_7": "./chunks/11/11bc8e58e773fbc894d55b9ccb0cb65cbd484ea3.js",
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/c3/c3f94a0a0b60a4096d1845d94adb63d9a6fbb04b.js": {
|
||||
"__unresolved_0": "./chunks/6a/6a5019a719a9014c047e67aa1cf34453ab8392ce.js",
|
||||
"__unresolved_1": "./chunks/a9/a912ccf8538595758f48834d371e876268f35154.js",
|
||||
"__unresolved_2": "./chunks/84/846848029ee2eaec7dd62969289523953b0fd69b.js",
|
||||
"__unresolved_3": "./chunks/17/17c15c9f91cab21852afabf06f526d531a818ca5.js",
|
||||
"__unresolved_4": "./chunks/63/63a64431b6b21cd924e8e7464d636fa810675c73.js",
|
||||
"__unresolved_5": "./chunks/14/140dc6bd476739f3eb222d0c65eda1306239d6c5.js",
|
||||
"__unresolved_6": "./chunks/0a/0ac499867c38f0c346de057171246da0ed544830.js",
|
||||
"cc": "./chunks/93/93ba276ea7b26ffcdc433fab14afc1ed6f05647b.js"
|
||||
},
|
||||
"./chunks/f3/f3d2c0c32b5bda2d3627fc340699129d1ecef51f.js": {
|
||||
"__unresolved_0": "./chunks/6a/6a5019a719a9014c047e67aa1cf34453ab8392ce.js",
|
||||
"__unresolved_1": "./chunks/63/63a64431b6b21cd924e8e7464d636fa810675c73.js",
|
||||
|
||||
@@ -325,7 +325,7 @@
|
||||
]
|
||||
},
|
||||
"cce:/internal/x/prerequisite-imports": {
|
||||
"mTimestamp": 10106.873699999996,
|
||||
"mTimestamp": 4122221.3551,
|
||||
"chunkId": "6d8fd2b0177941b032ddc0733af48a561fb60657",
|
||||
"imports": [
|
||||
{
|
||||
@@ -609,7 +609,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/DYSdk.ts",
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/SdkMgr.ts",
|
||||
"resolved": "__unresolved_20",
|
||||
"loc": {
|
||||
"start": {
|
||||
@@ -618,12 +618,12 @@
|
||||
},
|
||||
"end": {
|
||||
"line": 24,
|
||||
"column": 82
|
||||
"column": 83
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/SdkMgr.ts",
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/ui/PanelBase.ts",
|
||||
"resolved": "__unresolved_21",
|
||||
"loc": {
|
||||
"start": {
|
||||
@@ -632,12 +632,12 @@
|
||||
},
|
||||
"end": {
|
||||
"line": 25,
|
||||
"column": 83
|
||||
"column": 85
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/WXSdk.ts",
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/ui/UIAdapt.ts",
|
||||
"resolved": "__unresolved_22",
|
||||
"loc": {
|
||||
"start": {
|
||||
@@ -646,12 +646,12 @@
|
||||
},
|
||||
"end": {
|
||||
"line": 26,
|
||||
"column": 82
|
||||
"column": 83
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/ui/PanelBase.ts",
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/ui/UIManager.ts",
|
||||
"resolved": "__unresolved_23",
|
||||
"loc": {
|
||||
"start": {
|
||||
@@ -665,7 +665,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/ui/UIAdapt.ts",
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/ui/UISwitcher.ts",
|
||||
"resolved": "__unresolved_24",
|
||||
"loc": {
|
||||
"start": {
|
||||
@@ -674,12 +674,12 @@
|
||||
},
|
||||
"end": {
|
||||
"line": 28,
|
||||
"column": 83
|
||||
"column": 86
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/ui/UIManager.ts",
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/AddHeartPanel.ts",
|
||||
"resolved": "__unresolved_25",
|
||||
"loc": {
|
||||
"start": {
|
||||
@@ -688,12 +688,12 @@
|
||||
},
|
||||
"end": {
|
||||
"line": 29,
|
||||
"column": 85
|
||||
"column": 79
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/ui/UISwitcher.ts",
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/LoadingPanel.ts",
|
||||
"resolved": "__unresolved_26",
|
||||
"loc": {
|
||||
"start": {
|
||||
@@ -702,12 +702,12 @@
|
||||
},
|
||||
"end": {
|
||||
"line": 30,
|
||||
"column": 86
|
||||
"column": 78
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/AddHeartPanel.ts",
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/LosePanel.ts",
|
||||
"resolved": "__unresolved_27",
|
||||
"loc": {
|
||||
"start": {
|
||||
@@ -716,12 +716,12 @@
|
||||
},
|
||||
"end": {
|
||||
"line": 31,
|
||||
"column": 79
|
||||
"column": 75
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/LoadingPanel.ts",
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/MainPanel.ts",
|
||||
"resolved": "__unresolved_28",
|
||||
"loc": {
|
||||
"start": {
|
||||
@@ -730,12 +730,12 @@
|
||||
},
|
||||
"end": {
|
||||
"line": 32,
|
||||
"column": 78
|
||||
"column": 75
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/LosePanel.ts",
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/PlayPanel.ts",
|
||||
"resolved": "__unresolved_29",
|
||||
"loc": {
|
||||
"start": {
|
||||
@@ -749,7 +749,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/MainPanel.ts",
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/QingBaoPanel.ts",
|
||||
"resolved": "__unresolved_30",
|
||||
"loc": {
|
||||
"start": {
|
||||
@@ -758,12 +758,12 @@
|
||||
},
|
||||
"end": {
|
||||
"line": 34,
|
||||
"column": 75
|
||||
"column": 78
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/PlayPanel.ts",
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/SettingPanel.ts",
|
||||
"resolved": "__unresolved_31",
|
||||
"loc": {
|
||||
"start": {
|
||||
@@ -772,12 +772,12 @@
|
||||
},
|
||||
"end": {
|
||||
"line": 35,
|
||||
"column": 75
|
||||
"column": 78
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/QingBaoPanel.ts",
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/TargetIconItem.ts",
|
||||
"resolved": "__unresolved_32",
|
||||
"loc": {
|
||||
"start": {
|
||||
@@ -786,12 +786,12 @@
|
||||
},
|
||||
"end": {
|
||||
"line": 36,
|
||||
"column": 78
|
||||
"column": 80
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/SettingPanel.ts",
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/WinPanel.ts",
|
||||
"resolved": "__unresolved_33",
|
||||
"loc": {
|
||||
"start": {
|
||||
@@ -800,62 +800,6 @@
|
||||
},
|
||||
"end": {
|
||||
"line": 37,
|
||||
"column": 78
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/SharePanel.ts",
|
||||
"resolved": "__unresolved_34",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 38,
|
||||
"column": 7
|
||||
},
|
||||
"end": {
|
||||
"line": 38,
|
||||
"column": 76
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/SideTipPanel.ts",
|
||||
"resolved": "__unresolved_35",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 39,
|
||||
"column": 7
|
||||
},
|
||||
"end": {
|
||||
"line": 39,
|
||||
"column": 78
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/TargetIconItem.ts",
|
||||
"resolved": "__unresolved_36",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 40,
|
||||
"column": 7
|
||||
},
|
||||
"end": {
|
||||
"line": 40,
|
||||
"column": 80
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/WinPanel.ts",
|
||||
"resolved": "__unresolved_37",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 41,
|
||||
"column": 7
|
||||
},
|
||||
"end": {
|
||||
"line": 41,
|
||||
"column": 74
|
||||
}
|
||||
}
|
||||
@@ -1003,13 +947,6 @@
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
{
|
||||
"resolved": {
|
||||
"type": "module",
|
||||
"url": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/DYSdk.ts"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
{
|
||||
"resolved": {
|
||||
"type": "module",
|
||||
@@ -1017,13 +954,6 @@
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
{
|
||||
"resolved": {
|
||||
"type": "module",
|
||||
"url": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/WXSdk.ts"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
{
|
||||
"resolved": {
|
||||
"type": "module",
|
||||
@@ -1101,20 +1031,6 @@
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
{
|
||||
"resolved": {
|
||||
"type": "module",
|
||||
"url": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/SharePanel.ts"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
{
|
||||
"resolved": {
|
||||
"type": "module",
|
||||
"url": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/SideTipPanel.ts"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
{
|
||||
"resolved": {
|
||||
"type": "module",
|
||||
@@ -1779,7 +1695,7 @@
|
||||
},
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/BattleLevel.ts": {
|
||||
"mTimestamp": {
|
||||
"mtime": 1746887050000,
|
||||
"mtime": 1784085527195.843,
|
||||
"uuid": "9e1486a8-cdbd-4fa3-b94f-a2390b18516d"
|
||||
},
|
||||
"chunkId": "cce2d64bf43cd827ad5c0d87dcb166b068a41ba8",
|
||||
@@ -1799,11 +1715,11 @@
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 109
|
||||
"column": 104
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 113
|
||||
"column": 108
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -2313,7 +2229,7 @@
|
||||
},
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/WinPanel.ts": {
|
||||
"mTimestamp": {
|
||||
"mtime": 1744994168000,
|
||||
"mtime": 1784085527196.8403,
|
||||
"uuid": "614eaab3-3518-4351-b915-2d135f4651f4"
|
||||
},
|
||||
"chunkId": "f8f691aa4e9ee54c9f93800a6a699c64dce1eca4",
|
||||
@@ -2502,7 +2418,7 @@
|
||||
},
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/data/LocalSaveMgr.ts": {
|
||||
"mTimestamp": {
|
||||
"mtime": 1744994168000,
|
||||
"mtime": 1784085527198.7036,
|
||||
"uuid": "f0143096-0558-4925-a73a-0b91753e5038"
|
||||
},
|
||||
"chunkId": "a912ccf8538595758f48834d371e876268f35154",
|
||||
@@ -2754,15 +2670,11 @@
|
||||
},
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/SdkMgr.ts": {
|
||||
"mTimestamp": {
|
||||
"mtime": 1739804244000,
|
||||
"mtime": 1784085777094.102,
|
||||
"uuid": "6fbd6471-03d7-4ecc-911a-a30c321f573a"
|
||||
},
|
||||
"chunkId": "398d00769bffaa6da8f5ea12e7941d4a67eac52a",
|
||||
"imports": [
|
||||
{
|
||||
"value": "cce:/internal/code-quality/cr.mjs",
|
||||
"resolved": "__unresolved_0"
|
||||
},
|
||||
{
|
||||
"value": "cc"
|
||||
},
|
||||
@@ -2774,66 +2686,17 @@
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 87
|
||||
"column": 38
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 91
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "./WXSdk",
|
||||
"resolved": "__unresolved_1",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 2,
|
||||
"column": 22
|
||||
},
|
||||
"end": {
|
||||
"line": 2,
|
||||
"column": 31
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "./DYSdk",
|
||||
"resolved": "__unresolved_2",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 3,
|
||||
"column": 22
|
||||
},
|
||||
"end": {
|
||||
"line": 3,
|
||||
"column": 31
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "../audio/AudioMgr",
|
||||
"resolved": "__unresolved_3",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 4,
|
||||
"column": 25
|
||||
},
|
||||
"end": {
|
||||
"line": 4,
|
||||
"column": 44
|
||||
"column": 42
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"type": "esm",
|
||||
"resolutions": [
|
||||
{
|
||||
"resolved": {
|
||||
"type": "module",
|
||||
"url": "cce:/internal/code-quality/cr.mjs"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
{
|
||||
"resolved": {
|
||||
"type": "module",
|
||||
@@ -2854,33 +2717,12 @@
|
||||
"url": "cce:/internal/x/cc"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
{
|
||||
"resolved": {
|
||||
"type": "module",
|
||||
"url": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/WXSdk.ts"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
{
|
||||
"resolved": {
|
||||
"type": "module",
|
||||
"url": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/DYSdk.ts"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
{
|
||||
"resolved": {
|
||||
"type": "module",
|
||||
"url": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/audio/AudioMgr.ts"
|
||||
},
|
||||
"messages": []
|
||||
}
|
||||
]
|
||||
},
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/WXSdk.ts": {
|
||||
"mTimestamp": {
|
||||
"mtime": 1733660842000,
|
||||
"mtime": 1784085677431.1636,
|
||||
"uuid": "73835816-1977-46d1-ac3b-0a0843758eae"
|
||||
},
|
||||
"chunkId": "9bb5a494a0ce54031b6a65bb881bfbc74b1b2ceb",
|
||||
@@ -2932,7 +2774,7 @@
|
||||
},
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/framework/sdk/DYSdk.ts": {
|
||||
"mTimestamp": {
|
||||
"mtime": 1739805310000,
|
||||
"mtime": 1784085677433.073,
|
||||
"uuid": "e50a24d5-8754-4829-87a9-f39e0213fe5e"
|
||||
},
|
||||
"chunkId": "0ac499867c38f0c346de057171246da0ed544830",
|
||||
@@ -3288,7 +3130,7 @@
|
||||
},
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/LosePanel.ts": {
|
||||
"mTimestamp": {
|
||||
"mtime": 1743684814000,
|
||||
"mtime": 1784085527196.8403,
|
||||
"uuid": "35c17ce9-c80c-4430-962b-f46ead6a2e73"
|
||||
},
|
||||
"chunkId": "bace070c537a3e1854e903015145470ccbad65f3",
|
||||
@@ -3477,7 +3319,7 @@
|
||||
},
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/PlayPanel.ts": {
|
||||
"mTimestamp": {
|
||||
"mtime": 1746631688000,
|
||||
"mtime": 1784085527195.843,
|
||||
"uuid": "a66cd6ea-f167-454e-857a-696e1ce3bc61"
|
||||
},
|
||||
"chunkId": "f3d2c0c32b5bda2d3627fc340699129d1ecef51f",
|
||||
@@ -3497,11 +3339,11 @@
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 229
|
||||
"column": 224
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 233
|
||||
"column": 228
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -4327,7 +4169,7 @@
|
||||
},
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/MainPanel.ts": {
|
||||
"mTimestamp": {
|
||||
"mtime": 1744994168000,
|
||||
"mtime": 1784085527198.1907,
|
||||
"uuid": "225f0e63-c4dc-4a85-b8f7-bed528fc1a07"
|
||||
},
|
||||
"chunkId": "11bc8e58e773fbc894d55b9ccb0cb65cbd484ea3",
|
||||
@@ -4347,11 +4189,11 @@
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 2,
|
||||
"column": 140
|
||||
"column": 135
|
||||
},
|
||||
"end": {
|
||||
"line": 2,
|
||||
"column": 144
|
||||
"column": 139
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -4508,34 +4350,6 @@
|
||||
"column": 44
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "./SideTipPanel",
|
||||
"resolved": "__unresolved_12",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 15,
|
||||
"column": 29
|
||||
},
|
||||
"end": {
|
||||
"line": 15,
|
||||
"column": 45
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"value": "./SharePanel",
|
||||
"resolved": "__unresolved_13",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 16,
|
||||
"column": 27
|
||||
},
|
||||
"end": {
|
||||
"line": 16,
|
||||
"column": 41
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"type": "esm",
|
||||
@@ -4644,26 +4458,12 @@
|
||||
"url": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/EventCenter.ts"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
{
|
||||
"resolved": {
|
||||
"type": "module",
|
||||
"url": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/SideTipPanel.ts"
|
||||
},
|
||||
"messages": []
|
||||
},
|
||||
{
|
||||
"resolved": {
|
||||
"type": "module",
|
||||
"url": "file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/SharePanel.ts"
|
||||
},
|
||||
"messages": []
|
||||
}
|
||||
]
|
||||
},
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/AddHeartPanel.ts": {
|
||||
"mTimestamp": {
|
||||
"mtime": 1743684778000,
|
||||
"mtime": 1784085527196.8403,
|
||||
"uuid": "917bf6d3-04a8-4289-b46b-037db3226eca"
|
||||
},
|
||||
"chunkId": "97ba04727710315dc2b2eb043263e1cc25995b18",
|
||||
@@ -4852,7 +4652,7 @@
|
||||
},
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/SideTipPanel.ts": {
|
||||
"mTimestamp": {
|
||||
"mtime": 1743684618000,
|
||||
"mtime": 1784085677428.744,
|
||||
"uuid": "b585f61b-a132-4319-aba3-2942d022565b"
|
||||
},
|
||||
"chunkId": "c3f94a0a0b60a4096d1845d94adb63d9a6fbb04b",
|
||||
@@ -5041,7 +4841,7 @@
|
||||
},
|
||||
"file:///D:/Users/admin/Alien_Sniper/assets/scripts/ui/SharePanel.ts": {
|
||||
"mTimestamp": {
|
||||
"mtime": 1744210200000,
|
||||
"mtime": 1784085677429.8762,
|
||||
"uuid": "a5f9f430-fa04-4fb2-8af4-0e7176a078ce"
|
||||
},
|
||||
"chunkId": "c1e2c1815dec4ca60d55200a304a5a0c18d5490a",
|
||||
|
||||
Reference in New Issue
Block a user