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
4436e983
Commit
4436e983
authored
Apr 12, 2019
by
Unicorn369
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
3b49de06
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
10 deletions
+16
-10
.gitignore
.gitignore
+1
-0
Assets/SibylSystem/selectServer/SelectServer.cs
Assets/SibylSystem/selectServer/SelectServer.cs
+14
-9
README.md
README.md
+1
-1
No files found.
.gitignore
View file @
4436e983
...
@@ -58,6 +58,7 @@ updates/
...
@@ -58,6 +58,7 @@ updates/
cards.cdb
cards.cdb
lflist.conf
lflist.conf
strings.conf
strings.conf
commamd.shell
AI_core_vs2017solution/core.VC.db
AI_core_vs2017solution/core.VC.db
AI_core_vs2017solution/core.VC.VC.opendb
AI_core_vs2017solution/core.VC.VC.opendb
AI_core_vs2017solution/System.Servicemodel.Faltexception.dll
AI_core_vs2017solution/System.Servicemodel.Faltexception.dll
...
...
Assets/SibylSystem/selectServer/SelectServer.cs
View file @
4436e983
...
@@ -17,6 +17,8 @@ public class SelectServer : WindowServantSP
...
@@ -17,6 +17,8 @@ public class SelectServer : WindowServantSP
UISprite
inputIP_
;
UISprite
inputIP_
;
UISprite
inputPort_
;
UISprite
inputPort_
;
static
bool
EditIpAndPort
;
public
override
void
initialize
()
public
override
void
initialize
()
{
{
createWindow
(
Program
.
I
().
new_ui_selectServer
);
createWindow
(
Program
.
I
().
new_ui_selectServer
);
...
@@ -81,7 +83,7 @@ public class SelectServer : WindowServantSP
...
@@ -81,7 +83,7 @@ public class SelectServer : WindowServantSP
UIHelper
.
getByName
<
UIInput
>(
gameObject
,
"port_"
).
value
=
"233"
;
UIHelper
.
getByName
<
UIInput
>(
gameObject
,
"port_"
).
value
=
"233"
;
Config
.
Set
(
"serversPicker"
,
"[OCG]Mercury233"
);
Config
.
Set
(
"serversPicker"
,
"[OCG]Mercury233"
);
list
.
enabled
=
false
;
EditIpAndPort
=
false
;
inputIP_
.
enabled
=
false
;
inputIP_
.
enabled
=
false
;
inputPort_
.
enabled
=
false
;
inputPort_
.
enabled
=
false
;
break
;
break
;
...
@@ -92,7 +94,7 @@ public class SelectServer : WindowServantSP
...
@@ -92,7 +94,7 @@ public class SelectServer : WindowServantSP
UIHelper
.
getByName
<
UIInput
>(
gameObject
,
"port_"
).
value
=
"7210"
;
UIHelper
.
getByName
<
UIInput
>(
gameObject
,
"port_"
).
value
=
"7210"
;
Config
.
Set
(
"serversPicker"
,
"[OCG]Koishi"
);
Config
.
Set
(
"serversPicker"
,
"[OCG]Koishi"
);
list
.
enabled
=
false
;
EditIpAndPort
=
false
;
inputIP_
.
enabled
=
false
;
inputIP_
.
enabled
=
false
;
inputPort_
.
enabled
=
false
;
inputPort_
.
enabled
=
false
;
break
;
break
;
...
@@ -103,7 +105,7 @@ public class SelectServer : WindowServantSP
...
@@ -103,7 +105,7 @@ public class SelectServer : WindowServantSP
UIHelper
.
getByName
<
UIInput
>(
gameObject
,
"port_"
).
value
=
"1311"
;
UIHelper
.
getByName
<
UIInput
>(
gameObject
,
"port_"
).
value
=
"1311"
;
Config
.
Set
(
"serversPicker"
,
"[TCG]Koishi"
);
Config
.
Set
(
"serversPicker"
,
"[TCG]Koishi"
);
list
.
enabled
=
false
;
EditIpAndPort
=
false
;
inputIP_
.
enabled
=
false
;
inputIP_
.
enabled
=
false
;
inputPort_
.
enabled
=
false
;
inputPort_
.
enabled
=
false
;
break
;
break
;
...
@@ -114,7 +116,7 @@ public class SelectServer : WindowServantSP
...
@@ -114,7 +116,7 @@ public class SelectServer : WindowServantSP
UIHelper
.
getByName
<
UIInput
>(
gameObject
,
"port_"
).
value
=
"765"
;
UIHelper
.
getByName
<
UIInput
>(
gameObject
,
"port_"
).
value
=
"765"
;
Config
.
Set
(
"serversPicker"
,
"[轮抽服]2Pick"
);
Config
.
Set
(
"serversPicker"
,
"[轮抽服]2Pick"
);
list
.
enabled
=
false
;
EditIpAndPort
=
false
;
inputIP_
.
enabled
=
false
;
inputIP_
.
enabled
=
false
;
inputPort_
.
enabled
=
false
;
inputPort_
.
enabled
=
false
;
break
;
break
;
...
@@ -125,7 +127,7 @@ public class SelectServer : WindowServantSP
...
@@ -125,7 +127,7 @@ public class SelectServer : WindowServantSP
UIHelper
.
getByName
<
UIInput
>(
gameObject
,
"port_"
).
value
=
"17225"
;
UIHelper
.
getByName
<
UIInput
>(
gameObject
,
"port_"
).
value
=
"17225"
;
Config
.
Set
(
"serversPicker"
,
"[OCG&TCG]한국서버"
);
Config
.
Set
(
"serversPicker"
,
"[OCG&TCG]한국서버"
);
list
.
enabled
=
false
;
EditIpAndPort
=
false
;
inputIP_
.
enabled
=
false
;
inputIP_
.
enabled
=
false
;
inputPort_
.
enabled
=
false
;
inputPort_
.
enabled
=
false
;
break
;
break
;
...
@@ -136,7 +138,7 @@ public class SelectServer : WindowServantSP
...
@@ -136,7 +138,7 @@ public class SelectServer : WindowServantSP
UIHelper
.
getByName
<
UIInput
>(
gameObject
,
"port_"
).
value
=
"7911"
;
UIHelper
.
getByName
<
UIInput
>(
gameObject
,
"port_"
).
value
=
"7911"
;
Config
.
Set
(
"serversPicker"
,
"[OCG&TCG]YGOhollow (JP)"
);
Config
.
Set
(
"serversPicker"
,
"[OCG&TCG]YGOhollow (JP)"
);
list
.
enabled
=
false
;
EditIpAndPort
=
false
;
inputIP_
.
enabled
=
false
;
inputIP_
.
enabled
=
false
;
inputPort_
.
enabled
=
false
;
inputPort_
.
enabled
=
false
;
break
;
break
;
...
@@ -150,7 +152,7 @@ public class SelectServer : WindowServantSP
...
@@ -150,7 +152,7 @@ public class SelectServer : WindowServantSP
Config
.
Set
(
"serversPicker"
,
"[Custom]"
);
Config
.
Set
(
"serversPicker"
,
"[Custom]"
);
}
}
list
.
enabled
=
true
;
EditIpAndPort
=
true
;
inputIP_
.
enabled
=
true
;
inputIP_
.
enabled
=
true
;
inputPort_
.
enabled
=
true
;
inputPort_
.
enabled
=
true
;
break
;
break
;
...
@@ -201,8 +203,11 @@ public class SelectServer : WindowServantSP
...
@@ -201,8 +203,11 @@ public class SelectServer : WindowServantSP
catch
(
Exception
)
catch
(
Exception
)
{
{
}
}
inputIP
.
value
=
ip
;
if
(
EditIpAndPort
)
inputPort
.
value
=
port
;
{
inputIP
.
value
=
ip
;
inputPort
.
value
=
port
;
}
inputPsw
.
value
=
psw
;
inputPsw
.
value
=
psw
;
//inputVersion.value = version;
//inputVersion.value = version;
}
}
...
...
README.md
View file @
4436e983
...
@@ -12,7 +12,7 @@ We use Yu-Gi-Oh card game only to test our engine, and the game is not for comme
...
@@ -12,7 +12,7 @@ We use Yu-Gi-Oh card game only to test our engine, and the game is not for comme
# How to compile the game?
# How to compile the game?
1.
Download Unity 5.6.7
f1 (https://unity3d.com/cn
/get-unity/download/archive).
1.
Download Unity 5.6.7
(https://unity3d.com
/get-unity/download/archive).
2.
Clone the repository.
2.
Clone the repository.
...
...
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