コード例 #1
0
    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);
    }
コード例 #2
0
 public void TimeOutTask(TimeOutTaskRequestParameter parameter)
 {
     this.CommunicateWithServer(parameter.GetHashtableFromParameter(), ClientCommandConsts.TIME_OUT_TASK_COMMAND);
 }