Package skadistats.clarity.model.engine
Class CsGoEngineType
- java.lang.Object
-
- skadistats.clarity.model.engine.AbstractEngineType
-
- skadistats.clarity.model.engine.CsGoEngineType
-
- All Implemented Interfaces:
EngineType
public class CsGoEngineType extends AbstractEngineType
-
-
Field Summary
Fields Modifier and Type Field Description static byte
dem_consolecmd
static byte
dem_customdata
static byte
dem_datatables
static byte
dem_packet
static byte
dem_signon
static byte
dem_stop
static byte
dem_stringtables
static byte
dem_synctick
static byte
dem_usercmd
-
Fields inherited from class skadistats.clarity.model.engine.AbstractEngineType
packetReader
-
-
Constructor Summary
Constructors Constructor Description CsGoEngineType(EngineId identifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
determineLastTick(Source source)
Class<? extends com.google.protobuf.GeneratedMessage>
embeddedPacketClassForKind(int kind)
void
emitHeader()
Integer
getExpectedFullPacketInterval()
float
getMillisPerTick()
FieldReader
getNewFieldReader()
<T extends com.google.protobuf.GeneratedMessage>
PacketInstance<T>getNextPacketInstance(Source source)
boolean
handleDeletions()
boolean
isFullPacketSeekAllowed()
boolean
isUserMessage(Class<? extends com.google.protobuf.GeneratedMessage> clazz)
void
onPostSendTable(skadistats.clarity.wire.s1.proto.S1NetMessages.CSVCMsg_SendTable message, BitStream bs)
void
readCommandInfo(Source source)
int
readEmbeddedKind(BitStream bs)
void
readHeader(Source source)
void
skipCommandInfo(Source source)
void
skipHeader(Source source)
Class<? extends com.google.protobuf.GeneratedMessage>
userMessagePacketClassForKind(int kind)
-
Methods inherited from class skadistats.clarity.model.engine.AbstractEngineType
emptyHandle, getId, getIndexBits, getSerialBits, handleForIndexAndSerial, indexForHandle, isSendTablesContainer, serialForHandle, toString
-
-
-
-
Field Detail
-
dem_signon
public static final byte dem_signon
- See Also:
- Constant Field Values
-
dem_packet
public static final byte dem_packet
- See Also:
- Constant Field Values
-
dem_synctick
public static final byte dem_synctick
- See Also:
- Constant Field Values
-
dem_consolecmd
public static final byte dem_consolecmd
- See Also:
- Constant Field Values
-
dem_usercmd
public static final byte dem_usercmd
- See Also:
- Constant Field Values
-
dem_datatables
public static final byte dem_datatables
- See Also:
- Constant Field Values
-
dem_stop
public static final byte dem_stop
- See Also:
- Constant Field Values
-
dem_customdata
public static final byte dem_customdata
- See Also:
- Constant Field Values
-
dem_stringtables
public static final byte dem_stringtables
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CsGoEngineType
public CsGoEngineType(EngineId identifier)
-
-
Method Detail
-
getMillisPerTick
public float getMillisPerTick()
-
isFullPacketSeekAllowed
public boolean isFullPacketSeekAllowed()
-
getExpectedFullPacketInterval
public Integer getExpectedFullPacketInterval()
-
handleDeletions
public boolean handleDeletions()
- Specified by:
handleDeletions
in interfaceEngineType
- Overrides:
handleDeletions
in classAbstractEngineType
-
embeddedPacketClassForKind
public Class<? extends com.google.protobuf.GeneratedMessage> embeddedPacketClassForKind(int kind)
-
userMessagePacketClassForKind
public Class<? extends com.google.protobuf.GeneratedMessage> userMessagePacketClassForKind(int kind)
-
isUserMessage
public boolean isUserMessage(Class<? extends com.google.protobuf.GeneratedMessage> clazz)
-
getNewFieldReader
public FieldReader getNewFieldReader()
-
readHeader
public void readHeader(Source source) throws IOException
- Throws:
IOException
-
skipHeader
public void skipHeader(Source source) throws IOException
- Throws:
IOException
-
emitHeader
public void emitHeader()
-
determineLastTick
public int determineLastTick(Source source) throws IOException
- Throws:
IOException
-
readEmbeddedKind
public int readEmbeddedKind(BitStream bs)
-
getNextPacketInstance
public <T extends com.google.protobuf.GeneratedMessage> PacketInstance<T> getNextPacketInstance(Source source) throws IOException
- Throws:
IOException
-
onPostSendTable
public void onPostSendTable(skadistats.clarity.wire.s1.proto.S1NetMessages.CSVCMsg_SendTable message, BitStream bs)
-
readCommandInfo
public void readCommandInfo(Source source) throws IOException
- Throws:
IOException
-
skipCommandInfo
public void skipCommandInfo(Source source) throws IOException
- Throws:
IOException
-
-