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
d10783a5
Commit
d10783a5
authored
Sep 20, 2024
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改萌卡接口地址
移除停用的接口
parent
26995f60
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
47 deletions
+22
-47
mobile/assets/en/serverlist.xml
mobile/assets/en/serverlist.xml
+1
-1
mobile/assets/es/serverlist.xml
mobile/assets/es/serverlist.xml
+1
-1
mobile/assets/kor/serverlist.xml
mobile/assets/kor/serverlist.xml
+9
-1
mobile/assets/serverlist.xml
mobile/assets/serverlist.xml
+1
-1
mobile/src/main/java/cn/garymb/ygomobile/ui/mycard/MyCard.java
...e/src/main/java/cn/garymb/ygomobile/ui/mycard/MyCard.java
+10
-43
No files found.
mobile/assets/en/serverlist.xml
View file @
d10783a5
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
<player-name>
Knight of Hanoi
</player-name>
<player-name>
Knight of Hanoi
</player-name>
<name>
2Pick
</name>
<name>
2Pick
</name>
<desc>
build new deck to duel
</desc>
<desc>
build new deck to duel
</desc>
<ip>
2pick.m
ycard.moe
</ip>
<ip>
2pick.m
oecube.com
</ip>
<port>
765
</port>
<port>
765
</port>
<keep>
true
</keep>
<keep>
true
</keep>
</server>
</server>
...
...
mobile/assets/es/serverlist.xml
View file @
d10783a5
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
<player-name>
Knight of Hanoi
</player-name>
<player-name>
Knight of Hanoi
</player-name>
<name>
2Pick
</name>
<name>
2Pick
</name>
<desc>
build new deck to duel
</desc>
<desc>
build new deck to duel
</desc>
<ip>
2pick.m
ycard.moe
</ip>
<ip>
2pick.m
oecube.com
</ip>
<port>
765
</port>
<port>
765
</port>
<keep>
true
</keep>
<keep>
true
</keep>
</server>
</server>
...
...
mobile/assets/kor/serverlist.xml
View file @
d10783a5
...
@@ -10,6 +10,14 @@
...
@@ -10,6 +10,14 @@
<port>
888
</port>
<port>
888
</port>
<keep>
true
</keep>
<keep>
true
</keep>
</server>
</server>
<server>
<player-name>
신선한 고기
</player-name>
<name>
Mycard_Superpre☆needs download expansions
</name>
<desc>
mycard‘s server within expansions cards
</desc>
<ip>
mygo2.superpre.pro
</ip>
<port>
888
</port>
<keep>
true
</keep>
</server>
<server>
<server>
<player-name>
신선한 고기
</player-name>
<player-name>
신선한 고기
</player-name>
<name>
YGOPRO 중국 서버 1
</name>
<name>
YGOPRO 중국 서버 1
</name>
...
@@ -30,7 +38,7 @@
...
@@ -30,7 +38,7 @@
<player-name>
신선한 고기
</player-name>
<player-name>
신선한 고기
</player-name>
<name>
2 Pick MyCard 모에
</name>
<name>
2 Pick MyCard 모에
</name>
<desc>
build new deck to duel
</desc>
<desc>
build new deck to duel
</desc>
<ip>
2pick.m
ycard.moe
</ip>
<ip>
2pick.m
oecube.com
</ip>
<port>
765
</port>
<port>
765
</port>
<keep>
true
</keep>
<keep>
true
</keep>
</server>
</server>
...
...
mobile/assets/serverlist.xml
View file @
d10783a5
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
<player-name>
Knight of Hanoi
</player-name>
<player-name>
Knight of Hanoi
</player-name>
<name>
2Pick轮抽
</name>
<name>
2Pick轮抽
</name>
<desc>
临场随机组卡再进行决斗
</desc>
<desc>
临场随机组卡再进行决斗
</desc>
<ip>
2pick.m
ycard.moe
</ip>
<ip>
2pick.m
oecube.com
</ip>
<port>
765
</port>
<port>
765
</port>
<keep>
true
</keep>
<keep>
true
</keep>
</server>
</server>
...
...
mobile/src/main/java/cn/garymb/ygomobile/ui/mycard/MyCard.java
View file @
d10783a5
...
@@ -46,61 +46,28 @@ import okhttp3.Response;
...
@@ -46,61 +46,28 @@ import okhttp3.Response;
public
class
MyCard
{
public
class
MyCard
{
private
static
final
String
mHomeUrl
=
"https://mycard.moe/mobile/"
;
private
static
final
String
mHomeUrl
=
"https://mycard.world/mobile/"
;
private
static
final
String
mArenaUrl
=
"https://mycard.moe/ygopro/arena/"
;
private
static
final
String
mArenaUrl
=
"https://mycard.world/ygopro/arena/"
;
public
static
final
String
mCommunityIndexUrl
=
"https://ygobbs.com/"
;
public
static
final
String
mCommunityReportUrl
=
"https://ygobbs2.com/t/bug%E5%8F%8D%E9%A6%88/"
;
public
static
final
String
mCommunityReportUrl
=
"https://ygobbs.com/t/bug%E5%8F%8D%E9%A6%88/"
;
private
static
final
String
mCommunityUrl
=
"https://ygobbs2.com/login"
;
private
static
final
String
mCommunityUrl
=
"https://ygobbs.com/login"
;
public
static
final
String
mCompetitionUrl
=
"https://event.ygobbs2.com/"
;
public
static
final
String
mCompetitionUrl
=
"https://event.ygobbs.com/"
;
private
static
final
String
HOST_MC
=
"mycard.world"
;
private
static
final
String
return_sso_url
=
"https://mycard.moe/mobile/?"
;
public
static
final
String
MC_MAIN_URL
=
"https://mycard.world/mobile/ygopro/lobby"
;
private
static
final
String
HOST_MC
=
"mycard.moe"
;
public
static
final
String
MC_MAIN_URL
=
"https://mycard.moe/mobile/ygopro/lobby"
;
public
static
final
String
MYCARD_NEWS_URL
=
"https://sapi.moecube.com:444/apps.json"
;
public
static
final
String
MYCARD_POST_URL
=
"https://ygobbs2.com/t/"
;
public
static
final
String
MYCARD_NEWS_URL
=
"https://api.mycard.moe/apps.json"
;
public
static
final
String
MYCARD_POST_URL
=
"https://ygobbs.com/t/"
;
public
static
final
String
YGO_LFLIST_URL
=
"https://raw.githubusercontent.com/moecube/ygopro/server/lflist.conf"
;
public
static
final
String
ARG_TOPIC_LIST
=
"topic_list"
;
public
static
final
String
ARG_TOPICS
=
"topics"
;
public
static
final
String
ARG_ID
=
"id"
;
public
static
final
String
ARG_ID
=
"id"
;
public
static
final
String
ARG_TITLE
=
"title"
;
public
static
final
String
ARG_TITLE
=
"title"
;
public
static
final
String
ARG_IMAGE_URL
=
"image_url"
;
public
static
final
String
ARG_CREATE_TIME
=
"created_at"
;
public
static
final
String
ARG_OTHER
=
"other"
;
public
static
final
String
ARG_MC_NAME
=
"name"
;
public
static
final
String
ARG_MC_NAME
=
"name"
;
public
static
final
String
ARG_MC_PASSWORD
=
"password"
;
public
static
final
String
ARG_YGOPRO
=
"ygopro"
;
public
static
final
String
ARG_YGOPRO
=
"ygopro"
;
public
static
final
String
ARG_ZH_CN
=
"zh-CN"
;
public
static
final
String
ARG_ZH_CN
=
"zh-CN"
;
public
static
final
String
ARG_IMAGE
=
"image"
;
public
static
final
String
ARG_IMAGE
=
"image"
;
public
static
final
String
ARG_UPDATE_AT
=
"updated_at"
;
public
static
final
String
ARG_UPDATE_AT
=
"updated_at"
;
public
static
final
String
ARG_URL
=
"url"
;
public
static
final
String
ARG_URL
=
"url"
;
public
static
final
String
ARG_NEWS
=
"news"
;
public
static
final
String
ARG_NEWS
=
"news"
;
public
static
final
String
ARG_USERNAME
=
"username"
;
public
static
final
String
MYCARD_USER_DUEL_URL
=
"https://sapi.moecube.com:444/ygopro/arena/user"
;
public
static
final
String
ACTION_OPEN_MYCARD
=
"ygomobile.intent.action.MYCARD"
;
public
static
final
String
URL_MC_LOGIN
=
"https://accounts.moecube.com/"
;
public
static
final
String
URL_MC_LOGOUT
=
"https://accounts.moecube.com/signin"
;
public
static
final
String
URL_MC_LOGOUT
=
"https://accounts.moecube.com/signin"
;
public
static
final
String
ARG_SSO
=
"sso"
;
public
static
final
String
URL_MC_WATCH_DUEL_FUN
=
"wss://tiramisu.mycard.moe:7923/?filter=started"
;
public
static
final
String
URL_MC_WATCH_DUEL_MATCH
=
"wss://tiramisu.mycard.moe:8923/?filter=started"
;
public
static
final
String
URL_MC_MATCH
=
"https://api.mycard.moe/ygopro/match"
;
public
static
final
String
ARG_EVENT
=
"event"
;
public
static
final
String
ARG_DATA
=
"data"
;
public
static
final
String
HOST_MC_MATCH
=
"tiramisu.mycard.moe"
;
public
static
final
String
HOST_MC_OTHER
=
"tiramisu.mycard.moe"
;
public
static
final
int
PORT_MC_MATCH
=
8911
;
public
static
final
int
PORT_MC_OTHER
=
7911
;
public
static
final
String
ARG_LOCALE
=
"locale"
;
public
static
final
String
ARG_ARENA
=
"arena"
;
public
static
final
String
ARG_ATHLEIC
=
"athletic"
;
public
static
final
String
ARG_ENTERTAIN
=
"entertain"
;
public
static
final
String
ARG_ADDRESS
=
"address"
;
public
static
final
String
ARG_PORT
=
"port"
;
public
static
final
String
PACKAGE_NAME_EZ
=
"com.ourygo.ez"
;
private
static
final
Charset
UTF_8
=
StandardCharsets
.
UTF_8
;
private
final
DefWebViewClient
mDefWebViewClient
=
new
DefWebViewClient
()
{
private
final
DefWebViewClient
mDefWebViewClient
=
new
DefWebViewClient
()
{
@Override
@Override
public
boolean
shouldOverrideUrlLoading
(
WebView
view
,
String
url
)
{
public
boolean
shouldOverrideUrlLoading
(
WebView
view
,
String
url
)
{
...
...
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