Commit 45907941 authored by nanahira's avatar nanahira

change server sequence

parent 67978fdb
......@@ -50,22 +50,22 @@ public class SelectServer : WindowServantSP
string server = serversList.value;
switch (server)
{
case "[OCG]Mercury233":
case "[OCG]Koishi":
{
UIHelper.getByName<UIInput>(gameObject, "ip_").value = "s1.ygo233.com";
UIHelper.getByName<UIInput>(gameObject, "port_").value = "233";
Config.Set("serversPicker", "[OCG]Mercury233");
UIHelper.getByName<UIInput>(gameObject, "ip_").value = "koishi.moecube.com";
UIHelper.getByName<UIInput>(gameObject, "port_").value = "7210";
Config.Set("serversPicker", "[OCG]Koishi");
list.enabled = false;
inputIP_.enabled = false;
inputPort_.enabled = false;
break;
}
case "[OCG]Koishi":
case "[OCG]Mercury233":
{
UIHelper.getByName<UIInput>(gameObject, "ip_").value = "koishi.moecube.com";
UIHelper.getByName<UIInput>(gameObject, "port_").value = "7210";
Config.Set("serversPicker", "[OCG]Koishi");
UIHelper.getByName<UIInput>(gameObject, "ip_").value = "s1.ygo233.com";
UIHelper.getByName<UIInput>(gameObject, "port_").value = "233";
Config.Set("serversPicker", "[OCG]Mercury233");
list.enabled = false;
inputIP_.enabled = false;
......@@ -83,11 +83,11 @@ public class SelectServer : WindowServantSP
inputPort_.enabled = false;
break;
}
case "[222DIY]Koishi":
case "[Custom]YGOPro 222DIY":
{
UIHelper.getByName<UIInput>(gameObject, "ip_").value = "koishi.moecube.com";
UIHelper.getByName<UIInput>(gameObject, "port_").value = "222";
Config.Set("serversPicker", "[222DIY]Koishi");
Config.Set("serversPicker", "[Custom]YGOPro 222DIY");
list.enabled = false;
inputIP_.enabled = false;
......
......@@ -2637,10 +2637,10 @@ MonoBehaviour:
position: 0
alignment: 1
items:
- '[OCG]Mercury233'
- '[OCG]Koishi'
- '[OCG]Mercury233'
- '[TCG]Koishi'
- '[222DIY]Koishi'
- '[Custom]YGOPro 222DIY'
- "[\u8F6E\u62BD\u670D]2Pick"
- "[OCG&TCG]\uD55C\uAD6D\uC11C\uBC84"
- '[Custom]'
......@@ -2661,7 +2661,7 @@ MonoBehaviour:
mMethodName: function
mParameters: []
oneShot: 0
mSelectedItem: '[OCG]Mercury233'
mSelectedItem: '[OCG]Koishi'
mPanel: {fileID: 0}
mBackground: {fileID: 0}
mHighlight: {fileID: 0}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment