quantum-space-buddies/QSB/MeteorSync/Messages/FragmentIntegrityMessage.cs

11 lines
329 B
C#
Raw Normal View History

using QSB.Messaging;
using QSB.MeteorSync.WorldObjects;
namespace QSB.MeteorSync.Messages;
2022-03-11 04:20:37 +00:00
public class FragmentIntegrityMessage : QSBWorldObjectMessage<QSBFragment, float>
{
2022-03-11 04:20:37 +00:00
public FragmentIntegrityMessage(float integrity) : base(integrity) { }
public override void OnReceiveRemote() => WorldObject.SetIntegrity(Data);
}