mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-25 06:57:28 +00:00
6592bbea46
* chore: default size to 33 on LU(W)Strings since that's the most common lenght Was doing this on other places, but not the main one * chore: remove all raw packet reading from chat packet handler and general chat packet cleanup * fix team invite/promote/kick * Address feedback * fix friends check * update comments * Address feedback Add GM level handeling * Address feedback
15 lines
291 B
C++
15 lines
291 B
C++
#ifndef PACKETUTILS_H
|
|
#define PACKETUTILS_H
|
|
|
|
#include "MessageIdentifiers.h"
|
|
#include "BitStream.h"
|
|
#include <string>
|
|
|
|
enum class eConnectionType : uint16_t;
|
|
|
|
namespace PacketUtils {
|
|
void SavePacket(const std::string& filename, const char* data, size_t length);
|
|
};
|
|
|
|
#endif // PACKETUTILS_H
|