private void OnHardpointMassChanged(Hardpoint sender, MassChangedEventArgs args) { RecalculateMass(); }
public HardpointData(Hardpoint hardpoint) { Name = hardpoint.Name; InstalledEquipmentData = hardpoint.IsEquipmentInstalled ? hardpoint.InstalledEquipment.GetSerializationData() : null; }
private void OnHardpointUnmounted(Hardpoints sender, Hardpoint hardpoint) { hardpoint.MassChanged -= OnHardpointMassChanged; RecalculateMass(); }