quantum-space-buddies/QSB/EchoesOfTheEye/DreamRafts/Messages/RespawnRaftMessage.cs
2022-08-28 22:21:20 -07:00

14 lines
370 B
C#

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