]>
jfr.im git - irc/gameservirc.git/blob - gameserv/script.h
8 class Player
; // Forward declaration
13 script(); // Default constructor
14 script(string
&str
); // Copy constructor
15 script(const char *str
); // Copy constructor
17 void setString(string
&str
);
18 void setString(const char *str
);
20 bool executeScript(Player
*p
); // Run the script against a player
21 bool loadScript(const char *filename
); // Load a script from a file - does not parse anything
23 ~script(); // Destructor