using QSB.Messaging; using QSB.ShipSync.WorldObjects; namespace QSB.ShipSync.Messages.Hull; internal class HullChangeIntegrityMessage : QSBWorldObjectMessage { public HullChangeIntegrityMessage(float integrity) => Data = integrity; public override void OnReceiveRemote() => WorldObject.ChangeIntegrity(Data); }