mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-09-06 07:18:42 +00:00
Public release of the DLU server code!
Have fun!
This commit is contained in:
29
dNet/MasterPackets.h
Normal file
29
dNet/MasterPackets.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#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
|
Reference in New Issue
Block a user