HaoYueTunnel/ClientCore/AppLogic.cs

29 lines
680 B
C#
Raw Normal View History

2023-05-23 17:57:24 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClientCore
{
2023-05-25 13:24:51 +08:00
public class App
2023-05-23 17:57:24 +08:00
{
public static string TokenStr;
public static long RID = -1;
public static string IP;
public static int Port;
public static NetworkHelper networkHelper;
2023-05-24 18:31:11 +08:00
public static AppLogin login;
2023-05-25 13:24:51 +08:00
public static AppChat chat;
public static void Init(string IP, int port)
{
networkHelper = new NetworkHelper();
login = new AppLogin();
chat = new AppChat();
networkHelper.Init(IP, port);
}
2023-05-23 17:57:24 +08:00
}
2023-05-25 13:24:51 +08:00
}