Planeshift
|
This stores the text the player has entered into their edit window. More...
#include <chatwindow.h>
Public Member Functions | |
unsigned int | curLoc () |
csString * | GetCommand (int n) |
Get a string that is in the history. | |
csString * | GetNext () |
return the next (temporally) command from history | |
csString * | GetPrev () |
return the prev (temporally) command from history | |
void | Insert (const char *str) |
Insert a new string that the player has entered. | |
pawsChatHistory () | |
void | SetGetLoc (unsigned int pos) |
~pawsChatHistory () |
This stores the text the player has entered into their edit window.
It keeps all the commands that the player has entered in sequential order. This can be normal chatting or different /commands.
Definition at line 351 of file chatwindow.h.
pawsChatHistory::pawsChatHistory | ( | ) |
pawsChatHistory::~pawsChatHistory | ( | ) |
Definition at line 375 of file chatwindow.h.
csString* pawsChatHistory::GetCommand | ( | int | n | ) |
Get a string that is in the history.
n | The index of the string to get. |
csString* pawsChatHistory::GetNext | ( | ) |
return the next (temporally) command from history
csString* pawsChatHistory::GetPrev | ( | ) |
return the prev (temporally) command from history
void pawsChatHistory::Insert | ( | const char * | str | ) |
Insert a new string that the player has entered.
str | The new string to add to the history. |
Definition at line 374 of file chatwindow.h.