//记录每小局初始化信息 public static void DealFinishRecordGameInitInfo(this FiveStarRoom fiveStarRoom) { //只有房卡才记录 if (fiveStarRoom.RoomType != RoomType.RoomCard) { return; } Video_GameInit videoGameInit = new Video_GameInit(); videoGameInit.RoomConfigs = fiveStarRoom.RoomConfig.Configs; videoGameInit.RoomNumber = fiveStarRoom.RoomId; videoGameInit.PlayerInfos = fiveStarRoom.GetVideoPlayers(); videoGameInit.OfficeNumber = fiveStarRoom.CurrOfficNum; //记录初始化信息 fiveStarRoom.RecordInfo(FiveStarVideoOpcode.GameInit, videoGameInit); }
//记录买马信息 public static void RecordMaiMa(this FiveStarRoom fiveStarRoom, Actor_FiveStar_MaiMa maiMa) { fiveStarRoom.RecordInfo(FiveStarVideoOpcode.MaiMa, maiMa); }
//记录亮倒信息信息 public static void RecordLiangDao(this FiveStarRoom fiveStarRoom, Actor_FiveStar_LiangDao chuCardResult) { fiveStarRoom.RecordInfo(FiveStarVideoOpcode.LiangDao, chuCardResult); }
//记录出牌信息 public static void RecordChuCard(this FiveStarRoom fiveStarRoom, Actor_FiveStar_PlayCardResult chuCardResult) { fiveStarRoom.RecordInfo(FiveStarVideoOpcode.ChuCard, chuCardResult); }
//记录摸牌信息 public static void RecordMoCard(this FiveStarRoom fiveStarRoom, Actor_FiveStar_MoPai moCardInfo) { fiveStarRoom.RecordInfo(FiveStarVideoOpcode.MoCard, moCardInfo); }
//记录小结算信息 public static void RecordSmallResult(this FiveStarRoom fiveStarRoom, Actor_FiveStar_SmallResult smallResult) { fiveStarRoom.RecordInfo(FiveStarVideoOpcode.SmallResult, smallResult); fiveStarRoom.SaveParticularMiltary(smallResult);//正常小结算直接存储 }
//记录碰杠胡操作信息信息 public static void RecordOperateInfo(this FiveStarRoom fiveStarRoom, Actor_FiveStar_OperateResult operateResult) { fiveStarRoom.RecordInfo(FiveStarVideoOpcode.OperateInfo, operateResult); }