Skip to main content

Module chat

Module chat 

Source

StructsΒ§

Chat
Ids πŸ”’
InputState πŸ”’
MessageBacklog
Chat messages received from the client before entering the SessionState.
State

EnumsΒ§

Event

ConstantsΒ§

CHAT_ICON_HEIGHT πŸ”’
CHAT_ICON_WIDTH πŸ”’
CHAT_MARGIN_THICKNESS πŸ”’
CHAT_TAB_ALL_WIDTH πŸ”’
CHAT_TAB_HEIGHT πŸ”’
MAX_DIMENSION πŸ”’
MAX_MESSAGES
MIN_DIMENSION πŸ”’
_IMPL_WIDGET_COMMON_FOR_Chat πŸ”’

FunctionsΒ§

change_chat_mode πŸ”’
Change the chat mode if we have a ServerChatCommand that corresponds to a chat region (i.e. World, Region, Say, etc.).
cursor_offset_to_index πŸ”’
do_tab_completion πŸ”’
is_muted
Determines whether a message is from a muted player.
parse_cmd πŸ”’
render_chat_line πŸ”’
Get the color and icon for the current line in the chat box
render_chat_mode πŸ”’
Get the color and icon for a client’s ChatMode.
show_in_chatbox
Determines whether a message will be sent to the chat box.