internal int GetPOPList(ref SteamNetworkingPOPID list, int nListSz)
 {
     return(_GetPOPList(Self, ref list, nListSz));
 }
 internal int GetPingToDataCenter(SteamNetworkingPOPID popID, ref SteamNetworkingPOPID pViaRelayPoP)
 {
     return(_GetPingToDataCenter(Self, popID, ref pViaRelayPoP));
 }
 internal int GetDirectPingToPOP(SteamNetworkingPOPID popID)
 {
     return(_GetDirectPingToPOP(Self, popID));
 }
 /// <summary>
 /// <para>/ Get *direct* ping time to the relays at the data center.</para>
 /// </summary>
 public static int GetDirectPingToPOP(SteamNetworkingPOPID popID)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamNetworkingUtils_GetDirectPingToPOP(CSteamAPIContext.GetSteamNetworkingUtils(), popID));
 }
 /// <summary>
 /// <para>/ Get list of all POP IDs.  Returns the number of entries that were filled into</para>
 /// <para>/ your list.</para>
 /// </summary>
 public static int GetPOPList(out SteamNetworkingPOPID list, int nListSz)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamNetworkingUtils_GetPOPList(CSteamAPIContext.GetSteamNetworkingUtils(), out list, nListSz));
 }
Ejemplo n.º 6
0
 public bool Equals(SteamNetworkingPOPID other) => default;                                 // 0x0000000180016320-0x0000000180016330
 public int CompareTo(SteamNetworkingPOPID other) => default;                               // 0x000000018002CB20-0x000000018002CB30
 /// <summary>
 /// <para> List of Valve data centers, and ping times to them.  This might</para>
 /// <para> be useful to you if you are use our hosting, or just need to measure</para>
 /// <para> latency to a cloud data center where we are running relays.</para>
 /// <para>/ Fetch ping time of best available relayed route from this host to</para>
 /// <para>/ the specified data center.</para>
 /// </summary>
 public static int GetPingToDataCenter(SteamNetworkingPOPID popID, out SteamNetworkingPOPID pViaRelayPoP)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamNetworkingUtils_GetPingToDataCenter(CSteamAPIContext.GetSteamNetworkingUtils(), popID, out pViaRelayPoP));
 }
        internal int GetPOPList(ref SteamNetworkingPOPID list, int nListSz)
        {
            var returnValue = _GetPOPList(Self, ref list, nListSz);

            return(returnValue);
        }
Ejemplo n.º 9
0
 public static explicit operator uint(SteamNetworkingPOPID that) => default;                // 0x0000000180322710-0x00000001803232A0
 public bool Equals(SteamNetworkingPOPID other) => default;                                 // 0x0000000180016320-0x0000000180016330
 private static extern int _GetPOPList(IntPtr self, ref SteamNetworkingPOPID list, int nListSz);
        internal int GetDirectPingToPOP(SteamNetworkingPOPID popID)
        {
            var returnValue = _GetDirectPingToPOP(Self, popID);

            return(returnValue);
        }
 private static extern int _GetDirectPingToPOP(IntPtr self, SteamNetworkingPOPID popID);
        internal int GetPingToDataCenter(SteamNetworkingPOPID popID, ref SteamNetworkingPOPID pViaRelayPoP)
        {
            var returnValue = _GetPingToDataCenter(Self, popID, ref pViaRelayPoP);

            return(returnValue);
        }
 private static extern int _GetPingToDataCenter(IntPtr self, SteamNetworkingPOPID popID, ref SteamNetworkingPOPID pViaRelayPoP);