ManaPlus
|
#include <npchandler.h>
Public Member Functions | |
NpcDialog * | getCurrentNpcDialog () const |
Public Member Functions inherited from Net::NpcHandler | |
NpcHandler () | |
virtual | ~NpcHandler () |
virtual BeingId | getNpc (Net::MessageIn &msg, const NpcActionT action)=0 |
virtual void | talk (const Being *const being) const =0 |
virtual void | nextDialog (const BeingId npcId) const =0 |
virtual void | closeDialog (const BeingId npcId)=0 |
virtual void | listInput (const BeingId npcId, const unsigned char value) const =0 |
virtual void | integerInput (const BeingId npcId, const int value) const =0 |
virtual void | stringInput (const BeingId npcId, const std::string &value) const =0 |
virtual void | buy (const Being *const being) const =0 |
virtual void | buy (const BeingId beingId) const =0 |
virtual void | sell (const BeingId beingId) const =0 |
virtual void | buyItem (const BeingId beingId, const int itemId, const ItemColor color, const int amount) const =0 |
virtual void | buyItems (std::vector< ShopItem * > &items) const =0 |
virtual void | sellItem (const BeingId beingId, const int itemId, const int amount) const =0 |
virtual void | sellItems (std::vector< ShopItem * > &items) const =0 |
virtual void | completeProgressBar () const =0 |
virtual void | produceMix (const int nameId, const int materialId1, const int materialId2, const int materialId3) const =0 |
virtual void | cooking (const CookingTypeT type, const int nameId) const =0 |
virtual void | repair (const int index) const =0 |
virtual void | refine (const int index) const =0 |
virtual void | identify (const int index) const =0 |
virtual void | selectArrow (const int nameId) const =0 |
virtual void | selectAutoSpell (const int skillId) const =0 |
virtual void | requestAirship (const std::string &mapName, const int itemId) const =0 |
Protected Member Functions | |
NpcHandler () | |
Definition at line 34 of file npchandler.h.
|
protected |
Definition at line 33 of file npchandler.cpp.
References Ea::NpcRecv::mDialog, and Ea::NpcRecv::mRequestLang.
|
virtual |
Implements Net::NpcHandler.
Definition at line 39 of file npchandler.cpp.
References Ea::NpcRecv::mDialog.