static bool Prefix(Element element, AspectDetailsWindow __instance)
 {
     return(Patcher.Run(() =>
     {
         if (element.Id == "__GetActivityState()")
         {
             WindowController.aspectDetailsVisible = __instance.gameObject.activeInHierarchy;
             return false;
         }
         return true;
     }));
 }
        static bool Prefix(TokenDetailsWindow ___tokenDetails, AspectDetailsWindow ___aspectDetails, string text)
        {
            return(Patcher.Run(() =>
            {
                if (text == "__HideAllNotifications()")
                {
                    ___aspectDetails.Hide();
                    ___tokenDetails.Hide();
                    return false;
                }
                else if (text == "__GetDetailWindowsActivityState()")
                {
                    ___tokenDetails.ShowElementDetails(new Element("__GetActivityState()", null, null, 0, null), null);
                    ___aspectDetails.ShowAspectDetails(new Element("__GetActivityState()", null, null, 0, null), false);
                    return false;
                }

                return true;
            }));
        }