TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
LFGPackets.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
3  *
4  * This program is free software; you can redistribute it and/or modify it
5  * under the terms of the GNU General Public License as published by the
6  * Free Software Foundation; either version 2 of the License, or (at your
7  * option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12  * more details.
13  *
14  * You should have received a copy of the GNU General Public License along
15  * with this program. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 #ifndef LFGPackets_h__
19 #define LFGPackets_h__
20 
21 #include "ObjectGuid.h"
22 
23 namespace WorldPackets
24 {
25  namespace LFG
26  {
27  struct RideTicket
28  {
30  int32 Id = 0;
31  int32 Type = 0;
32  uint32 Time = 0;
33  };
34  }
35 }
36 
39 
40 #endif // LFGPackets_h__
int32 Id
Definition: LFGPackets.h:30
ByteBuffer & operator>>(ByteBuffer &data, WorldPackets::LFG::RideTicket &ticket)
Definition: LFGPackets.cpp:20
Definition: ByteBuffer.h:70
ByteBuffer & operator<<(ByteBuffer &data, WorldPackets::LFG::RideTicket const &ticket)
Definition: LFGPackets.cpp:30
int32_t int32
Definition: Define.h:146
uint32_t uint32
Definition: Define.h:150
Definition: BattlegroundMgr.h:57
ObjectGuid RequesterGuid
Definition: LFGPackets.h:29
Definition: LFGPackets.h:27
Definition: ObjectGuid.h:189
uint32 Time
Definition: LFGPackets.h:32
Type
Type of JSON value.
Definition: rapidjson.h:642