public void TimeOutTask(Task task, float remainingSeond) { task.OpenChildrenTask(); this.RemoveTask(task); TimeOutTaskRequestParameter request = new TimeOutTaskRequestParameter(); request.TaskID = task.TaskID; request.OperateTick = LogicTimer.Instance.GetServerTick(remainingSeond); CommunicationUtility.Instance.TimeOutTask(request); }
public void TimeOutTask(TimeOutTaskRequestParameter parameter) { this.CommunicateWithServer(parameter.GetHashtableFromParameter(), ClientCommandConsts.TIME_OUT_TASK_COMMAND); }