quantum-space-buddies/QSB/ShipSync/Messages/Hull/HullChangeIntegrityMessage.cs

11 lines
339 B
C#
Raw Normal View History

using QSB.Messaging;
using QSB.ShipSync.WorldObjects;
2022-03-03 03:46:33 +00:00
namespace QSB.ShipSync.Messages.Hull;
internal class HullChangeIntegrityMessage : QSBWorldObjectMessage<QSBShipHull, float>
{
2022-03-11 01:57:50 +00:00
public HullChangeIntegrityMessage(float integrity) : base(integrity) { }
2022-03-03 03:46:33 +00:00
public override void OnReceiveRemote() => WorldObject.ChangeIntegrity(Data);
}