Vixen
c7401864
csharp
public sealed class MemoryLockoutStore

An ILockoutStore in memory. For tests and single-process games.

Read the guide page for this →

Fields and properties (1)

  • public int Count

    How many it holds.

Methods (3)

  • public Lockout? Find(PlayerId subject, DefId instance, string difficulty)

    What somebody is locked to.

  • public void Save(Lockout lockout)

    Records or extends one.

  • public int Purge(double now)

    Forgets whatever has lifted.

Used by (2)

  • InstanceRunTestsVixen.Gameplay.Instances.Tests
  • LockoutTestsVixen.Gameplay.Instances.Tests