quantum-space-buddies/QSB/EchoesOfTheEye/Prisoner/Messages/CellevatorCallMessage.cs

11 lines
381 B
C#
Raw Normal View History

2022-04-29 13:32:44 +00:00
using QSB.EchoesOfTheEye.Prisoner.WorldObjects;
using QSB.Messaging;
namespace QSB.EchoesOfTheEye.Prisoner.Messages;
internal class CellevatorCallMessage : QSBWorldObjectMessage<QSBPrisonCellElevator, int>
{
2022-05-11 17:39:18 +00:00
public CellevatorCallMessage(int floorIndex) : base(floorIndex) { }
2022-08-15 21:24:48 +00:00
public override void OnReceiveRemote() => WorldObject.AttachedObject.CallElevatorToFloor(Data);
2022-04-29 13:32:44 +00:00
}