This commit is contained in:
Aaron Kimbrell
2026-02-24 20:35:09 -06:00
parent f1847d1f20
commit 910b92ffc7
24 changed files with 883 additions and 180 deletions

View File

@@ -0,0 +1,37 @@
#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();
}