mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-26 09:35:26 +00:00
13 lines
402 B
C#
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);
|
|||
|
}
|