TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ServerPktHeader.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
3  * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License as published by the
7  * Free Software Foundation; either version 2 of the License, or (at your
8  * option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13  * more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 #ifndef __SERVERPKTHDR_H__
20 #define __SERVERPKTHDR_H__
21 
22 #pragma pack(push, 1)
23 
25 {
26  struct
27  {
30  } Setup;
31 
32  struct
33  {
36  } Normal;
37 };
38 
39 #pragma pack(pop)
40 
41 #endif
uint16 Command
Definition: ServerPktHeader.h:29
uint32_t uint32
Definition: Define.h:150
uint16_t uint16
Definition: Define.h:151
Definition: ServerPktHeader.h:24
uint16 Size
Definition: ServerPktHeader.h:28
struct ServerPktHeader::@317 Setup
struct ServerPktHeader::@318 Normal
uint32 Size
Definition: ServerPktHeader.h:34