public void Update(DestinyEnergyCapacityEntry?other) { if (other is null) { return; } if (CapacityValue != other.CapacityValue) { CapacityValue = other.CapacityValue; OnPropertyChanged(nameof(CapacityValue)); } if (EnergyTypeHash != other.EnergyTypeHash) { EnergyTypeHash = other.EnergyTypeHash; OnPropertyChanged(nameof(EnergyTypeHash)); } if (EnergyType != other.EnergyType) { EnergyType = other.EnergyType; OnPropertyChanged(nameof(EnergyType)); } }
public void Update(DestinyEnergyCostEntry?other) { if (other is null) { return; } if (EnergyCost != other.EnergyCost) { EnergyCost = other.EnergyCost; OnPropertyChanged(nameof(EnergyCost)); } if (EnergyTypeHash != other.EnergyTypeHash) { EnergyTypeHash = other.EnergyTypeHash; OnPropertyChanged(nameof(EnergyTypeHash)); } if (EnergyType != other.EnergyType) { EnergyType = other.EnergyType; OnPropertyChanged(nameof(EnergyType)); } }