Example #1
0
        internal static void OnChangeIPTrigger2(SAChangeIP __instance, string __state)
        {
            var comp = ComputerLookup.Find(__instance.TargetComp);

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