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