Esempio n. 1
0
 public static void DoWindowContents_Postfix(object __instance)
 {
     if (subjectToShow != null && treeReady)
     {
         MainTabCenterOnInfo.Invoke(__instance, new object[] { ResearchNodesCache[subjectToShow] });
         HighlightedInfo.SetValue(ResearchNodesCache[subjectToShow], true);
         //subjectToShow = null;
     }
 }
Esempio n. 2
0
 public static void HighlightedProxy(object node, bool setting, int reason = 7)
 {
     //Set
     if (AltRPal)
     {
         HighlightInfo.Invoke(node, new object[] { reason });
     }
     else if (HighlightedInfo != null)
     {
         HighlightedInfo.SetValue(node, setting);
     }
 }
Esempio n. 3
0
 public static bool HighlightedProxy(object node)
 {
     //Get
     if (AltRPal)
     {
         return(Highlighted());
     }
     else if (HighlightedInfo != null)
     {
         return((bool)HighlightedInfo.GetValue(node));
     }
     return(false);
 }