Class TargetedDamage

java.lang.Object
com.hypixel.hytale.protocol.TargetedDamage

public class TargetedDamage extends Object
  • Field Details

  • Constructor Details

    • TargetedDamage

      public TargetedDamage()
    • TargetedDamage

      public TargetedDamage(int index, @Nullable DamageEffects damageEffects, int next)
    • TargetedDamage

      public TargetedDamage(@Nonnull TargetedDamage other)
  • Method Details

    • deserialize

      @Nonnull public static TargetedDamage deserialize(@Nonnull io.netty.buffer.ByteBuf buf, int offset)
    • computeBytesConsumed

      public static int computeBytesConsumed(@Nonnull io.netty.buffer.ByteBuf buf, int offset)
    • serialize

      public void serialize(@Nonnull io.netty.buffer.ByteBuf buf)
    • computeSize

      public int computeSize()
    • validateStructure

      public static ValidationResult validateStructure(@Nonnull io.netty.buffer.ByteBuf buffer, int offset)
    • clone

      public TargetedDamage clone()
      Overrides:
      clone in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object