ManaPlus
adminrecv.cpp
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 #include "net/eathena/adminrecv.h"
23 
24 #include "logger.h"
25 
26 #include "net/messagein.h"
27 
28 #include "debug.h"
29 
30 namespace EAthena
31 {
32 
34 {
36  msg.readBeingId("account id");
37  msg.readString(24, "login");
38 }
39 
41 {
43  // +++ here need set collision tile for map
44  msg.readInt16("x");
45  msg.readInt16("y");
46  msg.readInt16("type");
47  msg.readString(16, "map name");
48 }
49 
51 {
53  // +++ need show in other players stats window, nick in mStatsName
54  msg.readUInt8("str");
55  msg.readUInt8("need str");
56  msg.readUInt8("agi");
57  msg.readUInt8("need agi");
58  msg.readUInt8("vit");
59  msg.readUInt8("need vit");
60  msg.readUInt8("int");
61  msg.readUInt8("need int");
62  msg.readUInt8("dex");
63  msg.readUInt8("need dex");
64  msg.readUInt8("luk");
65  msg.readUInt8("need luk");
66  msg.readInt16("attack");
67  msg.readInt16("refine");
68  msg.readInt16("matk max");
69  msg.readInt16("matk min");
70  msg.readInt16("item def");
71  msg.readInt16("plus def");
72  msg.readInt16("mdef");
73  msg.readInt16("plus mdef");
74  msg.readInt16("hit");
75  msg.readInt16("flee");
76  msg.readInt16("flee2/10");
77  msg.readInt16("cri/10");
78  msg.readInt16("speed");
79  msg.readInt16("zero");
80 }
81 
82 } // namespace EAthena
#define UNIMPLEMENTEDPACKET
Definition: logger.h:56
bool msg(InputEvent &event)
Definition: chat.cpp:39
void processAdminGetLoginAck(Net::MessageIn &msg)
Definition: adminrecv.cpp:33
void processAccountStats(Net::MessageIn &msg)
Definition: adminrecv.cpp:50
void processSetTileType(Net::MessageIn &msg)
Definition: adminrecv.cpp:40