forked from PGR/ascnet
1
0
Fork 0

Random handlers, need proper types, also bye brick wall

This commit is contained in:
Kyle Belanger 2023-10-14 12:13:29 -04:00
parent 45d35fbef3
commit a2e27effff
4 changed files with 28 additions and 86 deletions

View File

@ -7,6 +7,7 @@
</PropertyGroup>
<ItemGroup>
<None Remove="Handlers\CommunicationModule.cs~RF42bcb29.TMP" />
<None Remove="Handlers\SignInModule.cs~RF3f1e071.TMP" />
</ItemGroup>

File diff suppressed because one or more lines are too long

View 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)
{
}
*/
}
}

View File

@ -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);
}
*/
}
}