mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-17 19:11:32 +00:00
14 lines
430 B
C#
14 lines
430 B
C#
using QSB.EchoesOfTheEye.Prisoner.WorldObjects;
|
|
using QSB.Messaging;
|
|
using QSB.Patches;
|
|
|
|
namespace QSB.EchoesOfTheEye.Prisoner.Messages;
|
|
|
|
internal class CellevatorCallMessage : QSBWorldObjectMessage<QSBPrisonCellElevator, int>
|
|
{
|
|
public CellevatorCallMessage(int floorIndex) : base(floorIndex) { }
|
|
|
|
public override void OnReceiveRemote() =>
|
|
QSBPatch.RemoteCall(() => WorldObject.AttachedObject.CallElevatorToFloor(Data));
|
|
}
|