Planeshift
|
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>
Public Member Functions | |
AssignQuestResponseOp () | |
how many of the quests are valid. | |
int | GetMaxQuests () |
psQuest * | GetQuest (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 | |
psQuest * | quest [MAX_RESP] |
csString | timeout_msg |
ptrs to cachemanager entries for quests. must have at least one. |
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.
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.
int AssignQuestResponseOp::GetMaxQuests | ( | ) | [inline] |
Definition at line 781 of file dictionary.h.
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.
int AssignQuestResponseOp::num_quests [protected] |
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.