WutheringWaves/GameServer/Controllers/TowerController.cs
2024-02-25 00:54:49 +03:00

18 lines
641 B
C#

using GameServer.Controllers.Attributes;
using GameServer.Network;
using Protocol;
namespace GameServer.Controllers;
internal class TowerController : Controller
{
public TowerController(PlayerSession session) : base(session)
{
// TowerController.
}
[NetEvent(MessageId.TowerChallengeRequest)]
public RpcResult OnTowerChallengeRequest() => Response(MessageId.TowerChallengeResponse, new TowerChallengeResponse());
[NetEvent(MessageId.CycleTowerChallengeRequest)]
public RpcResult OnCycleTowerChallengeRequest() => Response(MessageId.CycleTowerChallengeResponse, new CycleTowerChallengeResponse());
}