quantum-space-buddies/QSB/MeteorSync/Messages/FragmentIntegrityMessage.cs
2022-03-10 20:20:37 -08:00

11 lines
329 B
C#

using QSB.Messaging;
using QSB.MeteorSync.WorldObjects;
namespace QSB.MeteorSync.Messages;
public class FragmentIntegrityMessage : QSBWorldObjectMessage<QSBFragment, float>
{
public FragmentIntegrityMessage(float integrity) : base(integrity) { }
public override void OnReceiveRemote() => WorldObject.SetIntegrity(Data);
}