AW CHAT CITIZEN
Minimum requirements | ||
---|---|---|
Added in version 4.2 | ||
SDK | build 75 |
AW_CHAT_CITIZEN
Type
Integer (read only)
Description
Session number of the user that sent a chat message.
Notes
Every registred user uses a certain citizen number at login. This citizen number can be used by SDK applications to track individual users as they move around the scene.
Usage
void handle_chat (void) { printf ("Citizen#%d just said \"%s\"\n", aw_int (AW_CHAT_CITIZEN), aw_string (AW_CHAT_MESSAGE)); } aw_event_set (AW_EVENT_CHAT, handle_chat);