public override void OnRecived(RemoteClient from, Client to) { base.OnRecived(from, to); Environment.ParentClient.Log(LogLevel.Info, "{0}: Дать синхронизацию", from); var env = Environment; if (to.Synchronized && env.IsNearest(from, to, to.RemoteClients.Where(x => x.Synchronized).ToList())) from.Send(new SyncMessage()); }
public override void OnRecived(RemoteClient from, Client to) { base.OnRecived(from, to); from.Send(new SyncMessage()); }