示例#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;
     }
 }
示例#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);
     }
 }