Toggle navigation
Toggle navigation
This project
Loading...
Sign in
박찬수
/
enjoy_soccer
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
박찬수
2022-06-09 12:39:51 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4f950ca59861e8af5301194cc423c131d86e51ae
4f950ca5
1 parent
f9f84827
스텝, 초기화 오류 수정
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
reply.js
reply.js
View file @
4f950ca
...
...
@@ -111,16 +111,17 @@ function GetPlayerInfo(playerID, season, eventObj){
function
SelectAPI
(
eventObj
,
commingMsg
){
console
.
log
(
"Step : "
+
step
.
toString
());
++
step
;
if
(
tryParse
.
int
(
commingMsg
)
!=
null
){
// 리그 선택
if
(
step
==
0
){
if
(
step
==
1
){
isLeagueInfo
=
true
;
SelectLeague
(
tryParse
.
int
(
commingMsg
));
Reply
(
eventObj
,
SelectLeagueInfoMessage
());
}
else
if
(
step
==
1
&&
isLeagueInfo
){
else
if
(
step
==
2
&&
isLeagueInfo
){
SelectLeagueInfo
(
eventObj
,
tryParse
.
int
(
commingMsg
));
}
else
if
(
step
==
1
&&
!
isLeagueInfo
){
else
if
(
step
==
2
&&
!
isLeagueInfo
){
SelectTeamInfo
(
tryParse
.
int
(
commingMsg
));
}
}
...
...
@@ -130,7 +131,6 @@ function SelectAPI(eventObj, commingMsg){
Reply
(
eventObj
,
SelectTeamInfoMessage
());
});
}
step
++
;
}
function
SelectLeague
(
inputNum
){
...
...
Please
register
or
login
to post a comment