# Conflicts: # Assets/Scripts/Apis/UserApi.cs # Assets/Scripts/App.cs # Assets/Scripts/ConfigHelper.cs # Assets/Scripts/Scenes/LoginController.cs # Assets/Scripts/UI/Prefab/Panel/HomeController.cs
26 lines
906 B
C#
26 lines
906 B
C#
using Assets.Scripts.Apis;
|
|
using Assets.Scripts.Apis.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Net;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Assets.Scripts
|
|
{
|
|
public class ConfigHelper
|
|
{
|
|
public static string Host = App.Host;
|
|
|
|
public static string AppVersion = App.AppVersion;
|
|
|
|
public static UserApi userApi = new UserApi();
|
|
public static MapApi mapApi = new MapApi();
|
|
public static MapInterruptRecordApi mapInterruptRecordApi = new MapInterruptRecordApi();
|
|
public static ThirdPartApi thirdPartApi = new ThirdPartApi();
|
|
public static IPEndPoint UdpAddress { get; private set; } = new IPEndPoint(IPAddress.Parse("192.168.0.97"), 11000);
|
|
public static IPEndPoint TcpAddress { get; private set; } = new IPEndPoint(IPAddress.Parse("192.168.0.97"), 11001);
|
|
}
|
|
}
|