ServerEnum.cs 657 B

12345678910111213141516171819
  1. using UnityEngine;
  2. using System.Collections;
  3. public class ServerEnum
  4. {
  5. /// <summary>服务器ID</summary>
  6. public static string ServerIp = "42.159.205.131";//192.168.0.28 192.168.31.224
  7. /// <summary>服务器端口</summary>
  8. public static int ServerPort = 1234;//8001 8080
  9. /// <summary>心跳事件</summary>
  10. public static int ServerHeartBeatTime = 1000;
  11. /// <summary>Http服务器地址</summary>
  12. public static string ServerHttpURL = "";
  13. /// <summary>是否连接服务器</summary>
  14. public static bool IsConnectServer = true;
  15. /// <summary>消息发送频率</summary>
  16. public const int MAX_FRAMES_VALUE = 15;//
  17. }