public virtual bool AcceptsItem(IQSBOWItem item) { var itemType = item.GetItemType(); var acceptableType = AttachedObject.GetValue <ItemType>("_acceptableType"); return((itemType & acceptableType) == itemType); }
public virtual bool PlaceIntoSocket(IQSBOWItem item) => AttachedObject.PlaceIntoSocket((OWItem)(item as IWorldObject).ReturnObject());