Enum Class AntiCheat

java.lang.Object
java.lang.Enum<AntiCheat>
zombie.network.anticheats.AntiCheat
All Implemented Interfaces:
Serializable, Comparable<AntiCheat>, Constable

public enum AntiCheat extends Enum<AntiCheat>
  • Enum Constant Details

    • Safety

      public static final AntiCheat Safety
    • HitDamage

      public static final AntiCheat HitDamage
    • HitVehicle

      public static final AntiCheat HitVehicle
    • HitLongDistance

      public static final AntiCheat HitLongDistance
    • HitShortDistance

      public static final AntiCheat HitShortDistance
    • HitWeapon

      public static final AntiCheat HitWeapon
    • PacketRakNet

      public static final AntiCheat PacketRakNet
    • PacketException

      public static final AntiCheat PacketException
    • PacketType

      public static final AntiCheat PacketType
    • XPUpdate

      public static final AntiCheat XPUpdate
    • ChecksumUpdate

      public static final AntiCheat ChecksumUpdate
    • Target

      public static final AntiCheat Target
    • Player

      public static final AntiCheat Player
    • PlayerUpdate

      public static final AntiCheat PlayerUpdate
    • Power

      public static final AntiCheat Power
    • Capability

      public static final AntiCheat Capability
    • SafeHouseOwner

      public static final AntiCheat SafeHouseOwner
    • SafeHouseMember

      public static final AntiCheat SafeHouseMember
    • SafeHousePlayer

      public static final AntiCheat SafeHousePlayer
    • Speed

      public static final AntiCheat Speed
    • NoClip

      public static final AntiCheat NoClip
    • None

      public static final AntiCheat None
  • Field Details

  • Method Details

    • values

      public static AntiCheat[] 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

      public static AntiCheat valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • isEnabled

      public boolean isEnabled()
    • isValid

      public boolean isValid(UdpConnection connection, INetworkPacket packet)
    • update

      public static void update(UdpConnection connection)
    • log

      public static void log(UdpConnection connection, String message)
    • log

      public static void log(UdpConnection connection, AntiCheat antiCheat, int counter, String text)
    • act

      public void act(UdpConnection connection, String text)
    • doLogUser

      public static void doLogUser(UdpConnection connection, String issuedBy, String text)
    • doKickUser

      public static void doKickUser(UdpConnection connection, String issuedBy, String text)
    • doBanUser

      public static void doBanUser(UdpConnection connection, String issuedBy, String text)