AutoRefreshPing
Namespace: SynicSugar.P2P
Class: p2pConfig
public bool AutoRefreshPing;
Description
Get new ping automatically or not.
Getting ping calculates a ping by calling Rpc. So, if don't need ping, should set to False. Ping can also be updated manually by p2pInfo.instance.RefreshPing().
using SynicSugar.P2P;
public class p2pConfigManager {
void Setp2pConfig(){
p2pConfig.Instance.AutoRefreshPing = false;
}
}