Example #1
0
 public InventoryBase(InventoryBase item)
 {
     ID        = item.ID;
     ParentID  = item.ParentID;
     Name      = item.Name;
     OwnerID   = item.OwnerID;
     ExtraData = item.ExtraData; // FIXME: Copy by value, not reference
 }
Example #2
0
        public override bool Equals(object obj)
        {
            if (!(obj is InventoryBase))
            {
                return(false);
            }

            InventoryBase o = (InventoryBase)obj;

            return(o.ID == ID);
        }