Class ItemVisual
java.lang.Object
zombie.core.skinnedmodel.visual.ItemVisual
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
float
int
static final float
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
void
copyBlood
(ItemVisual other) void
copyDirt
(ItemVisual other) void
copyFrom
(ItemVisual other) void
copyHoles
(ItemVisual other) void
copyPatches
(ItemVisual other) void
copyVisualFrom
(ItemVisual itemVisual1) static InventoryItem
createLastStandItem
(String saveStr) int
getBaseTexture
(ClothingItem clothingItem) float
getBasicPatch
(BloodBodyPartType bodyPartType) int
float
getBlood
(BloodBodyPartType bodyPartType) void
getClothingItemCombinedMask
(CharacterMask in_out_mask) getDecal
(ClothingItem clothingItem) float
getDenimPatch
(BloodBodyPartType bodyPartType) float
getDirt
(BloodBodyPartType bodyPartType) float
getHole
(BloodBodyPartType bodyPartType) int
float
getHue()
float
getHue
(ClothingItem clothingItem) float
getLeatherPatch
(BloodBodyPartType bodyPartType) int
getTextureChoice
(ClothingItem clothingItem) getTint()
getTint
(ClothingItem clothingItem) float
void
load
(ByteBuffer input, int WorldVersion) void
pickUninitializedValues
(ClothingItem clothingItem) void
void
void
removeHole
(int bodyPartIndex) void
removePatch
(int bodyPartIndex) void
save
(ByteBuffer output) void
setAlternateModelName
(String name) void
setBaseTexture
(int baseTexture) void
setBasicPatch
(BloodBodyPartType bodyPartType) void
setBlood
(BloodBodyPartType bodyPartType, float amount) void
setClothingItemName
(String name) void
void
setDenimPatch
(BloodBodyPartType bodyPartType) void
setDirt
(BloodBodyPartType bodyPartType, float amount) void
setHole
(BloodBodyPartType bodyPartType) void
setHue
(float hue) void
setInventoryItem
(InventoryItem _inventoryItem) void
setItemType
(String fullType) void
setLeatherPatch
(BloodBodyPartType bodyPartType) void
setTextureChoice
(int TextureChoice) void
setTint
(ImmutableColor tint) void
synchWithOutfit
(ClothingItemReference itemRef) toString()
-
Field Details
-
NULL_HUE
public static final float NULL_HUE- See Also:
-
m_Hue
public float m_Hue -
m_Tint
-
m_BaseTexture
public int m_BaseTexture -
m_TextureChoice
public int m_TextureChoice -
m_Decal
-
-
Constructor Details
-
ItemVisual
public ItemVisual() -
ItemVisual
-
-
Method Details
-
setItemType
-
getItemType
-
setAlternateModelName
-
getAlternateModelName
-
toString
-
getClothingItemName
-
setClothingItemName
-
getScriptItem
-
getClothingItem
-
getClothingItemCombinedMask
-
copyVisualFrom
-
setHue
public void setHue(float hue) -
getHue
public float getHue() -
getHue
-
setTint
-
getTint
-
getTint
-
getBaseTexture
-
getTextureChoice
-
setDecal
-
getDecal
-
pickUninitializedValues
-
synchWithOutfit
-
clear
public void clear() -
copyFrom
-
save
- Throws:
IOException
-
load
- Throws:
IOException
-
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 bodyPartIndex) -
removePatch
public void removePatch(int bodyPartIndex) -
removeBlood
public void removeBlood() -
removeDirt
public void removeDirt() -
getTotalBlood
public float getTotalBlood() -
getInventoryItem
-
setInventoryItem
-
setBaseTexture
public void setBaseTexture(int baseTexture) -
getBaseTexture
public int getBaseTexture() -
setTextureChoice
public void setTextureChoice(int TextureChoice) -
getTextureChoice
public int getTextureChoice() -
getLastStandString
-
createLastStandItem
-
getDescription
-