quantum-space-buddies/QSB/ShipSync/Messages/Hull/HullChangeIntegrityMessage.cs
2023-07-28 19:30:57 +01:00

11 lines
337 B
C#

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