ManaPlus
|
#include <npchandler.h>
Public Member Functions | |
NpcHandler () | |
~NpcHandler () | |
void | talk (const Being *const being) const |
void | nextDialog (const BeingId npcId) const |
void | closeDialog (const BeingId npcId) |
void | listInput (const BeingId npcId, const unsigned char value) const |
void | integerInput (const BeingId npcId, const int value) const |
void | stringInput (const BeingId npcId, const std::string &value) const |
void | buy (const Being *const being) const |
void | buy (const BeingId beingId) const |
void | sell (const BeingId beingId) const |
void | buyItem (const BeingId beingId, const int itemId, const ItemColor color, const int amount) const |
void | buyItems (std::vector< ShopItem * > &items) const |
void | sellItem (const BeingId beingId, const int itemId, const int amount) const |
void | sellItems (std::vector< ShopItem * > &items) const |
void | completeProgressBar () const |
BeingId | getNpc (Net::MessageIn &msg, const NpcActionT action) |
void | produceMix (const int nameId, const int materialId1, const int materialId2, const int materialId3) const |
void | cooking (const CookingTypeT type, const int nameId) const |
void | repair (const int index) const |
void | refine (const int index) const |
void | identify (const int index) const |
void | selectArrow (const int nameId) const |
void | selectAutoSpell (const int skillId) const |
void | requestAirship (const std::string &mapName, const int itemId) const |
Public Member Functions inherited from Ea::NpcHandler | |
NpcDialog * | getCurrentNpcDialog () const |
Public Member Functions inherited from Net::NpcHandler | |
NpcHandler () | |
Additional Inherited Members | |
Protected Member Functions inherited from Ea::NpcHandler | |
NpcHandler () | |
Definition at line 32 of file npchandler.h.
TmwAthena::NpcHandler::NpcHandler | ( | ) |
|
virtual |
Reimplemented from Net::NpcHandler.
Definition at line 52 of file npchandler.cpp.
References npcHandler.
|
virtual |
Implements Net::NpcHandler.
Definition at line 115 of file npchandler.cpp.
References createOutPacket, and ActorSprite::getId().
|
virtual |
Implements Net::NpcHandler.
Definition at line 124 of file npchandler.cpp.
References createOutPacket.
|
virtual |
Implements Net::NpcHandler.
Definition at line 138 of file npchandler.cpp.
References CAST_S16, and createOutPacket.
|
virtual |
|
virtual |
Implements Net::NpcHandler.
Definition at line 72 of file npchandler.cpp.
References Window::close(), createOutPacket, Ea::NpcRecv::mDialog, and NpcDialog::mNpcDialogs.
Referenced by getNpc().
|
virtual |
|
virtual |
|
virtual |
Implements Net::NpcHandler.
Definition at line 204 of file npchandler.cpp.
References NpcAction::Close, closeDialog(), CREATEWIDGETV, localPlayer, Ea::NpcRecv::mDialog, NpcDialog::mNpcDialogs, Actions::msg(), NpcAction::Next, nextDialog(), NpcDialog::restoreCamera(), NpcDialog::saveCamera(), and LocalPlayer::stopWalking().
|
virtual |
|
virtual |
Implements Net::NpcHandler.
Definition at line 97 of file npchandler.cpp.
References createOutPacket.
|
virtual |
Implements Net::NpcHandler.
Definition at line 89 of file npchandler.cpp.
References createOutPacket.
|
virtual |
Implements Net::NpcHandler.
Definition at line 66 of file npchandler.cpp.
References createOutPacket.
Referenced by getNpc().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements Net::NpcHandler.
Definition at line 131 of file npchandler.cpp.
References createOutPacket.
|
virtual |
Implements Net::NpcHandler.
Definition at line 153 of file npchandler.cpp.
References CAST_S16, createOutPacket, and INVENTORY_OFFSET.
|
virtual |
|
virtual |
Implements Net::NpcHandler.
Definition at line 105 of file npchandler.cpp.
References CAST_S16, CAST_S32, and createOutPacket.
|
virtual |
Implements Net::NpcHandler.
Definition at line 57 of file npchandler.cpp.
References createOutPacket, and ActorSprite::getId().