コード例 #1
0
        public virtual bool AcceptsItem(IQSBOWItem item)
        {
            var itemType       = item.GetItemType();
            var acceptableType = AttachedObject.GetValue <ItemType>("_acceptableType");

            return((itemType & acceptableType) == itemType);
        }
コード例 #2
0
 public virtual bool PlaceIntoSocket(IQSBOWItem item)
 => AttachedObject.PlaceIntoSocket((OWItem)(item as IWorldObject).ReturnObject());