UCL-VR / ubiq

Other
98 stars 34 forks source link

Status Indicators #3

Closed sebjf closed 3 years ago

sebjf commented 3 years ago

This PR implements status indicators and their supporting logic.

Status indicators have been added above remote avatars, and the option to post notifications to the local player. These indicators are linked to the audio chat state (for remote avatars) and a heartbeat for the server (for the local player).

The server and RoomClient have been extended to support a parameterless Ping message, and the RoomClient to use this to monitor connectivity with the server.

Currently, the server does not monitor connectivity with individual clients. Neither is the timeout exposed as a general purpose callback, though any user code may register for the PlayerNotification.