Files
DarkflameServer/dDashboardServer/handlers/DashboardPacketHandler.h
Aaron Kimbrell 910b92ffc7 WIP
2026-02-24 20:35:09 -06:00

38 lines
893 B
C++

#pragma once
#include "PacketHandler.h"
#include "ServiceType.h"
namespace DashboardPacketHandler {
// Dashboard-specific implementations of RakNet packet handlers
struct DashboardNewIncomingConnection : public PacketHandler::NewIncomingConnection {
void Handle() override;
};
struct DashboardDisconnectionNotification : public PacketHandler::DisconnectionNotification {
void Handle() override;
};
struct DashboardConnectionLost : public PacketHandler::ConnectionLost {
void Handle() override;
};
struct DashboardConnectedPong : public PacketHandler::ConnectedPong {
void Handle() override;
};
struct DashboardUserPacketEnum : public PacketHandler::UserPacketEnum {
ServiceType serviceType{};
bool Deserialize(RakNet::BitStream& bitStream);
void Handle() override;
};
// Initialize dashboard-specific packet handlers
void RegisterDashboardHandlers();
}