public ID6(TinyMT rng) { Status = rng.CurrentState(); RandNum = rng.Nextuint(); TID = (ushort)(RandNum & 0xFFFF); SID = (ushort)(RandNum >> 16); TSV = (ushort)((TID ^ SID) >> 4); }
private void parseseed(uint seed) { var rng = new TinyMT(seed); lock (_locker) { seedlist.Add(rng.CurrentState().ToString()); UpdateTable(null); } }