2022-01-26 20:35:43 -08:00

13 lines
360 B
C#

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