12345678910111213141516171819 |
- using UnityEngine;
- using System.Collections;
- public class ServerEnum
- {
- /// <summary>服务器ID</summary>
- public static string ServerIp = "42.159.205.131";//192.168.0.28 192.168.31.224
- /// <summary>服务器端口</summary>
- public static int ServerPort = 1234;//8001 8080
- /// <summary>心跳事件</summary>
- public static int ServerHeartBeatTime = 1000;
- /// <summary>Http服务器地址</summary>
- public static string ServerHttpURL = "";
- /// <summary>是否连接服务器</summary>
- public static bool IsConnectServer = true;
- /// <summary>消息发送频率</summary>
- public const int MAX_FRAMES_VALUE = 15;//
- }
|