mirror of
https://git.lewd.wtf/PGR/ascnet
synced 2025-12-14 04:24:37 +01:00
Random handlers, need proper types, also bye brick wall
This commit is contained in:
File diff suppressed because one or more lines are too long
12
AscNet.GameServer/Handlers/CommunicationModule.cs
Normal file
12
AscNet.GameServer/Handlers/CommunicationModule.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace AscNet.GameServer.Handlers
|
||||
{
|
||||
internal class CommunicationModule
|
||||
{
|
||||
/* TODO: Need types
|
||||
[RequestPacketHandler("ChangeCommunicationRequest")]
|
||||
public static void ChangeCommunicationRequestHandler(Session session, Packet.Request packet)
|
||||
{
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,17 @@
|
||||
|
||||
namespace AscNet.GameServer.Handlers
|
||||
{
|
||||
public class GuideGroupFinishRequest
|
||||
{
|
||||
public int GroupId;
|
||||
}
|
||||
|
||||
public class GuideGroupFinishResponse
|
||||
{
|
||||
public int Code;
|
||||
public List<dynamic>? RewardGoodsList;
|
||||
}
|
||||
|
||||
internal class GuideModule
|
||||
{
|
||||
[RequestPacketHandler("GuideOpenRequest")]
|
||||
@@ -9,12 +20,12 @@ namespace AscNet.GameServer.Handlers
|
||||
{
|
||||
session.SendResponse(new GuideOpenResponse(), packet.Id);
|
||||
}
|
||||
|
||||
/* TODO: Need this to skip tutorials
|
||||
|
||||
// TODO: Invalid, need proper types
|
||||
[RequestPacketHandler("GuideGroupFinishRequest")]
|
||||
public static void GuideGroupFinishRequestHandler(Session session, Packet.Request packet)
|
||||
{
|
||||
session.SendResponse(new GuideGroupFinishResponse(), packet.Id);
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user