internal static void OnChangeIPTrigger2(SAChangeIP __instance, string __state) { var comp = ComputerLookup.Find(__instance.TargetComp); if (comp != null && comp.ip != __state) { ComputerLookup.RebuildLookups(); } }
internal static void OnChangeIPTrigger(SAChangeIP __instance, out string __state) { __state = ComputerLookup.Find(__instance.TargetComp)?.ip; }