/// <summary> /// Used to fetch some statistics about the quality of the network connection. /// </summary> /// <param name="playerHandle">The player handle returned from the AddPlayer function /// you used to add the remote player.</param> /// <param name="stats">Out parameter to the network statistics.</param> /// <returns></returns> public ErrorCode GetNetworkStats(int playerHandle, out GGPONetworkStats stats) { unsafe { return(ggpo_get_network_stats(session, playerHandle, out stats)); } }
/// <summary> /// Used to fetch some statistics about the quality of the network connection. /// </summary> /// <param name="playerHandle">The player handle returned from the AddPlayer function you used /// to add the remote player.</param> /// <param name="stats">Out parameter to the network statistics.</param> /// <returns><see cref="GGPOErrorCode"/> result of the operation.</returns> public virtual GGPOErrorCode GetNetworkStats(int playerHandle, out GGPONetworkStats stats) { stats = null; return(GGPOErrorCode.OK); }
private static unsafe extern ErrorCode ggpo_get_network_stats(GGPOSession *session, int player, out GGPONetworkStats stats);