quantum-space-buddies/QSB/EchoesOfTheEye/Prisoner/Messages/CellevatorCallMessage.cs
2022-08-15 14:24:48 -07:00

11 lines
381 B
C#

using QSB.EchoesOfTheEye.Prisoner.WorldObjects;
using QSB.Messaging;
namespace QSB.EchoesOfTheEye.Prisoner.Messages;
internal class CellevatorCallMessage : QSBWorldObjectMessage<QSBPrisonCellElevator, int>
{
public CellevatorCallMessage(int floorIndex) : base(floorIndex) { }
public override void OnReceiveRemote() => WorldObject.AttachedObject.CallElevatorToFloor(Data);
}