Lua Chat System — Client API — ChatChannelUI
Lua Chat System — Client API — ChatChannelUI
The ChatChannelUI is the client-side version of ChatChannel. It receives ChatMessages from the server and passes them on to the ChatMessageLogDisplay associated with it.
Properties
MessageLogDisplay
- Type: ChatMessageLogDisplay
- Description: The ChatMessageLogDisplay of the ChatChannelUI.
Methods
AddMessageToChannel
- Parameters: ChatMessage message
- Description: Adds a chat message received from the server to the ChatMessageLogDisplay
- Returns: void
RemoveLastMessageFromChannel
- Parameters: None
- Description: Removes the oldest ChatMessage found in the ChatMessageLogDisplay
- Returns: void
ClearMessageLog
- Parameters: None
- Description: Removes all ChatMessages in the ChatMessageLogDisplay
- Returns: void