mirror of
https://git.lewd.wtf/PGR/ascnet
synced 2025-12-13 04:54:37 +01:00
Random handlers, need proper types, also bye brick wall
This commit is contained in:
@@ -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
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")]
|
||||
@@ -10,11 +21,11 @@ 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