Files
Rhyculator/Assets/Script/ServerConfig.cs
T
2026-10-24 11:55:22 +08:00

12 lines
452 B
C#

// 伺服器網址集中管理
// 本地測試:UseLocal = true,並對模擬器執行
// adb reverse tcp:2010 tcp:2010
// adb reverse tcp:2030 tcp:2030
public static class ServerConfig
{
public const bool UseLocal = true;
public const string GameServerUrl = UseLocal ? "http://127.0.0.1:2010" : "https://lunchpad.sthkm3.org";
public const string VerifyServerUrl = UseLocal ? "http://127.0.0.1:2030" : "https://verify.sthkm3.org";
}