示例#1
0
 /// <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));
     }
 }
示例#2
0
 /// <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);
 }
示例#3
0
 private static unsafe extern ErrorCode ggpo_get_network_stats(GGPOSession *session,
                                                               int player,
                                                               out GGPONetworkStats stats);