public void GetRecordDetailAsk(long id) { MsgRecordPlay11111 msg = new MsgRecordPlay11111(); msg.RecordID = id; Client.Instance.SendMessage(msg); }
void HistoryRecordAck(NetMsg msg) { Debug.Log("MsgRecordPlay11111返回"); MsgRecordPlay11111 data = (MsgRecordPlay11111)msg; Debug.Log(data.Result); if (data.Result == 0) { BattleControler.Instance.battleModal.battleView.gameHistoryPanel.gameObject.SetActive(true); GameHistory.Instance.GetRecordDetailAck(data); } }
public void GetRecordDetailAck(MsgRecordPlay11111 msg) { //Debug.Log(msg.RecordDetail); // DontDesScript.Instance.DisableClick(false); // //消息返回执行 // if (game_type == Game_City.NanChang) // { // RecordPlay.isPlayVideo = true; // DontDesScript.Instance.OnShow(); // if (DontDesScript.Instance.ROOT != null) // { // RecordPlay rd = DontDesScript.Instance.ROOT.AddMissingComponent<RecordPlay>(); // rd.baseInfo = (OuterItem)outer_info;//WndHistory.Instance.outInfos; // rd.recordList = fastJSON.JSON.ToObject<RoundPlayRecordsBean>(msg.RecordDetail); // rd.Index = round_local; // Debug.Log(rd.Index); // } // } // if (game_type == Game_City.RedCenter) // { // RecordPlay.isPlayVideo = true; // DontDesScript.Instance.OnShow(2); // if (DontDesScript.Instance.ROOT != null) // { // RecordPlay rd = DontDesScript.Instance.ROOT.AddMissingComponent<RecordPlay>(); // rd.HZbaseInfo = (HZMJOuterItem)outer_info; // rd.recordList = fastJSON.JSON.ToObject<RoundPlayRecordsBean>(msg.RecordDetail); // rd.Index = round_local; // Debug.Log(rd.Index); // } // } //if (game_type == Game_City.CowCow) { // RecordPlay.isPlayVideo = true; // DontDesScript.Instance.OnShow (3); // if (DontDesScript.Instance.ROOT != null) { // StartCoroutine (DelayInitNiuNiuRecordPlayBackInfo (msg)); // } //} //if (game_type == Game_City.Hhchz) //{ // PaohuziRecordPlay.isPlayVideo = true; // HhRoomLobbyView.Instance.Show(); // if (DontDesScript.Instance.ROOT != null) // { // PaohuziRecordPlay rd = DontDesScript.Instance.ROOT.AddMissingComponent<PaohuziRecordPlay>(); // rd.baseInfo = (PhzOuterItem)outer_info; // rd.recordList = fastJSON.JSON.ToObject<HhRoundPlayRecordsBean>(msg.RecordDetail); // rd.Index = round_local; // Debug.Log(rd.Index); // } //} // outer_info = null; // round_local = 0; //if (game_type != Game_City.CowCow) { // game_type = Game_City.None; // this.gameObject.SetActive (false); //} }