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