ManaPlus
Functions
EAthena::AdminRecv Namespace Reference

Functions

void processAdminGetLoginAck (Net::MessageIn &msg)
 
void processSetTileType (Net::MessageIn &msg)
 
void processAccountStats (Net::MessageIn &msg)
 

Function Documentation

◆ processAccountStats()

void EAthena::AdminRecv::processAccountStats ( Net::MessageIn msg)

Definition at line 50 of file adminrecv.cpp.

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 }
#define UNIMPLEMENTEDPACKET
Definition: logger.h:56
bool msg(InputEvent &event)
Definition: chat.cpp:39

References Actions::msg(), and UNIMPLEMENTEDPACKET.

◆ processAdminGetLoginAck()

void EAthena::AdminRecv::processAdminGetLoginAck ( Net::MessageIn msg)

Definition at line 33 of file adminrecv.cpp.

34 {
36  msg.readBeingId("account id");
37  msg.readString(24, "login");
38 }

References Actions::msg(), and UNIMPLEMENTEDPACKET.

◆ processSetTileType()

void EAthena::AdminRecv::processSetTileType ( Net::MessageIn msg)

Definition at line 40 of file adminrecv.cpp.

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 }

References Actions::msg(), and UNIMPLEMENTEDPACKET.