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. | |
Public Attributes | |
int | attMax |
The max attitude required for this response. | |
int | attMin |
The min attitude required for this response. | |
int | questID |
csString | response |
The response given. | |
csString | type |
The trigger name. |
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 306 of file psnpcdialog.h.
psSpecialResponse::psSpecialResponse | ( | csRef< iDocumentNode > | responseNode, |
int | questID | ||
) |
Create the response based on the given tag.
The max attitude required for this response.
Definition at line 320 of file psnpcdialog.h.
The min attitude required for this response.
Definition at line 318 of file psnpcdialog.h.
Definition at line 322 of file psnpcdialog.h.
csString psSpecialResponse::response |
The response given.
Definition at line 316 of file psnpcdialog.h.
csString psSpecialResponse::type |
The trigger name.
Definition at line 314 of file psnpcdialog.h.