Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
MDPro3
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
MyCard
MDPro3
Commits
fc53fb9b
Commit
fc53fb9b
authored
Feb 12, 2026
by
SherryChaos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add hosts2.conf
parent
b0362ea2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
2 deletions
+21
-2
Assets/Scripts/MDPro3/UI/UIComponents/OnlineUI/PageLegacy.cs
Assets/Scripts/MDPro3/UI/UIComponents/OnlineUI/PageLegacy.cs
+2
-2
Assets/Scripts/MDPro3/Utility/Language.cs
Assets/Scripts/MDPro3/Utility/Language.cs
+8
-0
Data/hosts2.conf
Data/hosts2.conf
+11
-0
No files found.
Assets/Scripts/MDPro3/UI/UIComponents/OnlineUI/PageLegacy.cs
View file @
fc53fb9b
...
@@ -71,8 +71,8 @@ namespace MDPro3.UI
...
@@ -71,8 +71,8 @@ namespace MDPro3.UI
public
string
port
;
public
string
port
;
public
string
password
;
public
string
password
;
}
}
private
List
<
HostAddress
>
addresses
=
new
();
private
readonly
List
<
HostAddress
>
addresses
=
new
();
private
const
string
PATH_ADDRESS_SAVE
=
"Data/hosts
.conf"
;
private
readonly
string
PATH_ADDRESS_SAVE
=
Utility
.
Language
.
UseChinese
()
?
"Data/hosts.conf"
:
"Data/hosts2
.conf"
;
private
SuperScrollView
hostSuperScrollView
;
private
SuperScrollView
hostSuperScrollView
;
private
bool
addressedLoaded
=
false
;
private
bool
addressedLoaded
=
false
;
...
...
Assets/Scripts/MDPro3/Utility/Language.cs
View file @
fc53fb9b
...
@@ -65,6 +65,14 @@ namespace MDPro3.Utility
...
@@ -65,6 +65,14 @@ namespace MDPro3.Utility
return
string
.
Empty
;
return
string
.
Empty
;
}
}
public
static
bool
UseChinese
()
{
var
language
=
GetConfig
();
if
(
language
==
SimplifiedChinese
||
language
==
TraditionalChinese
)
return
true
;
return
false
;
}
public
static
bool
UseLatin
(
string
language
)
public
static
bool
UseLatin
(
string
language
)
{
{
if
(
language
==
English
if
(
language
==
English
...
...
Data/hosts2.conf
0 → 100644
View file @
fc53fb9b
Pre
-
Release_Server
mygo
.
superpre
.
pro
888
Pre
-
Release_Server_2
mygo2
.
superpre
.
pro
888
Koishi_OCG
koishi
.
momobako
.
com
7210
Mercury
s1
.
ygo233
.
com
233
Evolution
server
.
evolutionygo
.
com
7711
Evolution_TCG
server
.
evolutionygo
.
com
7711
TCG
Evolution_OCG
server
.
evolutionygo
.
com
7711
OCG
Evolution_Genesys
server
.
evolutionygo
.
com
7711
G
Evolution_MD
server
.
evolutionygo
.
com
7711
MD
Evolution_TCGPRE
server
.
evolutionygo
.
com
7711
TCGPRE
Evolution_OCGPRE
server
.
evolutionygo
.
com
7711
OCGPRE
\ No newline at end of file
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