ManaPlus
Public Member Functions
Ea::PlayerHandler Class Reference

#include <playerhandler.h>

Inheritance diagram for Ea::PlayerHandler:
Net::PlayerHandler EAthena::PlayerHandler TmwAthena::PlayerHandler

Public Member Functions

 PlayerHandler ()
 
void ignorePlayer (const std::string &player, const bool ignore) const
 
void ignoreAll (const bool ignore) const
 
bool canUseMagic () const
 
int getDefaultWalkSpeed () const
 
- Public Member Functions inherited from Net::PlayerHandler
 PlayerHandler ()
 
virtual ~PlayerHandler ()
 
virtual void attack (const BeingId id, const Keep keep) const =0
 
virtual void stopAttack () const =0
 
virtual void emote (const uint8_t emoteId) const =0
 
virtual void increaseAttribute (const AttributesT attr, const int amount) const =0
 
virtual void increaseSkill (const uint16_t skillId) const =0
 
virtual void pickUp (const FloorItem *const floorItem) const =0
 
virtual void setDirection (const unsigned char direction) const =0
 
virtual void setDestination (const int x, const int y, const int direction) const =0
 
virtual void changeAction (const BeingActionT &action) const =0
 
virtual void respawn () const =0
 
virtual void requestOnlineList () const =0
 
virtual void updateStatus (const uint8_t status) const =0
 
virtual void setShortcut (const int idx, const int tab, const uint8_t type, const int id, const int level) const =0
 
virtual void shortcutShiftRow (const int row, const int tab) const =0
 
virtual void removeOption () const =0
 
virtual void changeCart (const int type) const =0
 
virtual void setMemo () const =0
 
virtual void doriDori () const =0
 
virtual void explosionSpirits () const =0
 
virtual void requestPvpInfo () const =0
 
virtual void revive () const =0
 
virtual void setConfigOption (const int id, const int data) const =0
 
virtual void setStat (Net::MessageIn &msg, const int type, const int64_t base, const int mod, const Notify notify) const =0
 
virtual void selectStyle (const int headColor, const int headStyle, const int bodyColor, const int topStyle, const int middleStyle, const int bottomStyle, const int bodyStyle) const =0
 
virtual void setTitle (const int titleId) const =0
 
virtual void closeStyleWindow () const =0
 

Detailed Description

Definition at line 32 of file playerhandler.h.

Constructor & Destructor Documentation

◆ PlayerHandler()

Ea::PlayerHandler::PlayerHandler ( )

Definition at line 33 of file playerhandler.cpp.

34 {
35 }

Member Function Documentation

◆ canUseMagic()

bool Ea::PlayerHandler::canUseMagic ( ) const
virtual

Implements Net::PlayerHandler.

Definition at line 51 of file playerhandler.cpp.

52 {
54 }
int getStatEffective(const AttributesT id)
Definition: playerinfo.cpp:167

References PlayerInfo::getStatEffective(), and Attributes::PLAYER_MATK.

◆ getDefaultWalkSpeed()

int Ea::PlayerHandler::getDefaultWalkSpeed ( ) const
virtual

Implements Net::PlayerHandler.

Definition at line 46 of file playerhandler.cpp.

47 {
48  return 150;
49 }

◆ ignoreAll()

void Ea::PlayerHandler::ignoreAll ( const bool  ignore) const
virtual

Implements Net::PlayerHandler.

Definition at line 42 of file playerhandler.cpp.

43 {
44 }

◆ ignorePlayer()

void Ea::PlayerHandler::ignorePlayer ( const std::string &  player,
const bool  ignore 
) const
virtual

Implements Net::PlayerHandler.

Definition at line 37 of file playerhandler.cpp.

39 {
40 }

The documentation for this class was generated from the following files: