StructsΒ§
- Chat
- Ids π
- Input
State π - Message
Backlog - Chat messages received from the client before entering the
SessionState
. - State
EnumsΒ§
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.