Esempio n. 1
0
        //申请创建新手战役
        public void AskCreateGuideBattle(int mapId, AskCSCreateGuideBattle.guidetype mGtype)
        {
            mMapId = mapId;

            UIGuideCtrl.Instance.GuideBattleType(mGtype);

            HolyGameLogic.Instance.AskCSToCreateGuideBattle(mapId, mGtype);
        }
Esempio n. 2
0
 /// <summary>
 /// 请求创建新手引导战役
 /// </summary>
 /// <param name="mapId"></param>
 public void AskCSToCreateGuideBattle(int mapId, AskCSCreateGuideBattle.guidetype mGtype)
 {
     GCToCS.AskCSCreateGuideBattle pMsg = new GCToCS.AskCSCreateGuideBattle()
     {
         mapid = mapId,
         ntype = mGtype
     };
     NetworkManager.Instance.SendMsg(pMsg, (int)pMsg.msgnum);
 }