Contents
- Description
- Field Summary
- Constructor Summary
- Method Summary
- Field Details
- Constructor Details
- Method Details
- requireBounds(MemorySegment, int)
- getBodyCharacteristic(MemorySegment)
- getBodyCharacteristic(MemorySegment, int)
- getUnderwear(MemorySegment)
- getUnderwear(MemorySegment, int)
- getFace(MemorySegment)
- getFace(MemorySegment, int)
- getEyes(MemorySegment)
- getEyes(MemorySegment, int)
- getEars(MemorySegment)
- getEars(MemorySegment, int)
- getMouth(MemorySegment)
- getMouth(MemorySegment, int)
- getFacialHair(MemorySegment)
- getFacialHair(MemorySegment, int)
- getHaircut(MemorySegment)
- getHaircut(MemorySegment, int)
- getEyebrows(MemorySegment)
- getEyebrows(MemorySegment, int)
- getPants(MemorySegment)
- getPants(MemorySegment, int)
- getOverpants(MemorySegment)
- getOverpants(MemorySegment, int)
- getUndertop(MemorySegment)
- getUndertop(MemorySegment, int)
- getOvertop(MemorySegment)
- getOvertop(MemorySegment, int)
- getShoes(MemorySegment)
- getShoes(MemorySegment, int)
- getHeadAccessory(MemorySegment)
- getHeadAccessory(MemorySegment, int)
- getFaceAccessory(MemorySegment)
- getFaceAccessory(MemorySegment, int)
- getEarAccessory(MemorySegment)
- getEarAccessory(MemorySegment, int)
- getSkinFeature(MemorySegment)
- getSkinFeature(MemorySegment, int)
- getGloves(MemorySegment)
- getGloves(MemorySegment, int)
- getCape(MemorySegment)
- getCape(MemorySegment, int)
- hasBodyCharacteristic(MemorySegment, int)
- hasUnderwear(MemorySegment, int)
- hasFace(MemorySegment, int)
- hasEyes(MemorySegment, int)
- hasEars(MemorySegment, int)
- hasMouth(MemorySegment, int)
- hasFacialHair(MemorySegment, int)
- hasHaircut(MemorySegment, int)
- hasEyebrows(MemorySegment, int)
- hasPants(MemorySegment, int)
- hasOverpants(MemorySegment, int)
- hasUndertop(MemorySegment, int)
- hasOvertop(MemorySegment, int)
- hasShoes(MemorySegment, int)
- hasHeadAccessory(MemorySegment, int)
- hasFaceAccessory(MemorySegment, int)
- hasEarAccessory(MemorySegment, int)
- hasSkinFeature(MemorySegment, int)
- hasGloves(MemorySegment, int)
- hasCape(MemorySegment, int)
- toObject(MemorySegment)
- toObject(MemorySegment, int)
- toObject(MemorySegment, int, ReadCursor)
- serialize(MemorySegment, int)
- computeSize()
- clone()
- equals(Object)
- hashCode()
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()intbooleanstatic Stringstatic StringgetBodyCharacteristic(MemorySegment mem, int offset) static StringgetCape(MemorySegment mem) static StringgetCape(MemorySegment mem, int offset) static Stringstatic StringgetEarAccessory(MemorySegment mem, int offset) static StringgetEars(MemorySegment mem) static StringgetEars(MemorySegment mem, int offset) static StringgetEyebrows(MemorySegment mem) static StringgetEyebrows(MemorySegment mem, int offset) static StringgetEyes(MemorySegment mem) static StringgetEyes(MemorySegment mem, int offset) static StringgetFace(MemorySegment mem) static StringgetFace(MemorySegment mem, int offset) static Stringstatic StringgetFaceAccessory(MemorySegment mem, int offset) static Stringstatic StringgetFacialHair(MemorySegment mem, int offset) static StringgetGloves(MemorySegment mem) static StringgetGloves(MemorySegment mem, int offset) static StringgetHaircut(MemorySegment mem) static StringgetHaircut(MemorySegment mem, int offset) static Stringstatic StringgetHeadAccessory(MemorySegment mem, int offset) static StringgetMouth(MemorySegment mem) static StringgetMouth(MemorySegment mem, int offset) static Stringstatic StringgetOverpants(MemorySegment mem, int offset) static StringgetOvertop(MemorySegment mem) static StringgetOvertop(MemorySegment mem, int offset) static StringgetPants(MemorySegment mem) static StringgetPants(MemorySegment mem, int offset) static StringgetShoes(MemorySegment mem) static StringgetShoes(MemorySegment mem, int offset) static Stringstatic StringgetSkinFeature(MemorySegment mem, int offset) static StringgetUndertop(MemorySegment mem) static StringgetUndertop(MemorySegment mem, int offset) static Stringstatic StringgetUnderwear(MemorySegment mem, int offset) static booleanhasBodyCharacteristic(MemorySegment mem, int offset) static booleanhasCape(MemorySegment mem, int offset) static booleanhasEarAccessory(MemorySegment mem, int offset) static booleanhasEars(MemorySegment mem, int offset) static booleanhasEyebrows(MemorySegment mem, int offset) static booleanhasEyes(MemorySegment mem, int offset) static booleanhasFace(MemorySegment mem, int offset) static booleanhasFaceAccessory(MemorySegment mem, int offset) static booleanhasFacialHair(MemorySegment mem, int offset) static booleanhasGloves(MemorySegment mem, int offset) static booleanhasHaircut(MemorySegment mem, int offset) inthashCode()static booleanhasHeadAccessory(MemorySegment mem, int offset) static booleanhasMouth(MemorySegment mem, int offset) static booleanhasOverpants(MemorySegment mem, int offset) static booleanhasOvertop(MemorySegment mem, int offset) static booleanhasPants(MemorySegment mem, int offset) static booleanhasShoes(MemorySegment mem, int offset) static booleanhasSkinFeature(MemorySegment mem, int offset) static booleanhasUndertop(MemorySegment mem, int offset) static booleanhasUnderwear(MemorySegment mem, int offset) static voidrequireBounds(MemorySegment mem, int offset) Checks that the fixed block fits.intserialize(MemorySegment mem, int offset) static PlayerSkintoObject(MemorySegment mem) static PlayerSkintoObject(MemorySegment mem, int offset) static PlayerSkintoObject(MemorySegment mem, int offset, ReadCursor cursor) Decodes one PlayerSkin and reports the end of its encoding through the cursor.
-
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
-
requireBounds
Checks that the fixed block fits. The per-field getters read without their own bound check, so call this once before reading fields out of an untrusted segment. -
getBodyCharacteristic
-
getBodyCharacteristic
-
getUnderwear
-
getUnderwear
-
getFace
-
getFace
-
getEyes
-
getEyes
-
getEars
-
getEars
-
getMouth
-
getMouth
-
getFacialHair
-
getFacialHair
-
getHaircut
-
getHaircut
-
getEyebrows
-
getEyebrows
-
getPants
-
getPants
-
getOverpants
-
getOverpants
-
getUndertop
-
getUndertop
-
getOvertop
-
getOvertop
-
getShoes
-
getShoes
-
getHeadAccessory
-
getHeadAccessory
-
getFaceAccessory
-
getFaceAccessory
-
getEarAccessory
-
getEarAccessory
-
getSkinFeature
-
getSkinFeature
-
getGloves
-
getGloves
-
getCape
-
getCape
-
hasBodyCharacteristic
-
hasUnderwear
-
hasFace
-
hasEyes
-
hasEars
-
hasMouth
-
hasFacialHair
-
hasHaircut
-
hasEyebrows
-
hasPants
-
hasOverpants
-
hasUndertop
-
hasOvertop
-
hasShoes
-
hasHeadAccessory
-
hasFaceAccessory
-
hasEarAccessory
-
hasSkinFeature
-
hasGloves
-
hasCape
-
toObject
-
toObject
-
toObject
Decodes one PlayerSkin and reports the end of its encoding through the cursor. The variable block is decoded in field order against a running position, and each offset slot must name that position, so the fields decoded are the bytes walked. -
serialize
-
computeSize
public int computeSize() -
clone
-
equals
-
hashCode
-