mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-29 09:32:38 +00:00
15 lines
365 B
C#
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);
|
|||
|
}
|
|||
|
}
|