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
98bfbfb2
Commit
98bfbfb2
authored
Apr 10, 2019
by
Unicorn369
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update
parent
20e675cc
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
80 additions
and
78 deletions
+80
-78
Assets/SibylSystem/selectServer/SelectServer.cs
Assets/SibylSystem/selectServer/SelectServer.cs
+11
-2
Assets/transUI/prefab/selectServerWithRoomlist.prefab
Assets/transUI/prefab/selectServerWithRoomlist.prefab
+69
-76
No files found.
Assets/SibylSystem/selectServer/SelectServer.cs
View file @
98bfbfb2
...
...
@@ -24,8 +24,8 @@ public class SelectServer : WindowServantSP
UIHelper
.
registEvent
(
gameObject
,
"face_"
,
onClickFace
);
UIHelper
.
registEvent
(
gameObject
,
"join_"
,
onClickJoin
);
serversList
=
UIHelper
.
getByName
<
UIPopupList
>(
gameObject
,
"server"
);
serversList
.
fontSize
=
2
0
;
serversList
.
value
=
Config
.
Get
(
"serversPicker"
,
"[
OCG]Koishi
"
);
serversList
.
fontSize
=
3
0
;
serversList
.
value
=
Config
.
Get
(
"serversPicker"
,
"[
Custom]
"
);
UIHelper
.
registEvent
(
gameObject
,
"server"
,
pickServer
);
UIHelper
.
getByName
<
UIInput
>(
gameObject
,
"name_"
).
value
=
Config
.
Get
(
"name"
,
"YGOPro2 User"
);
//UIHelper.getByName<UIInput>(gameObject, "name_").defaultText = "昵称不能为空";
...
...
@@ -42,6 +42,15 @@ public class SelectServer : WindowServantSP
//inputPsw.defaultText = "房间密码";
//inputVersion = UIHelper.getByName<UIInput>(gameObject, "version_");
set_version
(
"0x"
+
String
.
Format
(
"{0:X}"
,
Config
.
ClientVersion
));
//方便免修改 [selectServerWithRoomlist.prefab]
serversList
.
items
.
Add
(
"[OCG]Mercury233"
);
serversList
.
items
.
Add
(
"[OCG]Koishi"
);
serversList
.
items
.
Add
(
"[TCG]Koishi"
);
serversList
.
items
.
Add
(
"[222DIY]Koishi"
);
serversList
.
items
.
Add
(
"[轮抽服]2Pick"
);
serversList
.
items
.
Add
(
"[OCG&TCG]한국서버"
);
serversList
.
items
.
Add
(
"[Custom]"
);
SetActiveFalse
();
}
...
...
Assets/transUI/prefab/selectServerWithRoomlist.prefab
View file @
98bfbfb2
This diff is collapsed.
Click to expand it.
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