Exemplo n.º 1
0
        public bool Equals(PlayerInfo other)
        {
            if (other == null)
            {
                return(false);
            }

            return(Money.Equals(other.Money) &&
                   MoneyOnScreen.Equals(other.MoneyOnScreen) &&
                   PackagesCollected.Equals(other.PackagesCollected) &&
                   MaxHealth.Equals(other.MaxHealth) &&
                   MaxArmor.Equals(other.MaxArmor) &&
                   InfiniteSprint.Equals(other.InfiniteSprint) &&
                   FastReload.Equals(other.FastReload) &&
                   FireProof.Equals(other.FireProof) &&
                   GetOutOfJailFree.Equals(other.GetOutOfJailFree) &&
                   GetOutOfHospitalFree.Equals(other.GetOutOfHospitalFree));
        }
Exemplo n.º 2
0
        public bool Equals(PlayerInfo other)
        {
            if (other == null)
            {
                return(false);
            }

            return(Money.Equals(other.Money) &&
                   WastedBustedState.Equals(other.WastedBustedState) &&
                   WastedBustedTime.Equals(other.WastedBustedTime) &&
                   TrafficMultiplier.Equals(other.TrafficMultiplier) &&
                   RoadDensity.Equals(other.RoadDensity) &&
                   MoneyOnScreen.Equals(other.MoneyOnScreen) &&
                   PackagesCollected.Equals(other.PackagesCollected) &&
                   PackagesTotal.Equals(other.PackagesTotal) &&
                   InfiniteSprint.Equals(other.InfiniteSprint) &&
                   FastReload.Equals(other.FastReload) &&
                   GetOutOfJailFree.Equals(other.GetOutOfJailFree) &&
                   GetOutOfHospitalFree.Equals(other.GetOutOfHospitalFree) &&
                   PlayerName.Equals(other.PlayerName));
        }