TmwServ::NpcHandler Class Reference

#include <npchandler.h>

Inheritance diagram for TmwServ::NpcHandler:

MessageHandler Net::NpcHandler

List of all members.


Detailed Description

Definition at line 30 of file npchandler.h.


Public Member Functions

 NpcHandler ()
void handleMessage (MessageIn &msg)
void talk (int npcId)
void nextDialog (int npcId)
void closeDialog (int npcId)
void listInput (int npcId, int value)
void integerInput (int npcId, int value)
void stringInput (int npcId, const std::string &value)
void sendLetter (int npcId, const std::string &recipient, const std::string &text)
void startShopping (int beingId)
void buy (int beingId)
void sell (int beingId)
void buyItem (int beingId, int itemId, int amount)
void sellItem (int beingId, int itemId, int amount)
void endShopping (int beingId)

Constructor & Destructor Documentation

TmwServ::NpcHandler::NpcHandler (  ) 

Definition at line 44 of file npchandler.cpp.


Member Function Documentation

void TmwServ::NpcHandler::handleMessage ( MessageIn msg  )  [virtual]

Implements MessageHandler.

Definition at line 57 of file npchandler.cpp.

void TmwServ::NpcHandler::talk ( int  npcId  )  [virtual]

Implements Net::NpcHandler.

Definition at line 95 of file npchandler.cpp.

void TmwServ::NpcHandler::nextDialog ( int  npcId  )  [virtual]

Implements Net::NpcHandler.

Definition at line 102 of file npchandler.cpp.

void TmwServ::NpcHandler::closeDialog ( int  npcId  )  [virtual]

Implements Net::NpcHandler.

Definition at line 109 of file npchandler.cpp.

void TmwServ::NpcHandler::listInput ( int  npcId,
int  value 
) [virtual]

Implements Net::NpcHandler.

Definition at line 114 of file npchandler.cpp.

void TmwServ::NpcHandler::integerInput ( int  npcId,
int  value 
) [virtual]

Implements Net::NpcHandler.

Definition at line 122 of file npchandler.cpp.

void TmwServ::NpcHandler::stringInput ( int  npcId,
const std::string &  value 
) [virtual]

Implements Net::NpcHandler.

Definition at line 127 of file npchandler.cpp.

void TmwServ::NpcHandler::sendLetter ( int  npcId,
const std::string &  recipient,
const std::string &  text 
) [virtual]

Implements Net::NpcHandler.

Definition at line 132 of file npchandler.cpp.

void TmwServ::NpcHandler::startShopping ( int  beingId  )  [virtual]

Implements Net::NpcHandler.

Definition at line 141 of file npchandler.cpp.

void TmwServ::NpcHandler::buy ( int  beingId  )  [virtual]

Implements Net::NpcHandler.

Definition at line 146 of file npchandler.cpp.

void TmwServ::NpcHandler::sell ( int  beingId  )  [virtual]

Implements Net::NpcHandler.

Definition at line 151 of file npchandler.cpp.

void TmwServ::NpcHandler::buyItem ( int  beingId,
int  itemId,
int  amount 
) [virtual]

Implements Net::NpcHandler.

Definition at line 156 of file npchandler.cpp.

void TmwServ::NpcHandler::sellItem ( int  beingId,
int  itemId,
int  amount 
) [virtual]

Implements Net::NpcHandler.

Definition at line 164 of file npchandler.cpp.

void TmwServ::NpcHandler::endShopping ( int  beingId  )  [virtual]

Implements Net::NpcHandler.

Definition at line 172 of file npchandler.cpp.


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

Generated on Sun Apr 26 17:30:44 2009 for The Mana World by  doxygen 1.5.5