15 lines
408 B
C#
Raw Normal View History

2022-03-29 14:44:50 -07:00
using QSB.EchoesOfTheEye.DreamObjectProjectors.WorldObject;
using QSB.Messaging;
2022-03-27 13:33:16 -07:00
using QSB.Patches;
namespace QSB.EchoesOfTheEye.DreamRafts.Messages;
2022-03-29 14:44:50 -07:00
public class RespawnRaftMessage : QSBWorldObjectMessage<QSBDreamObjectProjector>
{
2022-03-29 14:44:50 -07:00
public override void OnReceiveRemote()
{
var attachedObject = (DreamRaftProjector)WorldObject.AttachedObject;
QSBPatch.RemoteCall(attachedObject.RespawnRaft);
}
}