GCC Code Coverage Report
Directory: src/ Exec Total Coverage
File: src/net/tmwa/packetsout.inc Lines: 0 68 0.0 %
Date: 2021-03-17 Branches: 0 0 0.0 %

Line Branch Exec Source
1
/*
2
 *  The ManaPlus Client
3
 *  Copyright (C) 2004-2009  The Mana World Development Team
4
 *  Copyright (C) 2009-2010  The Mana Developers
5
 *  Copyright (C) 2011-2019  The ManaPlus Developers
6
 *  Copyright (C) 2019-2021  Andrei Karas
7
 *
8
 *  This file is part of The ManaPlus Client.
9
 *
10
 *  This program is free software; you can redistribute it and/or modify
11
 *  it under the terms of the GNU General Public License as published by
12
 *  the Free Software Foundation; either version 2 of the License, or
13
 *  any later version.
14
 *
15
 *  This program is distributed in the hope that it will be useful,
16
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 *  GNU General Public License for more details.
19
 *
20
 *  You should have received a copy of the GNU General Public License
21
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
22
 */
23
24
#define PACKETSOUT_VOID
25
26
packet(CMSG_SERVER_VERSION_REQUEST,  0x7530,   0, nullptr);
27
28
packet(CMSG_LOGIN_REGISTER,          0x0064,   0, nullptr);
29
30
packet(CMSG_NAME_REQUEST,            0x0094,   0, nullptr);
31
32
packet(CMSG_CHAR_PASSWORD_CHANGE,    0x0061,   0, nullptr);
33
packet(CMSG_CHAR_SERVER_CONNECT,     0x0065,   0, nullptr);
34
packet(CMSG_CHAR_SELECT,             0x0066,   0, nullptr);
35
packet(CMSG_CHAR_CREATE,             0x0067,   0, nullptr);
36
packet(CMSG_CHAR_DELETE,             0x0068,   0, nullptr);
37
38
packet(CMSG_MAP_SERVER_CONNECT,      0x0072,   0, nullptr);
39
packet(CMSG_MAP_PING,                0x007e,   0, nullptr);
40
packet(CMSG_MAP_LOADED,              0x007d,   0, nullptr);
41
packet(CMSG_CLIENT_QUIT,             0x018A,   0, nullptr);
42
43
packet(CMSG_CHAT_MESSAGE,            0x008c,   0, nullptr);
44
packet(CMSG_CHAT_WHISPER,            0x0096,   0, nullptr);
45
packet(CMSG_CHAT_WHO,                0x00c1,   0, nullptr);
46
47
packet(CMSG_SKILL_LEVELUP_REQUEST,   0x0112,   0, nullptr);
48
packet(CMSG_STAT_UPDATE_REQUEST,     0x00bb,   0, nullptr);
49
packet(CMSG_SKILL_USE_BEING,         0x0113,   0, nullptr);
50
packet(CMSG_SKILL_USE_POSITION,      0x0116,   0, nullptr);
51
packet(CMSG_SKILL_USE_POSITION_MORE, 0x0190,   0, nullptr);
52
packet(CMSG_SKILL_USE_MAP,           0x011b,   0, nullptr);
53
54
packet(CMSG_PLAYER_INVENTORY_USE,    0x00a7,   0, nullptr);
55
packet(CMSG_PLAYER_INVENTORY_DROP,   0x00a2,   0, nullptr);
56
packet(CMSG_PLAYER_EQUIP,            0x00a9,   0, nullptr);
57
packet(CMSG_PLAYER_UNEQUIP,          0x00ab,   0, nullptr);
58
59
packet(CMSG_ITEM_PICKUP,             0x009f,   0, nullptr);
60
packet(CMSG_PLAYER_CHANGE_DIR,       0x009b,   0, nullptr);
61
packet(CMSG_PLAYER_CHANGE_DEST,      0x0085,   0, nullptr);
62
packet(CMSG_PLAYER_CHANGE_ACT,       0x0089,   0, nullptr);
63
packet(CMSG_PLAYER_RESTART,          0x00b2,   0, nullptr);
64
packet(CMSG_PLAYER_EMOTE,            0x00bf,   0, nullptr);
65
packet(CMSG_PLAYER_STOP_ATTACK,      0x0118,   0, nullptr);
66
packet(CMSG_WHO_REQUEST,             0x00c1,   0, nullptr);
67
68
packet(CMSG_NPC_TALK,                0x0090,   0, nullptr);
69
packet(CMSG_NPC_NEXT_REQUEST,        0x00b9,   0, nullptr);
70
packet(CMSG_NPC_CLOSE,               0x0146,   0, nullptr);
71
packet(CMSG_NPC_LIST_CHOICE,         0x00b8,   0, nullptr);
72
packet(CMSG_NPC_INT_RESPONSE,        0x0143,   0, nullptr);
73
packet(CMSG_NPC_STR_RESPONSE,        0x01d5,   0, nullptr);
74
packet(CMSG_NPC_BUY_SELL_REQUEST,    0x00c5,   0, nullptr);
75
packet(CMSG_NPC_BUY_REQUEST,         0x00c8,   0, nullptr);
76
packet(CMSG_NPC_SELL_REQUEST,        0x00c9,   0, nullptr);
77
78
packet(CMSG_TRADE_REQUEST,           0x00e4,   0, nullptr);
79
packet(CMSG_TRADE_RESPONSE,          0x00e6,   0, nullptr);
80
packet(CMSG_TRADE_ITEM_ADD_REQUEST,  0x00e8,   0, nullptr);
81
packet(CMSG_TRADE_CANCEL_REQUEST,    0x00ed,   0, nullptr);
82
packet(CMSG_TRADE_ADD_COMPLETE,      0x00eb,   0, nullptr);
83
packet(CMSG_TRADE_OK,                0x00ef,   0, nullptr);
84
85
packet(CMSG_PARTY_CREATE,            0x00f9,   0, nullptr);
86
packet(CMSG_PARTY_INVITE,            0x00fc,   0, nullptr);
87
packet(CMSG_PARTY_INVITED,           0x00ff,   0, nullptr);
88
packet(CMSG_PARTY_LEAVE,             0x0100,   0, nullptr);
89
packet(CMSG_PARTY_SETTINGS,          0x0102,   0, nullptr);
90
packet(CMSG_PARTY_KICK,              0x0103,   0, nullptr);
91
packet(CMSG_PARTY_MESSAGE,           0x0108,   0, nullptr);
92
93
packet(CMSG_MOVE_TO_STORAGE,         0x00f3,   0, nullptr);
94
packet(CMSG_MOVE_FROM_STORAGE,       0x00f5,   0, nullptr);
95
packet(CMSG_CLOSE_STORAGE,           0x00f7,   0, nullptr);
96
97
packet(CMSG_ADMIN_ANNOUNCE,          0x0099,   0, nullptr);
98
packet(CMSG_ADMIN_LOCAL_ANNOUNCE,    0x019C,   0, nullptr);
99
packet(CMSG_ADMIN_HIDE,              0x019D,   0, nullptr);
100
packet(CMSG_ADMIN_KICK,              0x00CC,   0, nullptr);
101
packet(CMSG_ADMIN_MUTE,              0x0149,   0, nullptr);
102
103
packet(CMSG_SOLVE_CHAR_NAME,         0x0193,   0, nullptr);
104
packet(CMSG_IGNORE_NICK,             0x00cf,   0, nullptr);
105
106
packet(CMSG_CLIENT_DISCONNECT,       0x7532,   0, nullptr);
107
packet(CMSG_IGNORE_ALL,              0x00d0,   0, nullptr);
108
109
packet(CMSG_ONLINE_LIST,             0x0210,   0, nullptr);
110
111
#ifdef PACKETS_UPDATE
112
// condition code here
113
#endif