Exemplo n.º 1
0
 public static QueueLobby Join(Invitation invite, int queueId) {
   var lobby = new QueueLobby(queueId);
   Session.Current.CurrentLobby = lobby;
   var task = invite.Join();
   task.ContinueWith(t => lobby.GotLobbyStatus(t.Result));
   return lobby;
 }
Exemplo n.º 2
0
 internal static CustomLobby Join(Invitation invite) {
   var lobby = new CustomLobby();
   Session.Current.CurrentLobby = lobby;
   var task = invite.Join();
   task.ContinueWith(t => lobby.GotLobbyStatus(t.Result));
   return lobby;
 }
Exemplo n.º 3
0
        internal static CustomLobby Join(Invitation invite)
        {
            var lobby = new CustomLobby();

            Session.Current.CurrentLobby = lobby;
            var task = invite.Join();

            task.ContinueWith(t => lobby.GotLobbyStatus(t.Result));
            return(lobby);
        }
Exemplo n.º 4
0
        public static QueueLobby Join(Invitation invite, int queueId)
        {
            var lobby = new QueueLobby(queueId);

            Session.Current.CurrentLobby = lobby;
            var task = invite.Join();

            task.ContinueWith(t => lobby.GotLobbyStatus(t.Result));
            return(lobby);
        }