Class ClothingItem
java.lang.Object
zombie.asset.Asset
zombie.core.skinnedmodel.population.ClothingItem
public final class ClothingItem extends Asset
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.asset.Asset
Asset.ObserverCallback, Asset.State
-
Field Summary
Fields Modifier and Type Field Description static AssetType
ASSET_TYPE
boolean
m_AllowRandomHue
boolean
m_AllowRandomTint
java.lang.String
m_AttachBone
java.util.ArrayList
m_BaseTextures
java.lang.String
m_DecalGroup
java.lang.String
m_FemaleModel
java.lang.String
m_GUID
java.lang.String
m_HatCategory
java.lang.String
m_MaleModel
java.util.ArrayList
m_Masks
java.lang.String
m_MasksFolder
java.lang.String
m_Name
java.lang.String
m_Shader
boolean
m_Static
java.lang.String
m_UnderlayMasksFolder
static java.lang.String
s_masksFolderDefault
java.util.ArrayList
textureChoices
Fields inherited from class zombie.asset.Asset
m_asset_manager
-
Constructor Summary
Constructors Constructor Description ClothingItem(AssetPath assetPath, AssetManager assetManager)
-
Method Summary
Modifier and Type Method Description boolean
getAllowRandomHue()
boolean
getAllowRandomTint()
java.lang.String
GetATexture()
java.util.ArrayList
getBaseTextures()
void
getCombinedMask(CharacterMask characterMask)
java.lang.String
getDecalGroup()
java.lang.String
getFemaleModel()
java.lang.String
getMaleModel()
java.lang.String
getModel(boolean boolean1)
java.util.ArrayList
getTextureChoices()
AssetType
getType()
boolean
hasModel()
boolean
isHat()
boolean
isMask()
java.lang.String
toString()
static void
tryGetCombinedMask(ClothingItemReference clothingItemReference, CharacterMask characterMask)
static void
tryGetCombinedMask(ClothingItem clothingItem, CharacterMask characterMask)
Methods inherited from class zombie.asset.Asset
addDependency, getAssetManager, getObserverCb, getPath, getRefCount, getState, isEmpty, isFailure, isReady, onBeforeEmpty, onBeforeReady, onCreated, removeDependency, setAssetParams
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
m_GUID
public java.lang.String m_GUID -
m_MaleModel
public java.lang.String m_MaleModel -
m_FemaleModel
public java.lang.String m_FemaleModel -
m_Static
public boolean m_Static -
m_BaseTextures
public java.util.ArrayList m_BaseTextures -
m_AttachBone
public java.lang.String m_AttachBone -
m_Masks
public java.util.ArrayList m_Masks -
m_MasksFolder
public java.lang.String m_MasksFolder -
m_UnderlayMasksFolder
public java.lang.String m_UnderlayMasksFolder -
textureChoices
public java.util.ArrayList textureChoices -
m_AllowRandomHue
public boolean m_AllowRandomHue -
m_AllowRandomTint
public boolean m_AllowRandomTint -
m_DecalGroup
public java.lang.String m_DecalGroup -
m_Shader
public java.lang.String m_Shader -
m_HatCategory
public java.lang.String m_HatCategory -
s_masksFolderDefault
public static final java.lang.String s_masksFolderDefault- See Also:
- Constant Field Values
-
m_Name
public java.lang.String m_Name -
ASSET_TYPE
-
-
Constructor Details
-
ClothingItem
-
-
Method Details
-
getBaseTextures
public java.util.ArrayList getBaseTextures() -
getTextureChoices
public java.util.ArrayList getTextureChoices() -
GetATexture
public java.lang.String GetATexture() -
getAllowRandomHue
public boolean getAllowRandomHue() -
getAllowRandomTint
public boolean getAllowRandomTint() -
getDecalGroup
public java.lang.String getDecalGroup() -
isHat
public boolean isHat() -
isMask
public boolean isMask() -
getCombinedMask
-
hasModel
public boolean hasModel() -
getModel
public java.lang.String getModel(boolean boolean1) -
getFemaleModel
public java.lang.String getFemaleModel() -
getMaleModel
public java.lang.String getMaleModel() -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
tryGetCombinedMask
public static void tryGetCombinedMask(ClothingItemReference clothingItemReference, CharacterMask characterMask) -
tryGetCombinedMask
-
getType
-