mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-30 12:32:55 +00:00
15 lines
428 B
C#
15 lines
428 B
C#
using QSB.EchoesOfTheEye.RaftSync.WorldObjects;
|
|
using QSB.Messaging;
|
|
using QSB.WorldSync;
|
|
|
|
namespace QSB.EchoesOfTheEye.RaftSync.Messages;
|
|
|
|
public class DockRaftMessage : QSBWorldObjectMessage<QSBRaftDock, int>
|
|
{
|
|
public DockRaftMessage(RaftController raft) :
|
|
base(raft.GetWorldObject<QSBRaft>().ObjectId) { }
|
|
|
|
public override void OnReceiveRemote() =>
|
|
WorldObject.Dock(Data.GetWorldObject<QSBRaft>().AttachedObject);
|
|
}
|