Mana
|
#include <gamehandler.h>
Public Member Functions | |
GameHandler () | |
void | handleMessage (MessageIn &msg) override |
void | event (Event::Channel channel, const Event &event) override |
void | connect () override |
bool | isConnected () override |
void | disconnect () override |
void | quit () override |
bool | removeDeadBeings () const override |
void | clear () |
void | setMap (const std::string &map) |
bool | canUseMagicBar () const override |
The tmwAthena protocol is making use of the MP status bar. | |
int | getPickupRange () const override |
Tells the range is pixel where the player can pickup items from. | |
int | getNpcTalkRange () const override |
Tells the range is pixel where the player can talk to an NPC from. | |
![]() | |
MessageHandler () | |
~MessageHandler () override | |
void | setNetwork (Network *network) |
![]() | |
virtual | ~GameHandler () |
![]() | |
virtual | ~EventListener () |
void | listen (Event::Channel channel) |
void | ignore (Event::Channel channel) |
Private Attributes | |
std::string | mMap |
Keeps the map filename. | |
int | mCharID |
int | mTileX |
< Saved for map-server switching | |
int | mTileY |
Additional Inherited Members | |
![]() | |
const uint16_t * | handledMessages = _no_messages |
![]() | |
Network * | mNetwork |
Definition at line 34 of file gamehandler.h.
TmwAthena::GameHandler::GameHandler | ( | ) |
Definition at line 46 of file gamehandler.cpp.
|
inlineoverridevirtual |
The tmwAthena protocol is making use of the MP status bar.
Implements Net::GameHandler.
Definition at line 59 of file gamehandler.h.
void TmwAthena::GameHandler::clear | ( | ) |
|
overridevirtual |
Implements Net::GameHandler.
Definition at line 122 of file gamehandler.cpp.
|
overridevirtual |
Implements Net::GameHandler.
Definition at line 154 of file gamehandler.cpp.
|
overridevirtual |
Implements EventListener.
Definition at line 96 of file gamehandler.cpp.
|
inlineoverridevirtual |
Tells the range is pixel where the player can talk to an NPC from.
Implements Net::GameHandler.
Definition at line 63 of file gamehandler.h.
|
overridevirtual |
Tells the range is pixel where the player can pickup items from.
Implements Net::GameHandler.
Definition at line 169 of file gamehandler.cpp.
|
overridevirtual |
Implements TmwAthena::MessageHandler.
Definition at line 60 of file gamehandler.cpp.
|
overridevirtual |
Implements Net::GameHandler.
Definition at line 149 of file gamehandler.cpp.
|
overridevirtual |
Implements Net::GameHandler.
Definition at line 159 of file gamehandler.cpp.
|
inlineoverridevirtual |
Implements Net::GameHandler.
Definition at line 52 of file gamehandler.h.
void TmwAthena::GameHandler::setMap | ( | const std::string & | map | ) |
Definition at line 164 of file gamehandler.cpp.
|
private |
Definition at line 67 of file gamehandler.h.
|
private |
Keeps the map filename.
Definition at line 66 of file gamehandler.h.
|
private |
< Saved for map-server switching
Keeps the local character position until the map is loaded to permit the translation in pixels.
Definition at line 72 of file gamehandler.h.
|
private |
Definition at line 72 of file gamehandler.h.