Planeshift
|
This class right now holds a simple circular MRU list of responses, so the npc can tell if he is getting the same question over and over. More...
#include <psnpcdialog.h>
Classes | |
struct | DialogHistoryEntry |
Public Member Functions | |
void | AddToHistory (int playerID, int responseID, csTicks when) |
DialogHistory () | |
bool | EverSaid (int playerID, int responseID, csTicks &howLongAgo, int ×) |
Protected Attributes | |
int | counter |
Current location in circular buffer. | |
csArray< DialogHistoryEntry > | history |
This class right now holds a simple circular MRU list of responses, so the npc can tell if he is getting the same question over and over.
Definition at line 119 of file psnpcdialog.h.
DialogHistory::DialogHistory | ( | ) | [inline] |
Definition at line 131 of file psnpcdialog.h.
int DialogHistory::counter [protected] |
Current location in circular buffer.
Definition at line 129 of file psnpcdialog.h.
csArray<DialogHistoryEntry> DialogHistory::history [protected] |
Definition at line 128 of file psnpcdialog.h.