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 other)
  • Method Details

    • setItemType

      public void setItemType(String fullType)
    • getItemType

      public String getItemType()
    • setAlternateModelName

      public void setAlternateModelName(String name)
    • getAlternateModelName

      public String getAlternateModelName()
    • toString

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

      public String getClothingItemName()
    • setClothingItemName

      public void setClothingItemName(String name)
    • getScriptItem

      public Item getScriptItem()
    • getClothingItem

      public ClothingItem getClothingItem()
    • getClothingItemCombinedMask

      public void getClothingItemCombinedMask(CharacterMask in_out_mask)
    • setHue

      public void setHue(float hue)
    • getHue

      public float getHue(ClothingItem clothingItem)
    • setTint

      public void setTint(ImmutableColor tint)
    • 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 decalName)
    • getDecal

      public String getDecal(ClothingItem clothingItem)
    • pickUninitializedValues

      public void pickUninitializedValues(ClothingItem clothingItem)
    • synchWithOutfit

      public void synchWithOutfit(ClothingItemReference itemRef)
    • clear

      public void clear()
    • copyFrom

      public void copyFrom(ItemVisual other)
    • save

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

      public void load(ByteBuffer input, int WorldVersion) throws IOException
      Throws:
      IOException
    • setDenimPatch

      public void setDenimPatch(BloodBodyPartType bodyPartType)
    • getDenimPatch

      public float getDenimPatch(BloodBodyPartType bodyPartType)
    • setLeatherPatch

      public void setLeatherPatch(BloodBodyPartType bodyPartType)
    • getLeatherPatch

      public float getLeatherPatch(BloodBodyPartType bodyPartType)
    • setBasicPatch

      public void setBasicPatch(BloodBodyPartType bodyPartType)
    • getBasicPatch

      public float getBasicPatch(BloodBodyPartType bodyPartType)
    • getBasicPatchesNumber

      public int getBasicPatchesNumber()
    • setHole

      public void setHole(BloodBodyPartType bodyPartType)
    • getHole

      public float getHole(BloodBodyPartType bodyPartType)
    • getHolesNumber

      public int getHolesNumber()
    • setBlood

      public void setBlood(BloodBodyPartType bodyPartType, float amount)
    • getBlood

      public float getBlood(BloodBodyPartType bodyPartType)
    • getDirt

      public float getDirt(BloodBodyPartType bodyPartType)
    • setDirt

      public void setDirt(BloodBodyPartType bodyPartType, float amount)
    • copyBlood

      public void copyBlood(ItemVisual other)
    • copyDirt

      public void copyDirt(ItemVisual other)
    • copyHoles

      public void copyHoles(ItemVisual other)
    • copyPatches

      public void copyPatches(ItemVisual other)
    • removeHole

      public void removeHole(int bodyPartIndex)
    • removePatch

      public void removePatch(int bodyPartIndex)
    • 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 baseTexture)
    • getBaseTexture

      public int getBaseTexture()
    • setTextureChoice

      public void setTextureChoice(int TextureChoice)
    • getTextureChoice

      public int getTextureChoice()
    • getLastStandString

      public String getLastStandString()
    • createLastStandItem

      public static InventoryItem createLastStandItem(String saveStr)