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