ddon-server/Arrowgene.Ddon.GameServer/Handler/GpGpCourseGetAvailableListHandler.cs
Ryan Yappert 0e865d30cf
Feature: Communication Features (#983)
* Adds packet structures, handlers, and server support for Player Mail, Blacklists, Group Chats and Message Sets.
Implements rudimentary GM features via chat command.
Adds support for IP Bans and muted players.
Simplifies how login stamps are handled.
Cleans up and modernizes some old packet handlers.

* Rebase. Fix CommandRoute and AccountRoute. Cleanup and response to PR comments. Rearrange some of the schedule_next stuff in the DB creation schema for clarity.
2026-04-18 01:27:57 -07:00

34 lines
1.2 KiB
C#

using Arrowgene.Buffers;
using Arrowgene.Ddon.GameServer.Dump;
using Arrowgene.Ddon.Server;
using Arrowgene.Ddon.Server.Network;
using Arrowgene.Ddon.Shared;
using Arrowgene.Ddon.Shared.Entity.PacketStructure;
using Arrowgene.Ddon.Shared.Network;
using Arrowgene.Logging;
namespace Arrowgene.Ddon.GameServer.Handler
{
public class GpGpCourseGetAvailableListHandler : GameRequestPacketHandler<C2SGpGpCourseGetAvailableListReq, S2CGpGpCourseGetAvailableListRes>
{
private static readonly ServerLogger Logger = LogProvider.Logger<ServerLogger>(typeof(GpGpCourseGetAvailableListHandler));
public GpGpCourseGetAvailableListHandler(DdonGameServer server) : base(server)
{
}
public override S2CGpGpCourseGetAvailableListRes Handle(GameClient client, C2SGpGpCourseGetAvailableListReq request)
{
S2CGpGpCourseGetAvailableListRes res = new S2CGpGpCourseGetAvailableListRes();
// foreach (var course in server.AssetRepository.GPCourseInfoAsset.ValidCourses)
// {
//
// }
// TODO: Send back real data based on JSON contents?
// TODO: PCAP doesn't have sample packet contents to see what is in it.
return res;
}
}
}