Commit 45907941 authored by nanahira's avatar nanahira

change server sequence

parent 67978fdb
...@@ -50,22 +50,22 @@ public class SelectServer : WindowServantSP ...@@ -50,22 +50,22 @@ public class SelectServer : WindowServantSP
string server = serversList.value; string server = serversList.value;
switch (server) switch (server)
{ {
case "[OCG]Mercury233": case "[OCG]Koishi":
{ {
UIHelper.getByName<UIInput>(gameObject, "ip_").value = "s1.ygo233.com"; UIHelper.getByName<UIInput>(gameObject, "ip_").value = "koishi.moecube.com";
UIHelper.getByName<UIInput>(gameObject, "port_").value = "233"; UIHelper.getByName<UIInput>(gameObject, "port_").value = "7210";
Config.Set("serversPicker", "[OCG]Mercury233"); Config.Set("serversPicker", "[OCG]Koishi");
list.enabled = false; list.enabled = false;
inputIP_.enabled = false; inputIP_.enabled = false;
inputPort_.enabled = false; inputPort_.enabled = false;
break; break;
} }
case "[OCG]Koishi": case "[OCG]Mercury233":
{ {
UIHelper.getByName<UIInput>(gameObject, "ip_").value = "koishi.moecube.com"; UIHelper.getByName<UIInput>(gameObject, "ip_").value = "s1.ygo233.com";
UIHelper.getByName<UIInput>(gameObject, "port_").value = "7210"; UIHelper.getByName<UIInput>(gameObject, "port_").value = "233";
Config.Set("serversPicker", "[OCG]Koishi"); Config.Set("serversPicker", "[OCG]Mercury233");
list.enabled = false; list.enabled = false;
inputIP_.enabled = false; inputIP_.enabled = false;
...@@ -83,11 +83,11 @@ public class SelectServer : WindowServantSP ...@@ -83,11 +83,11 @@ public class SelectServer : WindowServantSP
inputPort_.enabled = false; inputPort_.enabled = false;
break; break;
} }
case "[222DIY]Koishi": case "[Custom]YGOPro 222DIY":
{ {
UIHelper.getByName<UIInput>(gameObject, "ip_").value = "koishi.moecube.com"; UIHelper.getByName<UIInput>(gameObject, "ip_").value = "koishi.moecube.com";
UIHelper.getByName<UIInput>(gameObject, "port_").value = "222"; UIHelper.getByName<UIInput>(gameObject, "port_").value = "222";
Config.Set("serversPicker", "[222DIY]Koishi"); Config.Set("serversPicker", "[Custom]YGOPro 222DIY");
list.enabled = false; list.enabled = false;
inputIP_.enabled = false; inputIP_.enabled = false;
......
...@@ -2637,10 +2637,10 @@ MonoBehaviour: ...@@ -2637,10 +2637,10 @@ MonoBehaviour:
position: 0 position: 0
alignment: 1 alignment: 1
items: items:
- '[OCG]Mercury233'
- '[OCG]Koishi' - '[OCG]Koishi'
- '[OCG]Mercury233'
- '[TCG]Koishi' - '[TCG]Koishi'
- '[222DIY]Koishi' - '[Custom]YGOPro 222DIY'
- "[\u8F6E\u62BD\u670D]2Pick" - "[\u8F6E\u62BD\u670D]2Pick"
- "[OCG&TCG]\uD55C\uAD6D\uC11C\uBC84" - "[OCG&TCG]\uD55C\uAD6D\uC11C\uBC84"
- '[Custom]' - '[Custom]'
...@@ -2661,7 +2661,7 @@ MonoBehaviour: ...@@ -2661,7 +2661,7 @@ MonoBehaviour:
mMethodName: function mMethodName: function
mParameters: [] mParameters: []
oneShot: 0 oneShot: 0
mSelectedItem: '[OCG]Mercury233' mSelectedItem: '[OCG]Koishi'
mPanel: {fileID: 0} mPanel: {fileID: 0}
mBackground: {fileID: 0} mBackground: {fileID: 0}
mHighlight: {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