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
3877ac41
Commit
3877ac41
authored
Apr 11, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add more servers
parent
8ca5cdb0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
25 deletions
+19
-25
Assets/SibylSystem/selectServer/SelectServer.cs
Assets/SibylSystem/selectServer/SelectServer.cs
+19
-25
No files found.
Assets/SibylSystem/selectServer/SelectServer.cs
View file @
3877ac41
...
...
@@ -54,10 +54,12 @@ public class SelectServer : WindowServantSP
inputPsw
.
defaultText
=
"Room password"
;
}
//方便免修改 [selectServerWithRoomlist.prefab]
serversList
.
items
.
Add
(
"[OCG]Mercury233"
);
serversList
.
items
.
Add
(
"[OCG]Koishi"
);
serversList
.
items
.
Add
(
"[OCG]Mercury233"
);
serversList
.
items
.
Add
(
"[TCG]Koishi"
);
serversList
.
items
.
Add
(
"[轮抽服]2Pick"
);
serversList
.
items
.
Add
(
"[DIY]YGOPro 222DIY"
);
serversList
.
items
.
Add
(
"[AI]Doom Bots of Doom"
);
serversList
.
items
.
Add
(
"[OCG&TCG]한국서버"
);
serversList
.
items
.
Add
(
"[OCG&TCG]YGOhollow (JP)"
);
if
(
Application
.
systemLanguage
==
SystemLanguage
.
Chinese
||
Application
.
systemLanguage
==
SystemLanguage
.
ChineseSimplified
||
Application
.
systemLanguage
==
SystemLanguage
.
ChineseTraditional
)
...
...
@@ -103,13 +105,23 @@ public class SelectServer : WindowServantSP
UIHelper
.
getByName
<
UIInput
>(
gameObject
,
"port_"
).
value
=
"1311"
;
Config
.
Set
(
"serversPicker"
,
"[TCG]Koishi"
);
<<<<<<<
HEAD
//list.enabled = false;
inputIP_
.
enabled
=
false
;
inputPort_
.
enabled
=
false
;
break
;
}
case
"[DIY]YGOPro 222DIY"
:
case
"[轮抽服]2Pick"
:
{
UIHelper
.
getByName
<
UIInput
>(
gameObject
,
"ip_"
).
value
=
"2pick.mycard.moe"
;
UIHelper
.
getByName
<
UIInput
>(
gameObject
,
"port_"
).
value
=
"765"
;
Config
.
Set
(
"serversPicker"
,
"[轮抽服]2Pick"
);
//list.enabled = false;
inputIP_
.
enabled
=
false
;
inputPort_
.
enabled
=
false
;
break
;
}
case
"[DIY]YGOPro 222DIY"
:
{
UIHelper
.
getByName
<
UIInput
>(
gameObject
,
"ip_"
).
value
=
"koishi.moecube.com"
;
UIHelper
.
getByName
<
UIInput
>(
gameObject
,
"port_"
).
value
=
"222"
;
...
...
@@ -120,18 +132,11 @@ public class SelectServer : WindowServantSP
inputPort_
.
enabled
=
false
;
break
;
}
=======
list
.
enabled
=
false
;
inputIP_
.
enabled
=
false
;
inputPort_
.
enabled
=
false
;
break
;
}
>>>>>>>
0123822f
a2b5d3cd43b9eae157e3b89e95b61c1b
case
"[轮抽服]2Pick"
:
case
"[AI]Doom Bots of Doom"
:
{
UIHelper
.
getByName
<
UIInput
>(
gameObject
,
"ip_"
).
value
=
"
2pick.mycard.moe
"
;
UIHelper
.
getByName
<
UIInput
>(
gameObject
,
"port_"
).
value
=
"
765
"
;
Config
.
Set
(
"serversPicker"
,
"[
轮抽服]2Pick
"
);
UIHelper
.
getByName
<
UIInput
>(
gameObject
,
"ip_"
).
value
=
"
koishi.moecube.com
"
;
UIHelper
.
getByName
<
UIInput
>(
gameObject
,
"port_"
).
value
=
"
573
"
;
Config
.
Set
(
"serversPicker"
,
"[
AI]Doom Bots of Doom
"
);
//list.enabled = false;
inputIP_
.
enabled
=
false
;
...
...
@@ -144,16 +149,6 @@ public class SelectServer : WindowServantSP
UIHelper
.
getByName
<
UIInput
>(
gameObject
,
"port_"
).
value
=
"17225"
;
Config
.
Set
(
"serversPicker"
,
"[OCG&TCG]한국서버"
);
<<<<<<<
HEAD
//list.enabled = false;
inputIP_
.
enabled
=
false
;
inputPort_
.
enabled
=
false
;
break
;
}
default
:
{
Config
.
Set
(
"serversPicker"
,
"[Custom]"
);
=======
list
.
enabled
=
false
;
inputIP_
.
enabled
=
false
;
inputPort_
.
enabled
=
false
;
...
...
@@ -178,7 +173,6 @@ public class SelectServer : WindowServantSP
}
else
{
Config
.
Set
(
"serversPicker"
,
"[Custom]"
);
}
>>>>>>>
0123822f
a2b5d3cd43b9eae157e3b89e95b61c1b
list
.
enabled
=
true
;
inputIP_
.
enabled
=
true
;
...
...
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