mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-15 22:50:56 +00:00
13 lines
346 B
C#
13 lines
346 B
C#
using QSB.Messaging;
|
|
using QSB.ShipSync.WorldObjects;
|
|
|
|
namespace QSB.ShipSync.Messages.Hull
|
|
{
|
|
internal class HullChangeIntegrityMessage : QSBFloatWorldObjectMessage<QSBShipHull>
|
|
{
|
|
public HullChangeIntegrityMessage(float integrity) => Value = integrity;
|
|
|
|
public override void OnReceiveRemote() => WorldObject.ChangeIntegrity(Value);
|
|
}
|
|
}
|