WutheringWaves/GameServer/Controllers/TeleportController.cs
2024-02-15 21:12:14 +03:00

19 lines
669 B
C#

using GameServer.Controllers.Attributes;
using GameServer.Network;
using GameServer.Network.Messages;
using Protocol;
namespace GameServer.Controllers;
internal class TeleportController : Controller
{
public TeleportController(PlayerSession session) : base(session)
{
// TeleportController.
}
[NetEvent(MessageId.TeleportFinishRequest)]
public ResponseMessage OnTeleportFinishRequest() => Response(MessageId.TeleportFinishResponse, new TeleportFinishResponse());
[NetEvent(MessageId.TeleportDataRequest)]
public ResponseMessage OnTeleportDataRequest() => Response(MessageId.TeleportDataResponse, new TeleportDataResponse());
}