예제 #1
0
 // Is called from within the PartyControl
 private void leaveParty(string host)
 {
     // Remove lobby window visually
     partyGrid.Children.Clear();
     // Tell server we left the party
     LobbyProxy.LeaveParty();
     party = null;
     // Enable the player to invite other players (would create a new party)
     inviteButton.IsEnabled = true;
 }