mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-16 07:10:35 +00:00
15 lines
408 B
C#
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);
|
|
}
|
|
}
|