public static void CheckVoc(ulong target) { if (MarkedTargets.Contains(target)) { MarkedTargets.Remove(target); if (MarkedTargets.Count == 0) { InvokeMarkingExpired(); } } }
private static void CheckVoc(S_ABNORMALITY_END p) { if (VocId != p.AbnormalityId) { return; } if (MarkedTargets.Contains(p.TargetId)) { MarkedTargets.Remove(p.TargetId); } if (MarkedTargets.Count == 0) { InvokeMarkingExpired(); } }