public tagCarAddGlobel(CarTableStates TableStates, CarTableUpdateInfo TableGlobelInfo, bool Result) : base(MsgEventType.MET_Car_AddGlobel) { this.TableStates = TableStates; this.TableGlobelInfo = TableGlobelInfo; this.Result = Result; }
public tagCarStatesChange(CarTableStates TableStates, CarTableUpdateInfo TableGlobelInfo, CarVipSeatList OldVipSeatInfo, CarVipSeatList TableVipSeatInfo, CarWriteBankerList TableWriteBankerList, CarBankerUserInfo TableBankerUserInfo, CarGameLog TableGameLog, Byte TableResult) : base(MsgEventType.MET_Car_StatesChange) { this.TableStates = TableStates; this.TableGlobelInfo = TableGlobelInfo; this.TableVipSeatInfo = TableVipSeatInfo; this.TableWriteBankerList = TableWriteBankerList; this.TableBankerUserInfo = TableBankerUserInfo; this.TableGameLog = TableGameLog; this.OldVipSeatInfo = OldVipSeatInfo; this.TableResult = TableResult; }
public tagCarJoin(Byte TableUpdateSec, CarTableStates TableStates, CarTableUpdateInfo TableGlobelInfo, CarBankerUserInfo TableBankerInfo, CarWriteBankerList TableWriteBankerList, CarVipSeatList TableVipSeatInfo, CarGameLog TableGameLog, Byte TableResult) : base(MsgEventType.MET_Car_Join) { this.TableUpdateSec = TableUpdateSec; this.TableStates = TableStates; this.TableGlobelInfo = TableGlobelInfo; this.TableBankerInfo = TableBankerInfo;//庄家数据 this.TableWriteBankerList = TableWriteBankerList; this.TableVipSeatInfo = TableVipSeatInfo; this.TableGameLog = TableGameLog; this.TableResult = TableResult; }
public void EnterGameCar(byte TableUpdateSec, CarTableStates TableStates, CarTableUpdateInfo TableGlobelInfo, CarBankerUserInfo TableBankerInfo, CarWriteBankerList TableWriteBankerList, CarVipSeatList TableVipSeatInfo, CarGameLog TableGameLog, byte TableResult) { m_GameCarUI.EnterGameCar(TableUpdateSec, TableStates, TableGlobelInfo, TableBankerInfo, TableWriteBankerList, TableVipSeatInfo, TableGameLog, TableResult); }
public void CarStatusChange(CarTableStates TableStates, CarTableUpdateInfo TableGlobelInfo, CarVipSeatList OldVipSeatInfo, CarVipSeatList TableVipSeatInfo, CarWriteBankerList TableWriteBankerList, CarBankerUserInfo TableBankerUserInfo, CarGameLog TableGameLog, byte TableResult) { m_GameCarUI.CarStatusChange( TableStates, TableGlobelInfo, OldVipSeatInfo, TableVipSeatInfo, TableWriteBankerList, TableBankerUserInfo, TableGameLog, TableResult); }
//离开牛牛房间 public void OnLeaveCarTable() { TableUpdateInfo = new CarTableUpdateInfo(); //AreaData = new CarTableAreaData(); TableBankerUserInfo = new CarBankerUserInfo(); TableWriteBankerList = new CarWriteBankerList(); TableVipSeatInfo = new CarVipSeatList(); TableGameLog = new CarGameLog(); IsInBankerList = false; for (int i = 0; i < FishDataInfo.MAX_Car_ClientSum; ++i) { TableGlobelSum[i] = 0; LogTableGlobelSum[i] = 0; } //玩家离开桌子 CL_Cmd_CarRoleLeaveTable ncb = new CL_Cmd_CarRoleLeaveTable(); ncb.SetCmdType(NetCmdType.CMD_CL_CarRoleLeaveTable); NetServices.Instance.Send <CL_Cmd_CarRoleLeaveTable>(ncb); }
public bool OnHandleTableJoinBegin(NetCmdBase obj) { LC_Cmd_CarTableJoinBegin ncb = (LC_Cmd_CarTableJoinBegin)obj; TableStates = CarTableStates.CTS_Begin; TableUpdateInfo = new CarTableUpdateInfo(); UInt64[] BetGlobel = new UInt64[FishDataInfo.MAX_Car_ClientSum]; LogTableGlobelSum = TableGlobelSum;//记录上次押注的情况 for (int i = 0; i < FishDataInfo.MAX_Car_ClientSum; ++i) { TableGlobelSum[i] = 0; BetGlobel[i] = 0; } TableUpdateInfo.SetInfo(BetGlobel); TableBankerUserInfo.GameSum++; //触发事件 tagCarStatesChange pEvent = new tagCarStatesChange(TableStates, TableUpdateInfo, null, TableVipSeatInfo, TableWriteBankerList, TableBankerUserInfo, TableGameLog, 0); MsgEventHandle.HandleMsg(pEvent); return(true); }
public tagCarTableInfoChange(CarTableStates TableStates, CarTableUpdateInfo TableGlobelInfo) : base(MsgEventType.MET_Car_Update) { this.TableStates = TableStates; this.TableGlobelInfo = TableGlobelInfo; }