Planeshift
Public Member Functions | Protected Attributes

AssignQuestResponseOp Class Reference

This script operation makes an npc assign one out of a list of quest to a player, as part of his response to a player event. More...

#include <dictionary.h>

List of all members.

Public Member Functions

 AssignQuestResponseOp ()
 how many of the quests are valid.
int GetMaxQuests ()
psQuestGetQuest (int n)
virtual csString GetResponseScript ()
const char * GetTimeoutMsg ()
virtual bool Load (iDocumentNode *node)
virtual bool Run (gemNPC *who, gemActor *target, NpcResponse *owner, csTicks &timeDelay, int &voiceNumber)
virtual ~AssignQuestResponseOp ()

Protected Attributes

int num_quests
 string with npc declinign to give quest
psQuestquest [MAX_RESP]
csString timeout_msg
 ptrs to cachemanager entries for quests. must have at least one.

Detailed Description

This script operation makes an npc assign one out of a list of quest to a player, as part of his response to a player event.

Definition at line 756 of file dictionary.h.


Constructor & Destructor Documentation

AssignQuestResponseOp::AssignQuestResponseOp ( ) [inline]

how many of the quests are valid.

Definition at line 764 of file dictionary.h.

virtual AssignQuestResponseOp::~AssignQuestResponseOp ( ) [inline, virtual]

Definition at line 769 of file dictionary.h.


Member Function Documentation

int AssignQuestResponseOp::GetMaxQuests ( ) [inline]

Definition at line 781 of file dictionary.h.

psQuest* AssignQuestResponseOp::GetQuest ( int  n) [inline]

Definition at line 777 of file dictionary.h.

virtual csString AssignQuestResponseOp::GetResponseScript ( ) [virtual]

Implements ResponseOperation.

const char* AssignQuestResponseOp::GetTimeoutMsg ( ) [inline]

Definition at line 773 of file dictionary.h.

virtual bool AssignQuestResponseOp::Load ( iDocumentNode *  node) [virtual]

Implements ResponseOperation.

virtual bool AssignQuestResponseOp::Run ( gemNPC who,
gemActor target,
NpcResponse owner,
csTicks &  timeDelay,
int voiceNumber 
) [virtual]

Implements ResponseOperation.


Member Data Documentation

string with npc declinign to give quest

Definition at line 761 of file dictionary.h.

psQuest* AssignQuestResponseOp::quest[MAX_RESP] [protected]

Definition at line 759 of file dictionary.h.

csString AssignQuestResponseOp::timeout_msg [protected]

ptrs to cachemanager entries for quests. must have at least one.

Definition at line 760 of file dictionary.h.


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