AllowTool.Designator_Allow.ThingIsRelevant C# (CSharp) Метод

ThingIsRelevant() защищенный Метод

protected ThingIsRelevant ( Thing item ) : bool
item Thing
Результат bool
		protected override bool ThingIsRelevant(Thing item) {
			var comp = item is ThingWithComps ? (item as ThingWithComps).GetComp<CompForbiddable>() : null;
			return comp != null && comp.Forbidden;
		}