Пример #1
0
 // 用户申请进入房间回调函数定义
 int OnPrepareEnterRoomCallBack(int userId, int roomId, string roomName, string password, int userValue)
 {
     try
     {
         OnPrepareEnterRoom_Received_main = new SystemSettingServer.OnPrepareEnterRoom_Received(OnPrepareEnterRoomCallBack_main);
         this.rtb_message.Invoke(OnPrepareEnterRoom_Received_main, userId, roomId, roomName, password, userValue);
     }
     catch (Exception ex)
     {
         Log.SetLog("OnPrepareEnterRoomCallBack             用户申请进入房间回调函数定义,错误:" + ex.Message.ToString());
     }
     return(0);
 }
Пример #2
0
 // 用户申请进入房间回调函数定义
 int OnPrepareEnterRoomCallBack(int userId, int roomId, string roomName, string password, int userValue)
 {
     OnPrepareEnterRoom_Received_main = new SystemSettingServer.OnPrepareEnterRoom_Received(OnPrepareEnterRoomCallBack_main);
     this.rtb_message.Invoke(OnPrepareEnterRoom_Received_main, userId, roomId, roomName, password, userValue);
     return 0;
 }
Пример #3
0
 // 用户申请进入房间回调函数定义
 int OnPrepareEnterRoomCallBack(int userId, int roomId, string roomName, string password, int userValue)
 {
     OnPrepareEnterRoom_Received_main = new SystemSettingServer.OnPrepareEnterRoom_Received(OnPrepareEnterRoomCallBack_main);
     this.rtb_message.Invoke(OnPrepareEnterRoom_Received_main, userId, roomId, roomName, password, userValue);
     return(0);
 }
Пример #4
0
 // 用户申请进入房间回调函数定义
 int OnPrepareEnterRoomCallBack(int userId, int roomId, string roomName, string password, int userValue)
 {
     try
     {
         OnPrepareEnterRoom_Received_main = new SystemSettingServer.OnPrepareEnterRoom_Received(OnPrepareEnterRoomCallBack_main);
         this.rtb_message.Invoke(OnPrepareEnterRoom_Received_main, userId, roomId, roomName, password, userValue);
     }
     catch (Exception ex)
     {
         Log.SetLog("OnPrepareEnterRoomCallBack             用户申请进入房间回调函数定义,错误:" + ex.Message.ToString());
     }
     return 0;
 }