12 lines
365 B
C#

using QSB.Messaging;
using QSB.Tools.ProbeLauncherTool.WorldObjects;
namespace QSB.Tools.ProbeLauncherTool.Messages
{
internal class RetrieveProbeMessage : QSBWorldObjectMessage<QSBProbeLauncher, bool>
{
public RetrieveProbeMessage(bool playEffects) => Value = playEffects;
public override void OnReceiveRemote() => WorldObject.RetrieveProbe(Value);
}
}