Exemple #1
0
 public BlockAttribs()
 {
     Repetitons = 1;
     Separator = null;
     Before = null;
     After = null;
     Sync = null;
 }
        public void Sync(string seed, SyncType type)
        {
            Synchronizer sync;
            if (!_synchronizers.TryGetValue(seed, out sync))
            {
                sync = _synchronizers[seed] = new Synchronizer(type, RNG.GetRaw(seed.Hash(), RNG.Seed));
                if (_pinQueue.Contains(seed)) sync.Pinned = true;
                _pinQueue.Remove(seed);
            }

            NextAttribs.Sync = sync;
        }