Exemplo n.º 1
0
        // 对话结束,上交任务
        public void HandInTask(int taskID)
        {
            Debug.Log("HandInTask() " + taskID + "      " + curNPCID);

            // if (TaskData.dataMap[taskID].conditionType == 1)
            curNPCID = TaskData.dataMap[taskID].npc;

            #region 进度记录

            GameProcManager.HandInTask(taskID);

            #endregion

            theOwner.RpcCall("NPCReq", (uint)curNPCID, (uint)taskID, (uint)1);
        }
Exemplo n.º 2
0
        // 对话结束,上交任务
        public void HandInTask(int taskID)
        {
            Mogo.Util.LoggerHelper.Debug("OnGoingToNextTask " + taskID + "      " + curNPCID);

            // if (TaskData.dataMap[taskID].conditionType == 1)
            curNPCID = TaskData.dataMap[taskID].npc;

            #region 进度记录

            GameProcManager.HandInTask(taskID);

            #endregion

            theOwner.RpcCall("NPCReq", (uint)curNPCID, (uint)taskID, (uint)1);
        }