コード例 #1
0
 public override void OnGetGameInfo(ISFSObject gameInfo)
 {
     base.OnGetGameInfo(gameInfo);
     if (StartStatus == 30 || StartStatus == 3 || StartStatus == 20)
     {
         BrttzCardsCtrl.SendMingCardFirst(gameInfo);
     }
 }
コード例 #2
0
        public override void GameResponseStatus(int type, ISFSObject response)
        {
            base.GameResponseStatus(type, response);
            var gdata = App.GetGameData <BrttzGameData>();

            switch (type)
            {
            case RequestType.SendMingCards:
                YxDebug.Log("----------------发一张明牌:----" + type);
                ResetData();
                BrttzCardsCtrl.GetIsXiPai(response);
                gdata.SetGameStatus(YxEGameStatus.Play);
                BrttzCardsCtrl.BeginGiveMingCards(response);
                break;
            }
        }