Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile
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
Commits
e98a7e0c
Commit
e98a7e0c
authored
Sep 27, 2021
by
qq247321453
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into cc
parents
778a81cb
6cb5053f
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
164 additions
and
182 deletions
+164
-182
mobile/src/main/java/cn/garymb/ygomobile/Constants.java
mobile/src/main/java/cn/garymb/ygomobile/Constants.java
+44
-0
mobile/src/main/java/cn/garymb/ygomobile/GameUriManager.java
mobile/src/main/java/cn/garymb/ygomobile/GameUriManager.java
+1
-1
mobile/src/main/java/cn/garymb/ygomobile/bean/Deck.java
mobile/src/main/java/cn/garymb/ygomobile/bean/Deck.java
+119
-181
No files found.
mobile/src/main/java/cn/garymb/ygomobile/Constants.java
View file @
e98a7e0c
...
@@ -197,6 +197,7 @@ public interface Constants {
...
@@ -197,6 +197,7 @@ public interface Constants {
String
SCHEME_HTTPS
=
"https"
;
String
SCHEME_HTTPS
=
"https"
;
String
SCHEME_APP
=
"ygo"
;
String
SCHEME_APP
=
"ygo"
;
String
URI_HOST
=
"deck"
;
String
URI_HOST
=
"deck"
;
String
URI_DECK
=
"deck"
;
String
QUERY_YDK
=
"ydk"
;
String
QUERY_YDK
=
"ydk"
;
String
QUERY_NAME
=
"name"
;
String
QUERY_NAME
=
"name"
;
...
@@ -226,4 +227,47 @@ public interface Constants {
...
@@ -226,4 +227,47 @@ public interface Constants {
String
DEF_ENCODING
=
"utf-8"
;
String
DEF_ENCODING
=
"utf-8"
;
String
[]
NUM_40_LIST
={
"0"
,
"1"
,
"2"
,
"3"
,
"4"
,
"5"
,
"6"
,
"7"
,
"8"
,
"9"
,
"a"
,
"b"
,
"c"
,
"d"
,
"e"
,
"f"
,
"g"
,
"h"
,
"i"
,
"j"
,
"k"
,
"l"
,
"m"
,
"n"
,
"o"
,
"p"
,
"q"
,
"r"
,
"s"
,
"t"
,
"u"
,
"v"
,
"w"
,
"x"
,
"y"
,
"z"
,
"A"
,
"B"
,
"C"
,
"D"
};
}
}
mobile/src/main/java/cn/garymb/ygomobile/GameUriManager.java
View file @
e98a7e0c
...
@@ -239,7 +239,7 @@ public class GameUriManager {
...
@@ -239,7 +239,7 @@ public class GameUriManager {
// if (!Constants.URI_HOST.equalsIgnoreCase(host)) {
// if (!Constants.URI_HOST.equalsIgnoreCase(host)) {
// return;
// return;
// }
// }
if
(
Constants
.
URI_
HOST
.
equals
(
host
))
{
if
(
Constants
.
URI_
DECK
.
equals
(
host
))
{
String
name
=
uri
.
getQueryParameter
(
QUERY_NAME
);
String
name
=
uri
.
getQueryParameter
(
QUERY_NAME
);
if
(!
TextUtils
.
isEmpty
(
name
))
{
if
(!
TextUtils
.
isEmpty
(
name
))
{
doOpenPath
(
name
);
doOpenPath
(
name
);
...
...
mobile/src/main/java/cn/garymb/ygomobile/bean/Deck.java
View file @
e98a7e0c
This diff is collapsed.
Click to expand it.
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