2021-12-25 23:45:40 -08:00
|
|
|
|
using QSB.Messaging;
|
|
|
|
|
using QSB.Tools.ProbeLauncherTool.WorldObjects;
|
|
|
|
|
|
2022-03-02 19:46:33 -08:00
|
|
|
|
namespace QSB.Tools.ProbeLauncherTool.Messages;
|
|
|
|
|
|
2022-08-27 11:09:19 -07:00
|
|
|
|
internal class LaunchProbeMessage : QSBWorldObjectMessage<QSBProbeLauncher, (bool playEffects, uint probeOwnerID)>
|
2021-12-25 23:45:40 -08:00
|
|
|
|
{
|
2022-08-27 14:06:28 -04:00
|
|
|
|
public LaunchProbeMessage(bool playEffects, uint probeOwnerID) : base((playEffects, probeOwnerID)) { }
|
2022-01-26 01:09:01 -08:00
|
|
|
|
|
2022-08-27 11:09:19 -07:00
|
|
|
|
public override void OnReceiveRemote() => WorldObject.LaunchProbe(Data.playEffects, Data.probeOwnerID);
|
2022-02-24 22:04:54 -08:00
|
|
|
|
}
|