lucaspoffo / renet

Server/Client network library for multiplayer games with authentication and connection management made with Rust
Apache License 2.0
685 stars 68 forks source link

Provide `RenetClient::client_id` #153

Open Shatur opened 9 months ago

Shatur commented 9 months ago

Right now in order to access to ClientId on client I need to interact with NetcodeClientTransport::client_id. It would be convenient to being able to obtain CleintId in a transport-independent way. Could you provide something like RenetClient::client_id by also storing it inside RenetClient?