Package com.hypixel.hytale.protocol
Class PlayerSkin
java.lang.Object
com.hypixel.hytale.protocol.PlayerSkin
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionPlayerSkin(PlayerSkin other) PlayerSkin(String bodyCharacteristic, String underwear, String face, String eyes, String ears, String mouth, String facialHair, String haircut, String eyebrows, String pants, String overpants, String undertop, String overtop, String shoes, String headAccessory, String faceAccessory, String earAccessory, String skinFeature, String gloves, String cape) -
Method Summary
Modifier and TypeMethodDescriptionclone()static intcomputeBytesConsumed(io.netty.buffer.ByteBuf buf, int offset) intstatic PlayerSkindeserialize(io.netty.buffer.ByteBuf buf, int offset) booleaninthashCode()voidserialize(io.netty.buffer.ByteBuf buf) static ValidationResultvalidateStructure(io.netty.buffer.ByteBuf buffer, int offset)
-
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
-
underwear
-
face
-
eyes
-
ears
-
mouth
-
facialHair
-
haircut
-
eyebrows
-
pants
-
overpants
-
undertop
-
overtop
-
shoes
-
headAccessory
-
faceAccessory
-
earAccessory
-
skinFeature
-
gloves
-
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
-
-
Method Details
-
deserialize
-
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
-
equals
-
hashCode
public int hashCode()
-