Exemple #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;
 }
Exemple #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;
 }