mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-14 12:18:22 +00:00
18 lines
633 B
C
18 lines
633 B
C
|
#ifndef AUTHPACKETS_H
|
||
|
#define AUTHPACKETS_H
|
||
|
|
||
|
#define _VARIADIC_MAX 10
|
||
|
#include "dCommonVars.h"
|
||
|
#include "dNetCommon.h"
|
||
|
|
||
|
class dServer;
|
||
|
|
||
|
namespace AuthPackets {
|
||
|
void HandleHandshake(dServer* server, Packet* packet);
|
||
|
void SendHandshake(dServer* server, const SystemAddress& sysAddr, const std::string& nextServerIP, uint16_t nextServerPort);
|
||
|
|
||
|
void HandleLoginRequest(dServer* server, Packet* packet);
|
||
|
void SendLoginResponse(dServer* server, const SystemAddress& sysAddr, eLoginResponse responseCode, const std::string& errorMsg, const std::string& wServerIP, uint16_t wServerPort, std::string username);
|
||
|
}
|
||
|
|
||
|
#endif // AUTHPACKETS_H
|