SamplesPerPing
Namespace: SynicSugar.P2P
Class: p2pConfig
public byte SamplesPerPing;
Description
Number of samples to calculate one ping.
Currently 1 is recommended. This uses the same PacketReceiver for connection. The more samples this need, the larger ping this gets now.
using SynicSugar.P2P;
public class p2pConfigManager {
void Setp2pConfig(){
p2pConfig.Instance.SamplesPerPing = 10;
}
}