Package ac.boar.anticheat.check.api
Class BaseCheck
java.lang.Object
ac.boar.anticheat.check.api.BaseCheck
- All Implemented Interfaces:
Check
- Direct Known Subclasses:
BadPacketA,BadPacketB,DebugOffsetA,Inventory,Prediction,Reach,ServerBreakBlockValidator,Timer,Velocity
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBaseCheck(BoarPlayer player) BaseCheck(BoarPlayer player, String name, String type, boolean experimental) BaseCheck(BoarPlayer player, String name, String type, boolean experimental, Class<?> origin) Makes a check that reportsoriginas its owner. -
Method Summary
-
Field Details
-
player
-
-
Constructor Details
-
BaseCheck
-
BaseCheck
-
BaseCheck
public BaseCheck(BoarPlayer player, String name, String type, boolean experimental, Class<?> origin) Makes a check that reportsoriginas its owner. A typed sub-check uses this constructor to keep the class of the parent check that made it.- Parameters:
origin- the class that owns the flag, or null to use the class of this check
-
-
Method Details
-
origin
Description copied from interface:CheckThe check class that owns this flag. A typed sub-check keeps the class of its parent check. Use this value to find which integration registered the check. Two integrations can register checks with the same name, so the name alone does not identify the owner. -
name
-
type
-
experimental
public boolean experimental()- Specified by:
experimentalin interfaceCheck
-
vl
public int vl() -
fail
public void fail() -
fail
-
fail
-
fail
-
getDisplayName
-