mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-23 22:13:35 +00:00
0545adfac3
Have fun!
30 lines
1.2 KiB
C++
30 lines
1.2 KiB
C++
#ifndef MASTERPACKETS_H
|
|
#define MASTERPACKETS_H
|
|
|
|
#include <cstdint>
|
|
#include <string>
|
|
#include "RakNetTypes.h"
|
|
#include "dCommonVars.h"
|
|
class dServer;
|
|
|
|
namespace MasterPackets {
|
|
void SendPersistentIDRequest(dServer* server, uint64_t requestID); //Called from the World server
|
|
void SendPersistentIDResponse(dServer* server, const SystemAddress& sysAddr, uint64_t requestID, uint32_t objID);
|
|
|
|
void SendZoneTransferRequest(dServer* server, uint64_t requestID, bool mythranShift, uint32_t zoneID, uint32_t cloneID);
|
|
void SendZoneTransferResponse(dServer* server, const SystemAddress& sysAddr, uint64_t requestID, bool mythranShift, uint32_t zoneID, uint32_t zoneInstance, uint32_t zoneClone, const std::string& serverIP, uint32_t serverPort);
|
|
|
|
void HandleServerInfo(Packet* packet);
|
|
void SendServerInfo(dServer* server, Packet* packet);
|
|
|
|
void SendZoneCreatePrivate(dServer* server, uint32_t zoneID, uint32_t cloneID, const std::string& password);
|
|
|
|
void SendZoneRequestPrivate(dServer* server, uint64_t requestID, bool mythranShift, const std::string& password);
|
|
|
|
void SendWorldReady(dServer* server, LWOMAPID zoneId, LWOINSTANCEID instanceId);
|
|
|
|
void HandleSetSessionKey(Packet* packet);
|
|
}
|
|
|
|
#endif // MASTERPACKETS_H
|