private void Click(UIEvent e)
 {
     Log.InnKeepersSpecial.Print("IKS on release! " + this.m_link, new object[0]);
     if (this.m_gameAction != null)
     {
         WelcomeQuests.OnNavigateBack();
         this.Show(false);
         string str = this.m_gameAction.ToLowerInvariant();
         if (str.StartsWith("store"))
         {
             char[]   separator = new char[] { ' ' };
             string[] strArray  = str.Split(separator);
             if (strArray.Length > 1)
             {
                 BoosterDbId   iNVALID = BoosterDbId.INVALID;
                 AdventureDbId id2     = AdventureDbId.INVALID;
                 string        str2    = strArray[1];
                 try
                 {
                     iNVALID = (BoosterDbId)((int)Enum.Parse(typeof(BoosterDbId), str2.ToUpper()));
                 }
                 catch (ArgumentException)
                 {
                 }
                 try
                 {
                     id2 = (AdventureDbId)((int)Enum.Parse(typeof(AdventureDbId), str2.ToUpper()));
                 }
                 catch (ArgumentException)
                 {
                 }
                 if (iNVALID != BoosterDbId.INVALID)
                 {
                     Options.Get().SetInt(Option.LAST_SELECTED_STORE_BOOSTER_ID, (int)iNVALID);
                     this.ShowStore(GeneralStoreMode.CARDS);
                 }
                 else if (id2 != AdventureDbId.INVALID)
                 {
                     Options.Get().SetInt(Option.LAST_SELECTED_STORE_ADVENTURE_ID, (int)id2);
                     this.ShowStore(GeneralStoreMode.ADVENTURE);
                 }
                 else
                 {
                     this.ShowStore(GeneralStoreMode.NONE);
                 }
             }
             else
             {
                 this.ShowStore(GeneralStoreMode.NONE);
             }
         }
     }
     else if (this.m_link != null)
     {
         Application.OpenURL(this.m_link);
     }
 }