Infinity.ChatBufferMessage¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
flags |
r/w |
Additional flags for the message, see |
|
length |
r/w |
The length of the message, in bytes. |
|
text |
r/w |
The UTF-8 encoded text of the message. |
|
time |
r/w |
The time at which the message was received. |
|
type |
r/w |
The |
|
user |
r/w |
The |
Methods¶
|
|
|
Details¶
- class Infinity.ChatBufferMessage¶
Represents a chat message.
- copy()¶
- Returns:
A new
Infinity.ChatBufferMessage
. Free withInfinity.ChatBufferMessage.free
() when no longer needed.- Return type:
Creates a copy of the given message.
- free()¶
Frees the given
Infinity.ChatBufferMessage
which must have been created withInfinity.ChatBufferMessage.copy
().