Package lev

Examples of lev.LFlags


  }

  @Override
  void parseData(LImport in, Mod srcMod) throws BadRecord, BadParameter, DataFormatException {
      super.parseData(in, srcMod);
      flags = new LFlags(2);
      flags.set(in.extract(2));
      hoursReset = in.extractInt(2);
  }
View Full Code Here


    void export(ModExporter out) throws IOException {
  super.export(out);
  //Flags and Operator
  int operatorInt = operator.ordinal();
  operatorInt *= 32;
  LFlags tmp = new LFlags(Ln.toByteArray(operatorInt, 1));
  for (int i = 0; i < 5; i++) {
      tmp.set(i, flags.get(i));
  }
  out.write(tmp.export(), 1);
  out.write(fluff, 3);

  //Value
  if (get(Condition.CondFlag.UseGlobal)) {
      // This FormID is flipped, so it's an odd export.
View Full Code Here

TOP

Related Classes of lev.LFlags

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.