public bool Equals(Pickup other) { if (other == null) { return(false); } return(Index.Equals(other.Index) && Unknown04h.Equals(other.Unknown04h) && Unknown08h.Equals(other.Unknown08h) && Amount.Equals(other.Amount) && Unknown10h.Equals(other.Unknown10h) && Unknown14h.Equals(other.Unknown14h) && Blip.Equals(other.Blip) && Timer.Equals(other.Timer) && Position.Equals(other.Position) && Unknown2Ch.Equals(other.Unknown2Ch) && Unknown30h.Equals(other.Unknown30h) && Rotation.Equals(other.Rotation) && Unknown40h.Equals(other.Unknown40h) && ObjectId.Equals(other.ObjectId) && RefNum.Equals(other.RefNum) && PickupType.Equals(other.PickupType) && Flags.Equals(other.Flags) && Flags2.Equals(other.Flags2) && Unknown4Bh.Equals(other.Unknown4Bh) && Unknown4Ch.Equals(other.Unknown4Ch) && Unknown50h.Equals(other.Unknown50h)); }
public bool isFood() { return(pickupType.Equals(PickupType.FOOD)); }