quantum-space-buddies/QSB/EchoesOfTheEye/Prisoner/Messages/CellevatorCallMessage.cs
2022-04-29 14:32:44 +01:00

15 lines
365 B
C#

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