예제 #1
0
 public static async void CreateNewRoom(string name)
 {
     try
     {
         await proxy.AddRoomAsync(gameState.Me.Token, name);
     }
     catch (FaultException <GameException> e)
     {
         MessageBox.Show(e.Detail.Message);
     }
     catch (Exception e)
     {
         MessageBox.Show(e.Message);
     }
 }