Пример #1
0
    /// <summary>
    /// Getting a client GUID by index
    /// </summary>
    public ulong GetGUIDFromIndex(uint index)
    {
        if (peer == null)
        {
            return(0);
        }

        return(peer.GetGUIDFromIndex(index));
    }
Пример #2
0
 /// <summary>
 /// The average ping between the client and the server
 /// </summary>
 public int GetAveragePing()
 {
     return(peer.GetAveragePing(peer.GetGUIDFromIndex(0)));
 }