Class ValueStoreValidator

java.lang.Object
com.hypixel.hytale.server.npc.valuestore.ValueStoreValidator

public class ValueStoreValidator extends Object
Used to validate ValueStore instances within an NPC script.

We mainly validate value slots with exclusive writes to ensure that only a single writer can update them. We don't validate to read/write match-ups because some systems may write values inherently that the scripter doesn't care about and should be free to ignore. In cases where a value is read but no value is written, we simply return a marker value indicating that no value was written.

Since:
2021/03/05
  • Constructor Details

    • ValueStoreValidator

      public ValueStoreValidator()
  • Method Details