Mana
Loading...
Searching...
No Matches
Public Member Functions | List of all members
TmwAthena::NpcHandler Class Referencefinal

#include <npchandler.h>

Inheritance diagram for TmwAthena::NpcHandler:
TmwAthena::MessageHandler Net::NpcHandler Net::MessageHandler

Public Member Functions

 NpcHandler ()
 
void handleMessage (MessageIn &msg) override
 
void startShopping (int beingId) override
 
void buy (int beingId) override
 
void sell (int beingId) override
 
void buyItem (int beingId, int itemId, int amount) override
 
void sellItem (int beingId, int itemId, int amount) override
 
void endShopping (int beingId) override
 
void talk (int npcId) override
 
void nextDialog (int npcId) override
 
void closeDialog (int npcId) override
 
void menuSelect (int npcId, int choice) override
 
void integerInput (int npcId, int value) override
 
void stringInput (int npcId, const std::string &value) override
 
void sendLetter (int npcId, const std::string &recipient, const std::string &text) override
 
- Public Member Functions inherited from TmwAthena::MessageHandler
 MessageHandler ()
 
 ~MessageHandler () override
 
void setNetwork (Network *network)
 
- Public Member Functions inherited from Net::NpcHandler
virtual ~NpcHandler ()
 

Additional Inherited Members

- Public Attributes inherited from Net::MessageHandler
const uint16_t * handledMessages = _no_messages
 
- Protected Attributes inherited from TmwAthena::MessageHandler
NetworkmNetwork
 

Detailed Description

Definition at line 30 of file npchandler.h.

Constructor & Destructor Documentation

◆ NpcHandler()

TmwAthena::NpcHandler::NpcHandler ( )

Definition at line 56 of file npchandler.cpp.

Member Function Documentation

◆ buy()

void TmwAthena::NpcHandler::buy ( int  beingId)
overridevirtual

Implements Net::NpcHandler.

Definition at line 176 of file npchandler.cpp.

◆ buyItem()

void TmwAthena::NpcHandler::buyItem ( int  beingId,
int  itemId,
int  amount 
)
overridevirtual

Implements Net::NpcHandler.

Definition at line 190 of file npchandler.cpp.

◆ closeDialog()

void TmwAthena::NpcHandler::closeDialog ( int  npcId)
overridevirtual

Implements Net::NpcHandler.

Definition at line 224 of file npchandler.cpp.

◆ endShopping()

void TmwAthena::NpcHandler::endShopping ( int  beingId)
overridevirtual

Implements Net::NpcHandler.

Definition at line 206 of file npchandler.cpp.

◆ handleMessage()

void TmwAthena::NpcHandler::handleMessage ( MessageIn msg)
overridevirtual

Implements TmwAthena::MessageHandler.

Definition at line 72 of file npchandler.cpp.

◆ integerInput()

void TmwAthena::NpcHandler::integerInput ( int  npcId,
int  value 
)
overridevirtual

Implements Net::NpcHandler.

Definition at line 237 of file npchandler.cpp.

◆ menuSelect()

void TmwAthena::NpcHandler::menuSelect ( int  npcId,
int  choice 
)
overridevirtual

Implements Net::NpcHandler.

Definition at line 230 of file npchandler.cpp.

◆ nextDialog()

void TmwAthena::NpcHandler::nextDialog ( int  npcId)
overridevirtual

Implements Net::NpcHandler.

Definition at line 218 of file npchandler.cpp.

◆ sell()

void TmwAthena::NpcHandler::sell ( int  beingId)
overridevirtual

Implements Net::NpcHandler.

Definition at line 183 of file npchandler.cpp.

◆ sellItem()

void TmwAthena::NpcHandler::sellItem ( int  beingId,
int  itemId,
int  amount 
)
overridevirtual

Implements Net::NpcHandler.

Definition at line 198 of file npchandler.cpp.

◆ sendLetter()

void TmwAthena::NpcHandler::sendLetter ( int  npcId,
const std::string &  recipient,
const std::string &  text 
)
overridevirtual

Implements Net::NpcHandler.

Definition at line 253 of file npchandler.cpp.

◆ startShopping()

void TmwAthena::NpcHandler::startShopping ( int  beingId)
overridevirtual

Implements Net::NpcHandler.

Definition at line 171 of file npchandler.cpp.

◆ stringInput()

void TmwAthena::NpcHandler::stringInput ( int  npcId,
const std::string &  value 
)
overridevirtual

Implements Net::NpcHandler.

Definition at line 244 of file npchandler.cpp.

◆ talk()

void TmwAthena::NpcHandler::talk ( int  npcId)
overridevirtual

Implements Net::NpcHandler.

Definition at line 211 of file npchandler.cpp.


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