13 lines
330 B
C#
13 lines
330 B
C#
namespace Game
|
|
{
|
|
public static class NetworkConst
|
|
{
|
|
public const string loginUrl = "http://192.168.1.129:8787/api/user/login";
|
|
|
|
private const string serverIP = "192.168.1.129";
|
|
|
|
private const int serverPort = 7272;
|
|
|
|
public static string socketUrl => $"ws://{serverIP}:{serverPort}";
|
|
}
|
|
} |