quantum-space-buddies/QSB/EchoesOfTheEye/Ghosts/Messages/SetMovementStyleMessage.cs
2022-04-14 12:38:34 +01:00

13 lines
402 B
C#

using QSB.EchoesOfTheEye.Ghosts.WorldObjects;
using QSB.Messaging;
namespace QSB.EchoesOfTheEye.Ghosts.Messages;
internal class SetMovementStyleMessage : QSBWorldObjectMessage<QSBGhostEffects, GhostEffects.MovementStyle>
{
public SetMovementStyleMessage(GhostEffects.MovementStyle style) : base(style) { }
public override void OnReceiveRemote()
=> WorldObject.SetMovementStyle(Data, true);
}