Get all clients id on a room
how do i get all the clients id on a room without any avatarmanager? idk why kappa.ai can't give the correct code.
3 Replies
Hi @KUTE BONAPARTE. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
I apologize, but based on the provided knowledge sources, there isn't specific information on how to get all client IDs in a room without using an avatar manager. The documentation doesn't provide a direct method for this purpose.
However, I can offer some general insights based on the Normcore architecture:
1. The Room (https://normcore.io/documentation/room/room) class manages connections to the room server and contains information about the room state. It might have methods or properties to access connected clients, but this isn't explicitly mentioned in the provided documentation.
2. The Realtime (https://normcore.io/documentation/realtime/realtime) API is designed to manage rooms and datastores, so it might have functionality to retrieve client information, but again, this isn't explicitly stated in the given sources.
3. The RealtimeAvatarManager (https://normcore.io/documentation/realtime/xr/avatars) class is mentioned to keep track of avatars in the room via the
avatars
property, which is a dictionary of RealtimeAvatar
components stored under the clientID
. However, you specifically asked for a method without using an avatar manager.
Without more detailed documentation or access to the full API reference, I can't provide a definitive answer or code snippet for getting all client IDs without an avatar manager. If this functionality exists, it's not clearly described in the provided knowledge sources.
For the most accurate and up-to-date information, I recommend checking the latest Normcore documentation or reaching out to Normal VR's support channels for specific guidance on this matter.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------<@785692603684225025> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
The RealtimeAvatarManager approach is the correct one