AW CHAT SESSION
Jump to navigation
Jump to search
Minimum requirements | ||
---|---|---|
Added in version 2.1 | ||
SDK | build 13 |
AW_CHAT_SESSION
Type
Integer (read only)
Description
Session number of the user that sent a chat message.
Notes
Every user (and every bot) is assigned a unique session number at login. This session number can be used by SDK applications to track individual users as they move around the scene.
Usage
void handle_chat (void) { printf ("%d just said \"%s\"\n", aw_int (AW_CHAT_SESSION), aw_string (AW_CHAT_MESSAGE)); } aw_event_set (AW_EVENT_CHAT, handle_chat);