CTT/Server/Hotfix/Game/Handler/Map/C2M_StopMoveHandler.cs

15 lines
267 B
C#

namespace ET
{
[ActorMessageHandler]
public class C2M_StopMoveHandler : AMActorLocationHandler<Unit, C2M_StopMove>
{
protected override async ETTask Run(Unit unit, C2M_StopMove message)
{
MoveHelper.Stop(unit);
await ETTask.CompletedTask;
}
}
}