Enum Class AntiCheat
- All Implemented Interfaces:
Serializable, Comparable<AntiCheat>, Constable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidact(UdpConnection connection, String text) static voiddoBanUser(UdpConnection connection, String issuedBy, String text) static voiddoKickUser(UdpConnection connection, String issuedBy, String text) static voiddoLogUser(UdpConnection connection, String issuedBy, String text) booleanbooleanisValid(UdpConnection connection, INetworkPacket packet) static voidlog(UdpConnection connection, AntiCheat antiCheat, int counter, String text) static voidpreUpdate(UdpConnection connection) static voidupdate(UdpConnection connection) static AntiCheatReturns the enum constant of this class with the specified name.static AntiCheat[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
Transaction
-
Safety
-
HitDamage
-
HitLongDistance
-
HitShortDistance
-
HitWeaponAmmo
-
HitWeaponRate
-
HitWeaponRange
-
Target
-
PacketRakNet
-
PacketException
-
PacketType
-
XPUpdate
-
Recipe
-
RecipeUpdate
-
Player
-
PlayerUpdate
-
Power
-
Capability
-
SafeHousePlayer
-
SafeHouseSurviving
-
Speed
-
NoClip
-
Checksum
-
ChecksumUpdate
-
None
-
-
Field Details
-
anticheat
-
option
-
maxSuspiciousCounter
public final int maxSuspiciousCounter
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
isEnabled
public boolean isEnabled() -
isValid
-
update
-
preUpdate
-
log
-
act
-
doLogUser
-
doKickUser
-
doBanUser
-