public void JoinLobby(OLobbyRoom lr)
 {
     App.LobbyRoom = lr;
     App.Client.SubscribeToLobbyRoomCompleted += Client_SubscribeToLobbyRoomCompleted;
     App.Client.SubscribeToLobbyRoomAsync(App.Me, lr);
 }
示例#2
0
 public OLobbyRoom GetALobbyRoom(OLobby lob)
 {
     OLobbyRoom result = new OLobbyRoom();
     var qlob = (from lobby in dc.Lobbies
                 where lobby.LobbyId == lob.LobbyId
                 select lobby).First();