示例#1
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;
 }
示例#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);
        }