live_packets.h

main 50 lines · 1.6 KB Raw
Alex Alex Commit Map Editor 18/10/2026 23:40
1//////////////////////////////////////////////////////////////////////
2// This file is part of Remere's Map Editor
3//////////////////////////////////////////////////////////////////////
4// Remere's Map Editor is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8//
9// Remere's Map Editor is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13//
14// You should have received a copy of the GNU General Public License
15// along with this program. If not, see <http://www.gnu.org/licenses/>.
16//////////////////////////////////////////////////////////////////////
17
18#ifndef LIVE_PACKETS_H
19#define LIVE_PACKETS_H
20
21enum LivePacketType {
22 PACKET_HELLO_FROM_CLIENT = 0x10,
23 PACKET_READY_CLIENT = 0x11,
24
25 PACKET_REQUEST_NODES = 0x20,
26 PACKET_CHANGE_LIST = 0x21,
27 PACKET_ADD_HOUSE = 0x23,
28 PACKET_EDIT_HOUSE = 0x24,
29 PACKET_REMOVE_HOUSE = 0x25,
30
31 PACKET_CLIENT_TALK = 0x30,
32 PACKET_CLIENT_UPDATE_CURSOR = 0x31,
33 PACKET_CLIENT_COLOR_UPDATE = 0x32,
34
35 PACKET_HELLO_FROM_SERVER = 0x80,
36 PACKET_KICK = 0x81,
37 PACKET_ACCEPTED_CLIENT = 0x82,
38 PACKET_CHANGE_CLIENT_VERSION = 0x83,
39 PACKET_SERVER_TALK = 0x84,
40 PACKET_COLOR_UPDATE = 0x85,
41
42 PACKET_NODE = 0x90,
43 PACKET_CURSOR_UPDATE = 0x91,
44 PACKET_START_OPERATION = 0x92,
45 PACKET_UPDATE_OPERATION = 0x93,
46 PACKET_CHAT_MESSAGE = 0x94,
47};
48
49#endif
50
Top