ManaPlus
src
enums
net
packettype.h
Go to the documentation of this file.
1
/*
2
* The ManaPlus Client
3
* Copyright (C) 2011-2019 The ManaPlus Developers
4
* Copyright (C) 2019-2021 Andrei Karas
5
*
6
* This file is part of The ManaPlus Client.
7
*
8
* This program is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation; either version 2 of the License, or
11
* any later version.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20
*/
21
22
#ifndef ENUMS_NET_PACKETTYPE_H
23
#define ENUMS_NET_PACKETTYPE_H
24
25
#include "
enums/simpletypes/enumdefines.h
"
26
27
enumStart
(
PacketType
)
28
{
29
PACKET_CHAT
= 0,
30
PACKET_PICKUP
= 1,
31
PACKET_DROP
= 2,
32
PACKET_NPC_NEXT
= 3,
33
PACKET_NPC_TALK
= 4,
34
PACKET_NPC_INPUT
= 5,
35
PACKET_EMOTE
= 6,
36
PACKET_SIT
= 7,
37
PACKET_DIRECTION
= 8,
38
PACKET_ATTACK
= 9,
39
PACKET_STOPATTACK
= 10,
40
PACKET_ONLINELIST
= 11,
41
PACKET_WHISPER
= 12,
42
PACKET_SIZE
43
}
44
enumEnd
(
PacketType
);
45
46
#endif
// ENUMS_NET_PACKETTYPE_H
enumdefines.h
enumStart
#define enumStart(name)
Definition:
enumdefines.h:36
enumEnd
#define enumEnd(name)
Definition:
enumdefines.h:46
PacketType
Definition:
packettype.h:27
PacketType::PACKET_ATTACK
@ PACKET_ATTACK
Definition:
packettype.h:38
PacketType::PACKET_SIZE
@ PACKET_SIZE
Definition:
packettype.h:42
PacketType::PACKET_SIT
@ PACKET_SIT
Definition:
packettype.h:36
PacketType::PACKET_EMOTE
@ PACKET_EMOTE
Definition:
packettype.h:35
PacketType::PACKET_ONLINELIST
@ PACKET_ONLINELIST
Definition:
packettype.h:40
PacketType::PACKET_WHISPER
@ PACKET_WHISPER
Definition:
packettype.h:41
PacketType::PACKET_NPC_TALK
@ PACKET_NPC_TALK
Definition:
packettype.h:33
PacketType::PACKET_CHAT
@ PACKET_CHAT
Definition:
packettype.h:29
PacketType::PACKET_DIRECTION
@ PACKET_DIRECTION
Definition:
packettype.h:37
PacketType::PACKET_STOPATTACK
@ PACKET_STOPATTACK
Definition:
packettype.h:39
PacketType::PACKET_NPC_INPUT
@ PACKET_NPC_INPUT
Definition:
packettype.h:34
PacketType::PACKET_DROP
@ PACKET_DROP
Definition:
packettype.h:31
PacketType::PACKET_PICKUP
@ PACKET_PICKUP
Definition:
packettype.h:30
PacketType::PACKET_NPC_NEXT
@ PACKET_NPC_NEXT
Definition:
packettype.h:32
Generated on Wed Mar 17 2021 19:19:05 for ManaPlus by
1.9.1