Enum Class AntiCheat
- All Implemented Interfaces:
Serializable
,Comparable<AntiCheat>
,Constable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
act
(UdpConnection udpConnection, String string) static void
doBanUser
(UdpConnection udpConnection, String string1, String string0) static void
doKickUser
(UdpConnection udpConnection, String string1, String string0) static void
doLogUser
(UdpConnection udpConnection, String string1, String string0) boolean
isValid
(UdpConnection udpConnection, INetworkPacket iNetworkPacket) static void
log
(UdpConnection udpConnection, AntiCheat antiCheat, int int0, String string1) static void
preUpdate
(UdpConnection udpConnection) static void
update
(UdpConnection udpConnection) static AntiCheat
Returns 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 java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
Item
-
Transaction
-
Safety
-
HitDamage
-
HitLongDistance
-
HitShortDistance
-
HitWeaponAmmo
-
HitWeaponRate
-
HitWeaponRange
-
Owner
-
Target
-
PacketRakNet
-
PacketException
-
PacketType
-
XP
-
XPUpdate
-
XPPlayer
-
Time
-
TimeUpdate
-
Recipe
-
RecipeUpdate
-
Player
-
PlayerUpdate
-
Power
-
Role
-
Capability
-
Fire
-
Smoke
-
SafeHousePlayer
-
SafeHouseSurviving
-
Speed
-
NoClip
-
Checksum
-
ChecksumUpdate
-
ServerCustomizationDDOS
-
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
-
isValid
-
update
-
preUpdate
-
log
-
act
-
doLogUser
-
doKickUser
-
doBanUser
-