skadistats.clarity.io.FieldReader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clarity Show documentation
Show all versions of clarity Show documentation
Clarity is an open source replay parser for Dota 2, CSGO, CS2 and Deadlock written in Java.
package skadistats.clarity.io;
import skadistats.clarity.io.bitstream.BitStream;
import skadistats.clarity.model.DTClass;
import skadistats.clarity.model.FieldPath;
import java.io.PrintStream;
public abstract class FieldReader {
public static final int MAX_PROPERTIES = 0x3FFF;
public static PrintStream DEBUG_STREAM = System.out;
protected final FieldPath[] fieldPaths = new FieldPath[MAX_PROPERTIES];
public abstract FieldChanges readFields(BitStream bs, DTClass dtClass, boolean debug);
public abstract int readDeletions(BitStream bs, int indexBits, int[] deletions);
}