Пример #1
0
 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;
 }
Пример #2
0
 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;
 }
Пример #3
0
 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);
 }
Пример #4
0
 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);
 }
Пример #5
0
    //离开牛牛房间
    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);
    }