Beispiel #1
0
    public void AskSSGuideStepComp(GCToSS.AskSSGuideStepComp.edotype mtype, int id)
    {
        GCToSS.AskSSGuideStepComp.taskinfo rfo = new GCToSS.AskSSGuideStepComp.taskinfo();
        rfo.stepid = id;
        rfo.dtype  = mtype;

        GCToSS.AskSSGuideStepComp pMsg = new GCToSS.AskSSGuideStepComp();
        pMsg.info.Add(rfo);
        NetworkManager.Instance.SendMsg(pMsg, (int)pMsg.msgid);
    }
Beispiel #2
0
        ////////////////////////////继承接口/////////////////////////
        //类对象初始化

        /// <summary>
        /// 向服务器发送要执行的任务Id
        /// </summary>
        public void AskSSGuideStepComp(GCToSS.AskSSGuideStepComp.edotype ebornsolder, int mTaskId)
        {
            HolyGameLogic.Instance.AskSSGuideStepComp(ebornsolder, mTaskId);
        }