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
d324273c
Commit
d324273c
authored
May 22, 2018
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
鸣谢
parent
f5f78297
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
12 additions
and
12 deletions
+12
-12
mobile/assets/data/windbot/Dialogs/cirno.zh-CN.json
mobile/assets/data/windbot/Dialogs/cirno.zh-CN.json
+1
-1
mobile/assets/data/windbot/Dialogs/copy.zh-CN.json
mobile/assets/data/windbot/Dialogs/copy.zh-CN.json
+1
-1
mobile/assets/data/windbot/Dialogs/default.json
mobile/assets/data/windbot/Dialogs/default.json
+1
-1
mobile/assets/data/windbot/Dialogs/mokey.zh-CN.json
mobile/assets/data/windbot/Dialogs/mokey.zh-CN.json
+1
-1
mobile/assets/data/windbot/Dialogs/near.zh-CN.json
mobile/assets/data/windbot/Dialogs/near.zh-CN.json
+1
-1
mobile/assets/data/windbot/Dialogs/soul.zh-CN.json
mobile/assets/data/windbot/Dialogs/soul.zh-CN.json
+1
-1
mobile/assets/data/windbot/Dialogs/swordsman.zh-CN.json
mobile/assets/data/windbot/Dialogs/swordsman.zh-CN.json
+1
-1
mobile/assets/data/windbot/Dialogs/zh-CN.json
mobile/assets/data/windbot/Dialogs/zh-CN.json
+1
-1
mobile/build.gradle
mobile/build.gradle
+1
-1
mobile/src/main/java/cn/garymb/ygomobile/ui/home/ResCheckTask.java
...c/main/java/cn/garymb/ygomobile/ui/home/ResCheckTask.java
+3
-3
No files found.
mobile/assets/data/windbot/Dialogs/cirno.zh-CN.json
View file @
d324273c
{
{
"welcome"
:
[
"welcome"
:
[
"本小姐是最强的!"
,
"本小姐是最强的!"
,
"
AI功能正在测试中,遇到问题请及时反馈。
"
,
"
尸体大佬让本小姐来手机陪你,还不快谢主隆恩!
"
,
"饼蛙是什么,好吃吗?"
"饼蛙是什么,好吃吗?"
],
],
"deckerror"
:
[
"deckerror"
:
[
...
...
mobile/assets/data/windbot/Dialogs/copy.zh-CN.json
View file @
d324273c
{
{
"welcome"
:
[
"welcome"
:
[
"你好,我是一个机器人。"
,
"你好,我是一个机器人。"
,
"
AI功能正在测试中,遇到问题请及时反馈。
"
"
尸体大佬让我来你的手机玩,要谢谢大佬们的努力
"
],
],
"deckerror"
:
[
"deckerror"
:
[
"我的超主流卡组需要{0}才能玩。"
"我的超主流卡组需要{0}才能玩。"
...
...
mobile/assets/data/windbot/Dialogs/default.json
View file @
d324273c
{
{
"welcome"
:
[
"welcome"
:
[
"Hi, I'm WindBot."
"Hi, I'm WindBot.
Mercury233 let me here and play with you
"
],
],
"deckerror"
:
[
"deckerror"
:
[
"Sorry, it seems that I have too much {0} in my deck."
"Sorry, it seems that I have too much {0} in my deck."
...
...
mobile/assets/data/windbot/Dialogs/mokey.zh-CN.json
View file @
d324273c
{
{
"welcome"
:
[
"welcome"
:
[
"你好,我是一个机器人。"
,
"你好,我是一个机器人。"
,
"
AI功能正在测试中,遇到问题请及时
反馈。"
,
"
尸体大佬让我来你的手机当专属沙包,有问题请
反馈。"
,
"总有人叫我沙包……"
"总有人叫我沙包……"
],
],
"deckerror"
:
[
"deckerror"
:
[
...
...
mobile/assets/data/windbot/Dialogs/near.zh-CN.json
View file @
d324273c
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
"welcome"
:
[
"welcome"
:
[
"你好,我是一个机器人,我的名字叫尼亚,但我并不是本体,只是一个分身哦。"
,
"你好,我是一个机器人,我的名字叫尼亚,但我并不是本体,只是一个分身哦。"
,
"终有一天,我的力量将会强过本体的!你们走着瞧吧!"
,
"终有一天,我的力量将会强过本体的!你们走着瞧吧!"
,
"
AI功能正在测试中,遇到问题请及时反馈。
"
"
尸体让我来你手机报社你,来社保我啊!
"
],
],
"deckerror"
:
[
"deckerror"
:
[
"什么,居然不让我使用我无敌的{0}!"
"什么,居然不让我使用我无敌的{0}!"
...
...
mobile/assets/data/windbot/Dialogs/soul.zh-CN.json
View file @
d324273c
{
{
"welcome"
:
[
"welcome"
:
[
"你好,我是一个机器人。"
,
"你好,我是一个机器人。"
,
"
AI功能正在测试中,遇到问题请及时反馈。
"
"
听说你们嫌AI难,但你一定不会嫌我难的
"
],
],
"deckerror"
:
[
"deckerror"
:
[
"抱歉,我的卡组里的{0}的数量似乎出了问题。"
"抱歉,我的卡组里的{0}的数量似乎出了问题。"
...
...
mobile/assets/data/windbot/Dialogs/swordsman.zh-CN.json
View file @
d324273c
{
{
"welcome"
:
[
"welcome"
:
[
"你好,我是一个机器人。"
,
"你好,我是一个机器人。"
,
"
AI功能正在测试中,遇到问题请及时反馈。
"
"
尸体大佬让我来你的手机陪你决斗,有问题不要怪我……
"
],
],
"deckerror"
:
[
"deckerror"
:
[
"抱歉,我的卡组里的{0}的数量似乎出了问题。"
"抱歉,我的卡组里的{0}的数量似乎出了问题。"
...
...
mobile/assets/data/windbot/Dialogs/zh-CN.json
View file @
d324273c
{
{
"welcome"
:
[
"welcome"
:
[
"你好,我是一个机器人。"
,
"你好,我是一个机器人。"
,
"
AI功能正在测试中,遇到问题请及时反馈。
"
"
感谢尸体,废话多,暗星等大佬我才能来到你的手机
"
],
],
"deckerror"
:
[
"deckerror"
:
[
"抱歉,我的卡组里的{0}的数量似乎出了问题。"
"抱歉,我的卡组里的{0}的数量似乎出了问题。"
...
...
mobile/build.gradle
View file @
d324273c
...
@@ -8,7 +8,7 @@ android {
...
@@ -8,7 +8,7 @@ android {
applicationId
"cn.garymb.ygomobile"
applicationId
"cn.garymb.ygomobile"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
22
targetSdkVersion
22
versionCode
3201052
1
versionCode
3201052
2
versionName
"3.2.1"
versionName
"3.2.1"
flavorDimensions
"versionCode"
flavorDimensions
"versionCode"
vectorDrawables
.
useSupportLibrary
=
true
vectorDrawables
.
useSupportLibrary
=
true
...
...
mobile/src/main/java/cn/garymb/ygomobile/ui/home/ResCheckTask.java
View file @
d324273c
...
@@ -157,9 +157,9 @@ public class ResCheckTask extends AsyncTask<Void, Integer, Integer> {
...
@@ -157,9 +157,9 @@ public class ResCheckTask extends AsyncTask<Void, Integer, Integer> {
IOUtils
.
copyFilesFromAssets
(
mContext
,
getDatapath
(
Constants
.
CORE_PICS_ZIP
),
IOUtils
.
copyFilesFromAssets
(
mContext
,
getDatapath
(
Constants
.
CORE_PICS_ZIP
),
resPath
,
needsUpdate
);
resPath
,
needsUpdate
);
}
}
if
(
IOUtils
.
hasAssets
(
mContext
,
getDatapath
(
Constants
.
WINDBOT_PATH
))
)
{
if
(
needsUpdate
)
{
IOUtils
.
copyFilesFromAssets
(
mContext
,
getDatapath
(
Constants
.
WINDBOT_PATH
),
IOUtils
.
copyFilesFromAssets
(
mContext
,
getDatapath
(
Constants
.
WINDBOT_PATH
),
resPath
,
needsUpdate
);
new
File
(
resPath
,
Constants
.
WINDBOT_PATH
).
getAbsolutePath
()
,
needsUpdate
);
}
}
//初始化windbot
//初始化windbot
checkWindbot
();
checkWindbot
();
...
@@ -319,7 +319,7 @@ public class ResCheckTask extends AsyncTask<Void, Integer, Integer> {
...
@@ -319,7 +319,7 @@ public class ResCheckTask extends AsyncTask<Void, Integer, Integer> {
}
}
public
void
checkWindbot
(){
public
void
checkWindbot
(){
WindBot
.
initAndroid
(
"/storage/emulated/0/ygocore/deck"
,
"
data/data/cn.garymb.ygomobile/databases
/cards.cdb"
);
WindBot
.
initAndroid
(
"/storage/emulated/0/ygocore/deck"
,
"
/storage/emulated/0/ygocore
/cards.cdb"
);
ResCheckTask
.
MessageReceiver
mReceiver
=
new
ResCheckTask
.
MessageReceiver
();
ResCheckTask
.
MessageReceiver
mReceiver
=
new
ResCheckTask
.
MessageReceiver
();
IntentFilter
filter
=
new
IntentFilter
();
IntentFilter
filter
=
new
IntentFilter
();
filter
.
addAction
(
"RUN_WINDBOT"
);
filter
.
addAction
(
"RUN_WINDBOT"
);
...
...
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