Planeshift
|
A special NPC response. More...
#include <psnpcdialog.h>
Public Member Functions | |
psSpecialResponse (csRef< iDocumentNode > responseNode, int questID) | |
Create the response based on the given tag. More... | |
Public Attributes | |
int | attMax |
The max attitude required for this response. More... | |
int | attMin |
The min attitude required for this response. More... | |
int | questID |
csString | response |
The response given. More... | |
csString | type |
The trigger name. More... | |
A special NPC response.
This holds the data related to a special response. These are usually fall back or error responses for NPCs. The format of the tag is:
<specialresponse reactionMax="max" reactionMin="min" type="type" value="expression"/>
Definition at line 311 of file psnpcdialog.h.
psSpecialResponse::psSpecialResponse | ( | csRef< iDocumentNode > | responseNode, |
int | questID | ||
) |
Create the response based on the given tag.
int psSpecialResponse::attMax |
The max attitude required for this response.
Definition at line 325 of file psnpcdialog.h.
int psSpecialResponse::attMin |
The min attitude required for this response.
Definition at line 323 of file psnpcdialog.h.
int psSpecialResponse::questID |
Definition at line 327 of file psnpcdialog.h.
csString psSpecialResponse::response |
The response given.
Definition at line 321 of file psnpcdialog.h.
csString psSpecialResponse::type |
The trigger name.
Definition at line 319 of file psnpcdialog.h.