skadistats.clarity.io.s1.SendTable 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.s1;
import java.util.List;
public class SendTable {
private final String netTableName;
private final List props;
public SendTable(String netTableName, List props) {
this.netTableName = netTableName;
this.props = props;
}
public String getNetTableName() {
return netTableName;
}
public List getSendProps() {
return props;
}
public String getBaseClass() {
for (var sp : props) {
if ("baseclass".equals(sp.getVarName())) {
return sp.getDtName();
}
}
return null;
}
}