Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro2
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
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
nanahira
ygopro2
Commits
47ecb621
Commit
47ecb621
authored
Apr 01, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
localize
parent
c0cfa20e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
13 deletions
+12
-13
Assets/SibylSystem/Program.cs
Assets/SibylSystem/Program.cs
+2
-2
Assets/SibylSystem/ResourceManagers/GameTextureManager.cs
Assets/SibylSystem/ResourceManagers/GameTextureManager.cs
+3
-4
Assets/YGOSharp/CardsManager.cs
Assets/YGOSharp/CardsManager.cs
+7
-7
No files found.
Assets/SibylSystem/Program.cs
View file @
47ecb621
...
...
@@ -275,7 +275,7 @@ public class Program : MonoBehaviour
public
static
float
verticleScale
=
5f
;
//YGOPro2 Path (https://github.com/Unicorn369/YGOPro2_Droid/tree/Test) //Multi-language support
public
static
string
ANDROID_GAME_PATH
=
"/storage/emulated/0/ygocore/"
;
//YGOMobile Path
public
static
string
ANDROID_GAME_PATH
=
"/storage/emulated/0/ygocore
-koishi
/"
;
//YGOMobile Path
#if UNITY_EDITOR || UNITY_STANDALONE_WIN //编译器、Windows
public
static
bool
ANDROID_API_M
=
true
;
...
...
@@ -483,7 +483,7 @@ public class Program : MonoBehaviour
{
try
{
WWW
w
=
new
WWW
(
"https://api.github.com/repos/
szefo09/updateYGOPro2
/contents/"
);
WWW
w
=
new
WWW
(
"https://api.github.com/repos/
purerosefallen/ygopro-database-raw
/contents/"
);
while
(!
w
.
isDone
)
{
if
(
Application
.
internetReachability
==
NetworkReachability
.
NotReachable
||
!
string
.
IsNullOrEmpty
(
w
.
error
))
...
...
Assets/SibylSystem/ResourceManagers/GameTextureManager.cs
View file @
47ecb621
...
...
@@ -817,15 +817,15 @@ public class GameTextureManager
if
(!
File
.
Exists
(
path
)
&&
pic
.
code
!=
0
&&
AutoPicDownload
)
{
//YGOMobile (177x254)
df
.
Download
(
"http://
api.ygo2019.xyz/ygopro/
pics/"
+
pic
.
code
.
ToString
()
+
".jpg"
,
"expansions/pics/"
+
pic
.
code
.
ToString
()
+
".jpg"
);
df
.
Download
(
"http://
koishi.222diy.gdn/small
pics/"
+
pic
.
code
.
ToString
()
+
".jpg"
,
"expansions/pics/"
+
pic
.
code
.
ToString
()
+
".jpg"
);
path
=
"expansions/pics/"
+
pic
.
code
.
ToString
()
+
".jpg"
;
}
if
(!
File
.
Exists
(
path
)
&&
pic
.
code
!=
0
&&
AutoPicDownload
)
/*
if (!File.Exists(path) && pic.code != 0 && AutoPicDownload)
{
//先行卡 (177x254)
df.Download("http://download.ygo2019.xyz/ygopro2-data/expansions/pics/" + pic.code.ToString() + ".jpg", "picture/cardIn8thEdition/" + pic.code.ToString() + ".jpg");
path = "picture/cardIn8thEdition/" + pic.code.ToString() + ".jpg";
}
}
*/
if
(!
File
.
Exists
(
path
))
{
if
(
pic
.
code
>
0
)
...
...
@@ -1035,4 +1035,3 @@ public class GameTextureManager
main
.
Start
();
}
}
Assets/YGOSharp/CardsManager.cs
View file @
47ecb621
...
...
@@ -22,14 +22,14 @@ namespace YGOSharp
nullString
+=
"欢迎使用:\r\nYGOPro2 For Android"
;
nullString
+=
"\r\n\r\n"
;
nullString
+=
"源码:"
;
nullString
+=
"\r\n「Android」\r\n[url=https://github.com/
Unicorn369/YGOPro2_Droid][u]https://github.com/Unicorn369/YGOPro2_Droid
[/u][/url]"
;
nullString
+=
"\r\n「Android」\r\n[url=https://github.com/
purerosefallen/ygopro2][u]https://github.com/purerosefallen/ygopro2
[/u][/url]"
;
//nullString += "\r\nWindows:[url=https://github.com/lllyasviel/YGOProUnity_V2][u]https://github.com/lllyasviel/YGOProUnity_V2[/u][/url]";
nullString
+=
"\r\n\r\n「Windows」\r\n[url=https://github.com/mercury233/ygopro2][u]https://github.com/mercury233/ygopro2[/u][/url]"
;
//
nullString += "\r\n\r\n「Windows」\r\n[url=https://github.com/mercury233/ygopro2][u]https://github.com/mercury233/ygopro2[/u][/url]";
nullString
+=
"\r\n\r\n\r\n"
;
nullString
+=
"欢迎加入QQ群:"
;
nullString
+=
"\r\n①:[url=https://jq.qq.com/?_wv=1027&k=5nq6xJe][u]649612818[/u][/url]"
;
nullString
+=
"\r\n③:[url=https://jq.qq.com/?_wv=1027&k=50MZVQA][u]831010207[/u][/url]"
;
nullString
+=
"\r\n②:[url=https://jq.qq.com/?_wv=1027&k=5idyod3][u]559276772[/u][/url]"
;
//
nullString += "欢迎加入QQ群:";
//
nullString += "\r\n①:[url=https://jq.qq.com/?_wv=1027&k=5nq6xJe][u]649612818[/u][/url]";
//
nullString += "\r\n③:[url=https://jq.qq.com/?_wv=1027&k=50MZVQA][u]831010207[/u][/url]";
//
nullString += "\r\n②:[url=https://jq.qq.com/?_wv=1027&k=5idyod3][u]559276772[/u][/url]";
using
(
SqliteConnection
connection
=
new
SqliteConnection
(
"Data Source="
+
databaseFullPath
))
{
connection
.
Open
();
...
...
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