mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-04 02:47:22 +00:00
12 lines
347 B
C#
12 lines
347 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);
|
|
}
|
|
} |