/// <summary> /// When ping server invoke this. /// </summary> public void Ping() { lastSend = timeMgr == null ? 0 : timeMgr.GetTime(); DataSync.Ping(); }