#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)