Files
2022-10-26 12:25:11 +08:00

53 lines
769 B
C

#pragma once
#include "PacketDefine.h"
#include "PublicStruct.h"
#include "StructInPacket.h"
#pragma pack(push,1)
//struct MSG_PROTO
//{
// DWORD m_dwKey;
//};
struct MSG_BASE_INTERNAL
{
BYTE m_byCategory; // 카테고리
union
{
BYTE m_byProtocol; // 카테고리 아래의 타입
BYTE m_byEncryptedBuffer[1]; // 암호화된 버퍼
};
};
struct MSG_BASE //: public MSG_PROTO
{
BYTE m_byCategory; // 카테고리
union
{
BYTE m_byProtocol; // 카테고리 아래의 타입
BYTE m_byEncryptedBuffer[1]; // 암호화된 버퍼
};
MSG_BASE()
{
}
MSG_BASE( BYTE category, BYTE protocol )
: m_byCategory( category)
, m_byProtocol( protocol)
{
}
};
struct MSG_SERVER_TYPE : public MSG_BASE
{
BYTE m_byServerType;
};
#pragma pack(pop)