Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
new_taobao
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wildfirecode13
new_taobao
Commits
5c1b97ff
Commit
5c1b97ff
authored
Oct 09, 2020
by
Edwise
🍷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1234
parent
13b1c09d
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
1 deletion
+20
-1
output.js
project/src/canvas/game/output.js
+5
-0
output.js.map
project/src/canvas/game/output.js.map
+1
-1
output.js
project/src/canvas/game/released/output.js
+5
-0
MainScene.ts
project/src/canvas/game/src/scenes/MainScene.ts
+4
-0
output.js
taobao_mini/client/pages/pagecanvas/output.js
+5
-0
No files found.
project/src/canvas/game/output.js
View file @
5c1b97ff
...
...
@@ -46964,6 +46964,8 @@ var MainScene = (function (_super) {
var that = this;
TaoBaoNet_1.sendTbNet(TaoBaoNet_1.TbNetName.recallInfo, {}, function (s, r) {
if (s) {
if (that.recallTimer)
clearTimeout(that.recallTimer);
that.recallTimer = setTimeout(function () {
that.recallCat();
}, r.data.backTime - r.data.serverTime);
...
...
@@ -47186,6 +47188,9 @@ var MainScene = (function (_super) {
if (s) {
Ins_1.Ins.userInfo = r.data;
if (that.isShow) {
if (Ins_1.Ins.catIsOut) {
that.initRecallCatTimer();
}
that.isShow = false;
that.energyUp1();
}
project/src/canvas/game/output.js.map
View file @
5c1b97ff
This source diff could not be displayed because it is too large. You can
view the blob
instead.
project/src/canvas/game/released/output.js
View file @
5c1b97ff
...
...
@@ -46966,6 +46966,8 @@ var MainScene = (function (_super) {
var that = this;
TaoBaoNet_1.sendTbNet(TaoBaoNet_1.TbNetName.recallInfo, {}, function (s, r) {
if (s) {
if (that.recallTimer)
clearTimeout(that.recallTimer);
that.recallTimer = setTimeout(function () {
that.recallCat();
}, r.data.backTime - r.data.serverTime);
...
...
@@ -47188,6 +47190,9 @@ var MainScene = (function (_super) {
if (s) {
Ins_1.Ins.userInfo = r.data;
if (that.isShow) {
if (Ins_1.Ins.catIsOut) {
that.initRecallCatTimer();
}
that.isShow = false;
that.energyUp1();
}
project/src/canvas/game/src/scenes/MainScene.ts
View file @
5c1b97ff
...
...
@@ -127,6 +127,7 @@ export class MainScene extends Scene {
var
that
=
this
;
sendTbNet
(
TbNetName
.
recallInfo
,{},(
s
,
r
)
=>
{
if
(
s
){
if
(
that
.
recallTimer
)
clearTimeout
(
that
.
recallTimer
)
that
.
recallTimer
=
setTimeout
(()
=>
{
that
.
recallCat
();
},
r
.
data
.
backTime
-
r
.
data
.
serverTime
)
...
...
@@ -375,6 +376,9 @@ export class MainScene extends Scene {
if
(
s
)
{
Ins
.
userInfo
=
r
.
data
;
if
(
that
.
isShow
){
if
(
Ins
.
catIsOut
){
that
.
initRecallCatTimer
();
}
that
.
isShow
=
false
;
that
.
energyUp1
();
}
...
...
taobao_mini/client/pages/pagecanvas/output.js
View file @
5c1b97ff
...
...
@@ -46966,6 +46966,8 @@ var MainScene = (function (_super) {
var that = this;
TaoBaoNet_1.sendTbNet(TaoBaoNet_1.TbNetName.recallInfo, {}, function (s, r) {
if (s) {
if (that.recallTimer)
clearTimeout(that.recallTimer);
that.recallTimer = setTimeout(function () {
that.recallCat();
}, r.data.backTime - r.data.serverTime);
...
...
@@ -47188,6 +47190,9 @@ var MainScene = (function (_super) {
if (s) {
Ins_1.Ins.userInfo = r.data;
if (that.isShow) {
if (Ins_1.Ins.catIsOut) {
that.initRecallCatTimer();
}
that.isShow = false;
that.energyUp1();
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment