private void UpdateInput()
 {
     if (!this.UpdateTextInput())
     {
         InputManager manager = InputManager.Get();
         if ((manager == null) || !manager.HandleKeyboardInput())
         {
             CheatMgr mgr = CheatMgr.Get();
             if ((mgr == null) || !mgr.HandleKeyboardInput())
             {
                 Cheats cheats = Cheats.Get();
                 if ((cheats == null) || !cheats.HandleKeyboardInput())
                 {
                     DialogManager manager2 = DialogManager.Get();
                     if ((manager2 == null) || !manager2.HandleKeyboardInput())
                     {
                         CollectionInputMgr mgr2 = CollectionInputMgr.Get();
                         if ((mgr2 == null) || !mgr2.HandleKeyboardInput())
                         {
                             DraftInputManager manager3 = DraftInputManager.Get();
                             if ((manager3 == null) || !manager3.HandleKeyboardInput())
                             {
                                 PackOpening opening = PackOpening.Get();
                                 if ((opening == null) || !opening.HandleKeyboardInput())
                                 {
                                     if (SceneMgr.Get() != null)
                                     {
                                         Scene scene = SceneMgr.Get().GetScene();
                                         if ((scene != null) && scene.HandleKeyboardInput())
                                         {
                                             return;
                                         }
                                     }
                                     BaseUI eui = BaseUI.Get();
                                     if ((eui != null) && eui.HandleKeyboardInput())
                                     {
                                     }
                                 }
                             }
                         }
                     }
                 }
             }
         }
     }
 }