TorchAPI / Torch

An extensible modding framework and improved client/DS for Space Engineers. Still a work in progress!
Apache License 2.0
146 stars 76 forks source link

Player list should show relay status and ping #133

Closed Equinox- closed 2 years ago

Equinox- commented 7 years ago

The server side player list should include some useful debugging info.

MyP2PSessionState myP2PSessionState = default(MyP2PSessionState);
MyGameService.Peer2Peer.GetSessionState(clientID?, ref myP2PSessionState);
myP2PSessionState.UsingRelay;

Ping seems to not be recorded. Possibly use the ACKs of reliable packet transmission.