|
Planeshift
|
#include <dictionary.h>
Public Member Functions | |
| int | GetRandomResponse (const csArray< int > &availableResponseList) |
| Return one of the members of responseIDlist array randomly. More... | |
| bool | HaveAvailableResponses (Client *client, gemNPC *npc, NPCDialogDict *dict, csArray< int > *availableResponseList=NULL, int questID=-1) |
| Return true if there is one response available for this trigger. More... | |
| bool | Load (iResultRow &row) |
| Load the trigger from a database. More... | |
| bool | operator<= (const NpcTrigger &other) const |
| Compare two triggers. Used when searching for triggers. More... | |
| bool | operator== (const NpcTrigger &other) const |
| Compare two triggers. Used when searching for triggers. More... | |
Public Attributes | |
| csString | area |
| int | id |
| int | priorresponseID |
| csArray< int > | responseIDlist |
| csString | trigger |
Definition at line 269 of file dictionary.h.
Return one of the members of responseIDlist array randomly.
| bool NpcTrigger::HaveAvailableResponses | ( | Client * | client, |
| gemNPC * | npc, | ||
| NPCDialogDict * | dict, | ||
| csArray< int > * | availableResponseList = NULL, |
||
| int | questID = -1 |
||
| ) |
Return true if there is one response available for this trigger.
| bool NpcTrigger::Load | ( | iResultRow & | row | ) |
Load the trigger from a database.
| bool NpcTrigger::operator<= | ( | const NpcTrigger & | other | ) | const |
Compare two triggers. Used when searching for triggers.
| bool NpcTrigger::operator== | ( | const NpcTrigger & | other | ) | const |
Compare two triggers. Used when searching for triggers.
| csString NpcTrigger::area |
Definition at line 273 of file dictionary.h.
| int NpcTrigger::id |
Definition at line 272 of file dictionary.h.
| int NpcTrigger::priorresponseID |
Definition at line 275 of file dictionary.h.
| csArray<int> NpcTrigger::responseIDlist |
Definition at line 276 of file dictionary.h.
| csString NpcTrigger::trigger |
Definition at line 274 of file dictionary.h.