quantum-space-buddies/QSB/Tools/ProbeLauncherTool/Messages/RetrieveProbeMessage.cs
2022-01-25 21:23:31 -08:00

13 lines
364 B
C#

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