Package zombie.core.skinnedmodel.visual
Class ItemVisual
java.lang.Object
zombie.core.skinnedmodel.visual.BaseVisual
zombie.core.skinnedmodel.visual.ItemVisual
public final class ItemVisual extends BaseVisual
-
Field Summary
Fields Modifier and Type Field Description int
m_BaseTexture
java.lang.String
m_Decal
float
m_Hue
int
m_TextureChoice
ImmutableColor
m_Tint
static float
NULL_HUE
-
Constructor Summary
Constructors Constructor Description ItemVisual()
ItemVisual(ItemVisual itemVisual)
-
Method Summary
Modifier and Type Method Description void
copyBlood(ItemVisual itemVisual)
void
copyDirt(ItemVisual itemVisual)
void
copyFrom(ItemVisual itemVisual)
void
copyHoles(ItemVisual itemVisual)
void
copyPatches(ItemVisual itemVisual)
static InventoryItem
createLastStandItem(java.lang.String string)
ModelInstance
createModelInstance()
java.lang.String
getAlternateModelName()
int
getBaseTexture()
java.lang.String
getBaseTexture(ClothingItem clothingItem)
float
getBasicPatch(BloodBodyPartType bloodBodyPartType)
int
getBasicPatchesNumber()
float
getBlood(BloodBodyPartType bloodBodyPartType)
ClothingItem
getClothingItem()
void
getClothingItemCombinedMask(CharacterMask characterMask)
java.lang.String
getClothingItemName()
java.lang.String
getDecal(ClothingItem clothingItem)
float
getDenimPatch(BloodBodyPartType bloodBodyPartType)
float
getDirt(BloodBodyPartType bloodBodyPartType)
float
getHole(BloodBodyPartType bloodBodyPartType)
int
getHolesNumber()
float
getHue(ClothingItem clothingItem)
InventoryItem
getInventoryItem()
java.lang.String
getItemType()
java.lang.String
getLastStandString()
float
getLeatherPatch(BloodBodyPartType bloodBodyPartType)
Item
getScriptItem()
int
getTextureChoice()
java.lang.String
getTextureChoice(ClothingItem clothingItem)
ImmutableColor
getTint()
ImmutableColor
getTint(ClothingItem clothingItem)
float
getTotalBlood()
void
load(java.nio.ByteBuffer byteBuffer, int int1)
void
pickUninitializedValues(ClothingItem clothingItem)
void
removeBlood()
void
removeDirt()
void
removeHole(int int1)
void
removePatch(int int1)
void
save(java.nio.ByteBuffer byteBuffer)
void
setAlternateModelName(java.lang.String string)
void
setBaseTexture(int int1)
void
setBasicPatch(BloodBodyPartType bloodBodyPartType)
void
setBlood(BloodBodyPartType bloodBodyPartType, float float1)
void
setClothingItemName(java.lang.String string)
void
setDecal(java.lang.String string)
void
setDenimPatch(BloodBodyPartType bloodBodyPartType)
void
setDirt(BloodBodyPartType bloodBodyPartType, float float1)
void
setHole(BloodBodyPartType bloodBodyPartType)
void
setHue(float float1)
void
setInventoryItem(InventoryItem inventoryItem)
void
setItemType(java.lang.String string)
void
setLeatherPatch(BloodBodyPartType bloodBodyPartType)
void
setTextureChoice(int int1)
void
setTint(ImmutableColor immutableColor)
void
synchWithOutfit(ClothingItemReference clothingItemReference)
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
NULL_HUE
public static final float NULL_HUE- See Also:
- Constant Field Values
-
m_Hue
public float m_Hue -
m_Tint
-
m_BaseTexture
public int m_BaseTexture -
m_TextureChoice
public int m_TextureChoice -
m_Decal
public java.lang.String m_Decal
-
-
Constructor Details
-
ItemVisual
public ItemVisual() -
ItemVisual
-
-
Method Details
-
setItemType
public void setItemType(java.lang.String string) -
getItemType
public java.lang.String getItemType() -
setAlternateModelName
public void setAlternateModelName(java.lang.String string) -
getAlternateModelName
public java.lang.String getAlternateModelName() -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
getClothingItemName
public java.lang.String getClothingItemName() -
setClothingItemName
public void setClothingItemName(java.lang.String string) -
getScriptItem
-
getClothingItem
-
getClothingItemCombinedMask
-
setHue
public void setHue(float float1) -
getHue
-
setTint
-
getTint
-
getTint
-
getBaseTexture
-
getTextureChoice
-
setDecal
public void setDecal(java.lang.String string) -
getDecal
-
pickUninitializedValues
-
synchWithOutfit
-
copyFrom
-
save
public void save(java.nio.ByteBuffer byteBuffer) throws java.io.IOException- Specified by:
save
in classBaseVisual
- Throws:
java.io.IOException
-
load
public void load(java.nio.ByteBuffer byteBuffer, int int1) throws java.io.IOException- Specified by:
load
in classBaseVisual
- Throws:
java.io.IOException
-
createModelInstance
- Specified by:
createModelInstance
in classBaseVisual
-
setDenimPatch
-
getDenimPatch
-
setLeatherPatch
-
getLeatherPatch
-
setBasicPatch
-
getBasicPatch
-
getBasicPatchesNumber
public int getBasicPatchesNumber() -
setHole
-
getHole
-
getHolesNumber
public int getHolesNumber() -
setBlood
-
getBlood
-
getDirt
-
setDirt
-
copyBlood
-
copyDirt
-
copyHoles
-
copyPatches
-
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
-
setInventoryItem
-
setBaseTexture
public void setBaseTexture(int int1) -
getBaseTexture
public int getBaseTexture() -
setTextureChoice
public void setTextureChoice(int int1) -
getTextureChoice
public int getTextureChoice() -
getLastStandString
public java.lang.String getLastStandString() -
createLastStandItem
-