ManaPlus
Functions
EAthena::MapRecv Namespace Reference

Functions

void processInstanceStart (Net::MessageIn &msg)
 
void processInstanceCreate (Net::MessageIn &msg)
 
void processInstanceInfo (Net::MessageIn &msg)
 
void processInstanceDelete (Net::MessageIn &msg)
 
void processAddMapMarker (Net::MessageIn &msg)
 
void processCameraInfo (Net::MessageIn &msg)
 

Function Documentation

◆ processAddMapMarker()

void EAthena::MapRecv::processAddMapMarker ( Net::MessageIn msg)

Definition at line 61 of file maprecv.cpp.

62 {
64  msg.readBeingId("account id");
65  msg.readInt16("x");
66  msg.readInt16("y");
67 }
#define UNIMPLEMENTEDPACKET
Definition: logger.h:56
bool msg(InputEvent &event)
Definition: chat.cpp:39

References Actions::msg(), and UNIMPLEMENTEDPACKET.

◆ processCameraInfo()

void EAthena::MapRecv::processCameraInfo ( Net::MessageIn msg)

Definition at line 69 of file maprecv.cpp.

70 {
72  msg.readUInt8("action");
73  msg.readFloat("range");
74  msg.readFloat("rotation");
75  msg.readFloat("latitude");
76 }

References Actions::msg(), and UNIMPLEMENTEDPACKET.

◆ processInstanceCreate()

void EAthena::MapRecv::processInstanceCreate ( Net::MessageIn msg)

Definition at line 40 of file maprecv.cpp.

41 {
43  msg.readInt16("flag");
44 }

References Actions::msg(), and UNIMPLEMENTEDPACKET.

◆ processInstanceDelete()

void EAthena::MapRecv::processInstanceDelete ( Net::MessageIn msg)

Definition at line 54 of file maprecv.cpp.

55 {
57  msg.readInt32("flag");
58  msg.readInt32("unused");
59 }

References Actions::msg(), and UNIMPLEMENTEDPACKET.

◆ processInstanceInfo()

void EAthena::MapRecv::processInstanceInfo ( Net::MessageIn msg)

Definition at line 46 of file maprecv.cpp.

47 {
49  msg.readString(61, "instance name");
50  msg.readInt32("remaining time");
51  msg.readInt32("no players close time");
52 }

References Actions::msg(), and UNIMPLEMENTEDPACKET.

◆ processInstanceStart()

void EAthena::MapRecv::processInstanceStart ( Net::MessageIn msg)

Definition at line 33 of file maprecv.cpp.

34 {
36  msg.readString(61, "instance name");
37  msg.readInt16("flag");
38 }

References Actions::msg(), and UNIMPLEMENTEDPACKET.