quantum-space-buddies/QSB/EchoesOfTheEye/DreamRafts/Messages/RespawnRaftMessage.cs
2022-03-29 14:44:50 -07:00

15 lines
408 B
C#

using QSB.EchoesOfTheEye.DreamObjectProjectors.WorldObject;
using QSB.Messaging;
using QSB.Patches;
namespace QSB.EchoesOfTheEye.DreamRafts.Messages;
public class RespawnRaftMessage : QSBWorldObjectMessage<QSBDreamObjectProjector>
{
public override void OnReceiveRemote()
{
var attachedObject = (DreamRaftProjector)WorldObject.AttachedObject;
QSBPatch.RemoteCall(attachedObject.RespawnRaft);
}
}