Planeshift
Public Member Functions | Public Attributes

psSpecialResponse Class Reference

A special NPC response. More...

#include <psnpcdialog.h>

List of all members.

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.

Detailed Description

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.


Constructor & Destructor Documentation

psSpecialResponse::psSpecialResponse ( csRef< iDocumentNode >  responseNode,
int  questID 
)

Create the response based on the given tag.


Member Data Documentation

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.

The response given.

Definition at line 316 of file psnpcdialog.h.

The trigger name.

Definition at line 314 of file psnpcdialog.h.


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