Class ItemVisual

java.lang.Object
zombie.core.skinnedmodel.visual.ItemVisual

public final class ItemVisual extends Object
  • Field Details

    • NULL_HUE

      public static final float NULL_HUE
      See Also:
    • m_Hue

      public float m_Hue
    • m_Tint

      public ImmutableColor m_Tint
    • m_BaseTexture

      public int m_BaseTexture
    • m_TextureChoice

      public int m_TextureChoice
    • m_Decal

      public String m_Decal
  • Constructor Details

    • ItemVisual

      public ItemVisual()
    • ItemVisual

      public ItemVisual(ItemVisual itemVisual)
  • Method Details

    • setItemType

      public void setItemType(String string)
    • getItemType

      public String getItemType()
    • setAlternateModelName

      public void setAlternateModelName(String string)
    • getAlternateModelName

      public String getAlternateModelName()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getClothingItemName

      public String getClothingItemName()
    • setClothingItemName

      public void setClothingItemName(String string)
    • getScriptItem

      public Item getScriptItem()
    • getClothingItem

      public ClothingItem getClothingItem()
    • getClothingItemCombinedMask

      public void getClothingItemCombinedMask(CharacterMask characterMask)
    • setHue

      public void setHue(float float1)
    • getHue

      public float getHue(ClothingItem clothingItem)
    • setTint

      public void setTint(ImmutableColor immutableColor)
    • getTint

      public ImmutableColor getTint(ClothingItem clothingItem)
    • getTint

      public ImmutableColor getTint()
    • getBaseTexture

      public String getBaseTexture(ClothingItem clothingItem)
    • getTextureChoice

      public String getTextureChoice(ClothingItem clothingItem)
    • setDecal

      public void setDecal(String string)
    • getDecal

      public String getDecal(ClothingItem clothingItem)
    • pickUninitializedValues

      public void pickUninitializedValues(ClothingItem clothingItem)
    • synchWithOutfit

      public void synchWithOutfit(ClothingItemReference clothingItemReference)
    • clear

      public void clear()
    • copyFrom

      public void copyFrom(ItemVisual itemVisual)
    • save

      public void save(ByteBuffer byteBuffer) throws IOException
      Throws:
      IOException
    • load

      public void load(ByteBuffer byteBuffer, int int1) throws IOException
      Throws:
      IOException
    • setDenimPatch

      public void setDenimPatch(BloodBodyPartType bloodBodyPartType)
    • getDenimPatch

      public float getDenimPatch(BloodBodyPartType bloodBodyPartType)
    • setLeatherPatch

      public void setLeatherPatch(BloodBodyPartType bloodBodyPartType)
    • getLeatherPatch

      public float getLeatherPatch(BloodBodyPartType bloodBodyPartType)
    • setBasicPatch

      public void setBasicPatch(BloodBodyPartType bloodBodyPartType)
    • getBasicPatch

      public float getBasicPatch(BloodBodyPartType bloodBodyPartType)
    • getBasicPatchesNumber

      public int getBasicPatchesNumber()
    • setHole

      public void setHole(BloodBodyPartType bloodBodyPartType)
    • getHole

      public float getHole(BloodBodyPartType bloodBodyPartType)
    • getHolesNumber

      public int getHolesNumber()
    • setBlood

      public void setBlood(BloodBodyPartType bloodBodyPartType, float float1)
    • getBlood

      public float getBlood(BloodBodyPartType bloodBodyPartType)
    • getDirt

      public float getDirt(BloodBodyPartType bloodBodyPartType)
    • setDirt

      public void setDirt(BloodBodyPartType bloodBodyPartType, float float1)
    • copyBlood

      public void copyBlood(ItemVisual itemVisual)
    • copyDirt

      public void copyDirt(ItemVisual itemVisual)
    • copyHoles

      public void copyHoles(ItemVisual itemVisual)
    • copyPatches

      public void copyPatches(ItemVisual itemVisual)
    • removeHole

      public void removeHole(int int1)
    • removePatch

      public void removePatch(int int1)
    • removeBlood

      public void removeBlood()
    • removeDirt

      public void removeDirt()
    • getTotalBlood

      public float getTotalBlood()
    • getInventoryItem

      public InventoryItem getInventoryItem()
    • setInventoryItem

      public void setInventoryItem(InventoryItem inventoryItem)
    • setBaseTexture

      public void setBaseTexture(int int1)
    • getBaseTexture

      public int getBaseTexture()
    • setTextureChoice

      public void setTextureChoice(int int1)
    • getTextureChoice

      public int getTextureChoice()
    • getLastStandString

      public String getLastStandString()
    • createLastStandItem

      public static InventoryItem createLastStandItem(String string)