quantum-space-buddies/QSB/ShipSync/Messages/Hull/HullChangeIntegrityMessage.cs
2022-03-10 17:57:50 -08:00

11 lines
339 B
C#

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