Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile-Cn-Ko-En
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fallenstardust
YGOMobile-Cn-Ko-En
Commits
06dc74a6
Commit
06dc74a6
authored
May 09, 2024
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新对照表
parent
2234d1a9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
204 additions
and
5 deletions
+204
-5
mobile/src/main/java/cn/garymb/ygomobile/loader/DeckLoader.java
.../src/main/java/cn/garymb/ygomobile/loader/DeckLoader.java
+1
-1
mobile/src/main/java/cn/garymb/ygomobile/utils/ComparisonTableUtil.java
...n/java/cn/garymb/ygomobile/utils/ComparisonTableUtil.java
+201
-2
mobile/src/main/java/cn/garymb/ygomobile/utils/ServerUtil.java
...e/src/main/java/cn/garymb/ygomobile/utils/ServerUtil.java
+2
-2
No files found.
mobile/src/main/java/cn/garymb/ygomobile/loader/DeckLoader.java
View file @
06dc74a6
...
@@ -177,7 +177,7 @@ public class DeckLoader {
...
@@ -177,7 +177,7 @@ public class DeckLoader {
}
}
deckInfo
.
addSideCards
(
tmp
.
get
(
id
));
deckInfo
.
addSideCards
(
tmp
.
get
(
id
));
}
}
Log
.
w
(
"deck.source"
,
deckInfo
.
toLongString
());
//
Log.w("deck.source", deckInfo.toLongString());
return
deckInfo
;
return
deckInfo
;
}
}
}
}
mobile/src/main/java/cn/garymb/ygomobile/utils/ComparisonTableUtil.java
View file @
06dc74a6
...
@@ -28,7 +28,106 @@ public interface ComparisonTableUtil {
...
@@ -28,7 +28,106 @@ public interface ComparisonTableUtil {
101203093
,
101203093
,
101203094
,
101203094
,
101203095
,
101203095
,
101203096
101203096
,
100230201
,
100200253
,
101204081
,
101204082
,
101204083
,
101204084
,
101204085
,
101204086
,
101204087
,
101204088
,
101204089
,
101204090
,
101204091
,
101204092
,
101204093
,
101204094
,
101204095
,
101204096
,
101205000
,
101205001
,
101205002
,
101205003
,
101205004
,
101205005
,
101205006
,
101205007
,
101205008
,
101205009
,
101205010
,
101205011
,
101205012
,
101205013
,
101205014
,
101205015
,
101205016
,
101205017
,
101205018
,
101205019
,
101205020
,
101205021
,
101205022
,
101205023
,
101205024
,
101205025
,
101202026
,
101205027
,
101205028
,
101205029
,
101205030
,
101205031
,
101205032
,
101205033
,
101205034
,
101205035
,
101205036
,
101205037
,
101205038
,
101205039
,
101205040
,
101205041
,
101205042
,
101205043
,
101205044
,
101205045
,
101205046
,
101205047
,
101205048
,
101205049
,
101205050
,
101205051
,
101205052
,
101205053
,
101205054
,
101205055
,
101205056
,
101205057
,
101205058
,
101205059
,
101205060
,
101205061
,
101205062
,
101205063
,
101205064
,
101205065
,
101205066
,
101205067
,
101205068
,
101205069
,
101205070
,
101205071
,
101205072
,
101205073
,
101205074
,
101205075
,
101205076
,
101205077
,
101205079
,
101205078
,
101205080
};
};
int
[]
newIDsArray
=
{
int
[]
newIDsArray
=
{
...
@@ -55,6 +154,106 @@ public interface ComparisonTableUtil {
...
@@ -55,6 +154,106 @@ public interface ComparisonTableUtil {
67660909
,
67660909
,
3055018
,
3055018
,
30453613
,
30453613
,
66848311
};
66848311
,
46533533
,
19316241
,
48228390
,
74213995
,
1607603
,
37006702
,
73490417
,
885016
,
36974120
,
63378869
,
9763474
,
35035985
,
62156277
,
8540986
,
35151572
,
61434639
,
98828338
,
34813443
,
96823189
,
38775407
,
74169516
,
1164211
,
37552929
,
63947968
,
342673
,
36436372
,
63825486
,
99229085
,
35614780
,
62002838
,
98007437
,
25592142
,
61980241
,
98385955
,
24779554
,
60764609
,
97262307
,
23657016
,
50042011
,
96030710
,
22435424
,
59829423
,
85314178
,
22712877
,
58707981
,
84192580
,
11590299
,
57985393
,
84079032
,
10474647
,
56863746
,
83257450
,
19652159
,
46640168
,
82135803
,
14529511
,
41924516
,
77313225
,
14307929
,
40702028
,
76290637
,
3685372
,
49689480
,
76078185
,
2463794
,
49867899
,
75352507
,
1340142
,
38745241
,
74139959
,
1528054
,
37613663
,
63017368
,
402416
,
36890111
,
63295720
,
99289828
,
35778533
,
62173132
,
98567237
,
35552985
,
61950680
,
97345699
,
24839398
,
60238002
,
97223101
,
23617756
,
59016454
,
36400569
,
62995268
,
99989863
,
25388971
,
61773610
,
98167225
,
24166324
,
51650038
,
97045737
,
24440742
,
50838440
};
}
}
mobile/src/main/java/cn/garymb/ygomobile/utils/ServerUtil.java
View file @
06dc74a6
...
@@ -8,6 +8,7 @@ import static cn.garymb.ygomobile.utils.WebParseUtil.isValidIP;
...
@@ -8,6 +8,7 @@ import static cn.garymb.ygomobile.utils.WebParseUtil.isValidIP;
import
android.content.Context
;
import
android.content.Context
;
import
android.text.TextUtils
;
import
android.text.TextUtils
;
import
android.util.Log
;
import
com.file.zip.ZipEntry
;
import
com.file.zip.ZipEntry
;
import
com.file.zip.ZipFile
;
import
com.file.zip.ZipFile
;
...
@@ -158,9 +159,8 @@ public class ServerUtil {
...
@@ -158,9 +159,8 @@ public class ServerUtil {
if
(
serverName
!=
null
&&
(
isHost
(
serverHost
)
||
isValidIP
(
serverHost
))
&&
isNumeric
(
serverPort
))
{
if
(
serverName
!=
null
&&
(
isHost
(
serverHost
)
||
isValidIP
(
serverHost
))
&&
isNumeric
(
serverPort
))
{
AddServer
(
context
,
serverName
,
serverHost
,
Integer
.
valueOf
(
serverPort
),
"Knight of Hanoi"
);
AddServer
(
context
,
serverName
,
serverHost
,
Integer
.
valueOf
(
serverPort
),
"Knight of Hanoi"
);
}
else
{
}
else
{
YGOUtil
.
showTextToast
(
"can't parse ex-server properly"
);
Log
.
w
(
TAG
,
"can't parse ex-server properly"
);
}
}
LogUtil
.
w
(
"seesee"
,
serverName
+
isHost
(
serverHost
)
+
serverHost
+
isNumeric
(
serverPort
)
+
serverPort
);
zipFile
.
close
();
zipFile
.
close
();
}
catch
(
IOException
e
)
{
}
catch
(
IOException
e
)
{
...
...
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