コード例 #1
0
    internal TeamLockResult(TeamLock teamSpec, uint originSeed, int tsv)
    {
        Locks = new Stack <NPCLock>((Specifications = teamSpec).Locks);
        Team  = new Stack <SeedFrame>(Locks.Count);
        Cache = new FrameCache(RNG.XDRNG.Reverse(originSeed, 2), RNG.XDRNG.Prev);
        TSV   = tsv;

        Valid = FindLockSeed();
        if (Valid)
        {
            OriginSeed = Cache.GetSeed(OriginFrame);
        }
    }