Class PlayerSkin

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

public class PlayerSkin extends Object
  • Field Details

    • NULLABLE_BIT_FIELD_SIZE

      public static final int NULLABLE_BIT_FIELD_SIZE
      See Also:
    • FIXED_BLOCK_SIZE

      public static final int FIXED_BLOCK_SIZE
      See Also:
    • VARIABLE_FIELD_COUNT

      public static final int VARIABLE_FIELD_COUNT
      See Also:
    • VARIABLE_BLOCK_START

      public static final int VARIABLE_BLOCK_START
      See Also:
    • MAX_SIZE

      public static final int MAX_SIZE
      See Also:
    • bodyCharacteristic

      @Nullable public String bodyCharacteristic
    • underwear

      @Nullable public String underwear
    • face

      @Nullable public String face
    • eyes

      @Nullable public String eyes
    • ears

      @Nullable public String ears
    • mouth

      @Nullable public String mouth
    • facialHair

      @Nullable public String facialHair
    • haircut

      @Nullable public String haircut
    • eyebrows

      @Nullable public String eyebrows
    • pants

      @Nullable public String pants
    • overpants

      @Nullable public String overpants
    • undertop

      @Nullable public String undertop
    • overtop

      @Nullable public String overtop
    • shoes

      @Nullable public String shoes
    • headAccessory

      @Nullable public String headAccessory
    • faceAccessory

      @Nullable public String faceAccessory
    • earAccessory

      @Nullable public String earAccessory
    • skinFeature

      @Nullable public String skinFeature
    • gloves

      @Nullable public String gloves
    • cape

      @Nullable public String cape
  • Constructor Details

    • PlayerSkin

      public PlayerSkin()
    • PlayerSkin

      public PlayerSkin(@Nullable String bodyCharacteristic, @Nullable String underwear, @Nullable String face, @Nullable String eyes, @Nullable String ears, @Nullable String mouth, @Nullable String facialHair, @Nullable String haircut, @Nullable String eyebrows, @Nullable String pants, @Nullable String overpants, @Nullable String undertop, @Nullable String overtop, @Nullable String shoes, @Nullable String headAccessory, @Nullable String faceAccessory, @Nullable String earAccessory, @Nullable String skinFeature, @Nullable String gloves, @Nullable String cape)
    • PlayerSkin

      public PlayerSkin(@Nonnull PlayerSkin other)
  • Method Details

    • deserialize

      @Nonnull public static PlayerSkin 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 PlayerSkin 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