Drag[en]gine Script Module DragonScript Script API
1.0
|
Public Member Functions | |
String | getMessage () |
int | getTimeStamp () |
String | getUser () |
bool | isSystemMessage () |
ConsoleMessage | new (int timeStamp, String user, String message) |
Public Attributes | |
String | pMessage |
int | pTimeStamp |
String | pUser |
Contains a message send to the console. Stored is the timestamp of the message, the user that send the message and the message itself.
String getMessage | ( | ) |
Retrieves the message send
int getTimeStamp | ( | ) |
Retrieves the time stamp of the message
String getUser | ( | ) |
Retrieves the user sending the message. This is null if no user but the system has send the message.
bool isSystemMessage | ( | ) |
Determines if this is a System Message. System messages do have no user assigned.
ConsoleMessage new | ( | int | timeStamp, |
String | user, | ||
String | message | ||
) |
Create a new message. If the message comes from the system and thus from no specific user the user has to be the empty string.
timeStamp | TimeStamp of the message |
user | User sending the message or null if the system |
message | The message itself |
String pMessage |
The message
int pTimeStamp |
Timestamp of the message
String pUser |
User sending the message