예제 #1
0
 [HarmonyPostfix, HarmonyPatch(typeof(TreeNodeCtrl), "DeleteNode", new[] { typeof(TreeNodeObject) })] //know when objects are deleted
 public static void DeleteNode(ref TreeNodeCtrl _node) => HarmonyAdd.Counter(false);
예제 #2
0
 public static void AddNodeName(ref TreeNodeObject __result) => HarmonyAdd.Counter(true);             //know when objects are added