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