mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-29 09:32:38 +00:00
14 lines
384 B
C#
14 lines
384 B
C#
using QSB.Messaging;
|
|
using QSB.Patches;
|
|
using QSB.WorldSync;
|
|
|
|
namespace QSB.ModelShip.Messages;
|
|
|
|
internal class RespawnModelShipMessage : QSBMessage<bool>
|
|
{
|
|
public RespawnModelShipMessage(bool playEffects) : base(playEffects) { }
|
|
|
|
public override void OnReceiveRemote() =>
|
|
QSBPatch.RemoteCall(() => QSBWorldSync.GetUnityObject<RemoteFlightConsole>().RespawnModelShip(Data));
|
|
}
|