Class CheatSafeLong

java.lang.Object
com.prineside.tdi2.utils.CheatSafeLong
All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable

public final class CheatSafeLong extends Object implements com.esotericsoftware.kryo.KryoSerializable
  • Field Details

  • Constructor Details

    • CheatSafeLong

      public CheatSafeLong(long value, long setOnCheat)
  • Method Details

    • write

      public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output)
      Specified by:
      write in interface com.esotericsoftware.kryo.KryoSerializable
    • read

      public void read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input)
      Specified by:
      read in interface com.esotericsoftware.kryo.KryoSerializable
    • getSetOnCheat

      public long getSetOnCheat()
    • get

      public long get()
    • set

      public void set(long newValue)
    • add

      public void add(long amount)
    • sub

      public void sub(long amount)
    • toString

      public String toString()
      Overrides:
      toString in class Object