public ScoutPopupWindow openScoutPopupWindow(int villageID, bool resetData)
 {
     this.openGreyOutWindow(true);
     this.closePopupWindow(this.m_scoutPopupWindow);
     this.m_scoutPopupWindow = new ScoutPopupWindow();
     this.positionWindow(this.m_scoutPopupWindow, true, false);
     this.m_scoutPopupWindow.init(villageID, resetData);
     this.m_scoutPopupWindow.Show(this.getGreyOutWindow());
     if (Instance.isTutorialWindowOpen())
     {
         GameEngine.Instance.World.forceTutorialToBeShown();
     }
     GameEngine.Instance.DisableMouseClicks();
     return this.m_scoutPopupWindow;
 }
 public void closeScoutPopupWindow()
 {
     if (!this.scoutPopupWindowClosing)
     {
         this.scoutPopupWindowClosing = true;
         if (this.isPopupWindowOpenAndClose(this.m_scoutPopupWindow))
         {
             GameEngine.Instance.EnableMouseClicks();
             this.closeGreyOut();
             this.showDXCardBar(9);
             Instance.closeParishPanel();
         }
         this.m_scoutPopupWindow = null;
         this.scoutPopupWindowClosing = false;
     }
 }