TimeCheckRequest and CombatSendPackRequest dummy handlers
This commit is contained in:
parent
838faa5938
commit
1c57dffd51
3 changed files with 35 additions and 3 deletions
16
GameServer/Controllers/CombatMessageController.cs
Normal file
16
GameServer/Controllers/CombatMessageController.cs
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
using GameServer.Controllers.Attributes;
|
||||||
|
using GameServer.Network;
|
||||||
|
using GameServer.Network.Messages;
|
||||||
|
using Protocol;
|
||||||
|
|
||||||
|
namespace GameServer.Controllers;
|
||||||
|
internal class CombatMessageController : Controller
|
||||||
|
{
|
||||||
|
public CombatMessageController(PlayerSession session) : base(session)
|
||||||
|
{
|
||||||
|
// CombatMessageController.
|
||||||
|
}
|
||||||
|
|
||||||
|
[NetEvent(MessageId.CombatSendPackRequest)] // TODO: CombatSendPackRequest is important
|
||||||
|
public ResponseMessage OnCombatSendPackRequest() => Response(MessageId.CombatSendPackResponse, new CombatSendPackResponse());
|
||||||
|
}
|
19
GameServer/Controllers/FormationAttributeController.cs
Normal file
19
GameServer/Controllers/FormationAttributeController.cs
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
using GameServer.Controllers.Attributes;
|
||||||
|
using GameServer.Network;
|
||||||
|
using GameServer.Network.Messages;
|
||||||
|
using Protocol;
|
||||||
|
|
||||||
|
namespace GameServer.Controllers;
|
||||||
|
internal class FormationAttributeController : Controller
|
||||||
|
{
|
||||||
|
public FormationAttributeController(PlayerSession session) : base(session)
|
||||||
|
{
|
||||||
|
// FormationAttributeController.
|
||||||
|
}
|
||||||
|
|
||||||
|
[NetEvent(MessageId.TimeCheckRequest)]
|
||||||
|
public ResponseMessage OnTimeCheckRequest() => Response(MessageId.TimeCheckResponse, new TimeCheckResponse());
|
||||||
|
|
||||||
|
[NetEvent(MessageId.FormationAttrRequest)]
|
||||||
|
public ResponseMessage OnFormationAttrRequest() => Response(MessageId.FormationAttrResponse, new FormationAttrResponse());
|
||||||
|
}
|
|
@ -42,7 +42,4 @@ internal class FormationController : Controller
|
||||||
Formation = request.Formation
|
Formation = request.Formation
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
[NetEvent(MessageId.FormationAttrRequest)]
|
|
||||||
public ResponseMessage OnFormationAttrRequest() => Response(MessageId.FormationAttrResponse, new FormationAttrResponse());
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue