powerfun-unity/Assets/Scripts/ConfigHelper.cs

26 lines
906 B
C#
Raw Normal View History

2021-03-25 17:18:51 +08:00
using Assets.Scripts.Apis;
using Assets.Scripts.Apis.Models;
using System;
2021-03-22 16:05:40 +08:00
using System.Collections.Generic;
using System.Linq;
using System.Net;
2021-03-22 16:05:40 +08:00
using System.Text;
using System.Threading.Tasks;
namespace Assets.Scripts
{
public class ConfigHelper
{
2021-03-25 16:53:39 +08:00
public static string Host = App.Host;
2021-03-22 16:05:40 +08:00
2021-03-25 16:53:39 +08:00
public static string AppVersion = App.AppVersion;
2021-04-06 15:30:36 +08:00
2021-03-25 17:18:51 +08:00
public static UserApi userApi = new UserApi();
public static MapApi mapApi = new MapApi();
public static MapInterruptRecordApi mapInterruptRecordApi = new MapInterruptRecordApi();
2021-04-06 15:30:36 +08:00
public static ThirdPartApi thirdPartApi = new ThirdPartApi();
2021-04-12 17:35:56 +08:00
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);
2021-03-22 16:05:40 +08:00
}
}