Package ch.njol.skript.variables.SerializedVariable

Examples of ch.njol.skript.variables.SerializedVariable.Value


    }
   
    for (final VariablesStorage s : storages) {
      if (s.accept(name)) {
        if (s != source) {
          final Value v = serialize(value);
          s.save(name, v != null ? v.type : null, v != null ? v.data : null);
          if (value != null)
            source.save(name, null, null);
        }
        return true;
View Full Code Here


      @Override
      public void run() {
        while (!closed) {
          try {
            final SerializedVariable var = changesQueue.take();
            final Value d = var.value;
            if (d != null)
              save(var.name, d.type, d.data);
            else
              save(var.name, null, null);
          } catch (final InterruptedException e) {}
View Full Code Here

TOP

Related Classes of ch.njol.skript.variables.SerializedVariable.Value

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.