mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-09-05 14:58:27 +00:00

* merge ServerType and ServiceID enums * rename eConnectionType to ServiceType in preparation for enum unification * unify ServiceID and ServiceType enums * shrink ServiceType to an 8-bit integer * fix linux compilation error and update gamemsg test * return to uint16_t * Update dNet/AuthPackets.cpp Use cast instead of padding Co-authored-by: David Markowitz <39972741+EmosewaMC@users.noreply.github.com> * Add default case to MasterServer.cpp * move ref back to type * Another formatting fix * Fix comment to be more accurate --------- Co-authored-by: jadebenn <9892985+jadebenn@users.noreply.github.com> Co-authored-by: David Markowitz <39972741+EmosewaMC@users.noreply.github.com>
15 lines
287 B
C++
15 lines
287 B
C++
#ifndef PACKETUTILS_H
|
|
#define PACKETUTILS_H
|
|
|
|
#include "MessageIdentifiers.h"
|
|
#include "BitStream.h"
|
|
#include <string>
|
|
|
|
enum class ServiceType : uint16_t;
|
|
|
|
namespace PacketUtils {
|
|
void SavePacket(const std::string& filename, const char* data, size_t length);
|
|
};
|
|
|
|
#endif // PACKETUTILS_H
|