using UnityEngine; using System.Collections; using System.Collections.Generic; public class ServicePlayer { public const int RELIVE_INTERVAL = 15*1000; public int userId; public string nickName = ""; public int teamId; public int aiTakerId = -1; public int craftId = -1; public int kill = 0; public int assists = 0; public int death = 0; public int joinTime = 0; public ServicePlayer(int userId, string nick) { this.userId = userId; this.nickName = nick; } public bool IsAI() { return userId < 0; } }