New function for generating list of all connected clients #6840
Mathiaszero
started this conversation in
Scripting
Replies: 1 comment
-
I believe you can use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In ENetMultiplayerPeer, there does not seem to be a way to generate a list of all connected clients. There should probably be something like list_connections(max size) that would generate an array of all connected ids, with specifying an optional max value in case the server has a long list of connected clients. Because it is an array, the coder can count the array elements to get the total number also.
Beta Was this translation helpful? Give feedback.
All reactions