Class ObjectDefinition
java.lang.Object
org.rspeer.game.adapter.definition.Definition
org.rspeer.game.adapter.definition.DefinitionWithParam
org.rspeer.game.adapter.definition.TransformableDefinition<ObjectDefinition>
org.rspeer.game.adapter.definition.ObjectDefinition
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode(org.rspeer.cache.util.Buffer buffer, int op) intintintintintString[][]String[]getChildrenActionsRaw(int parentActionIndex) intshort[]intintintintintintintint[]int[]getName()String[]short[]short[]short[]short[]intintintintgetSizeX()intgetSizeY()int[]int[]int[]intintintintintintintbooleanbooleanbooleanbooleanbooleanbooleanbooleanisSolid()voidMethods inherited from class TransformableDefinition
transform, transformMethods inherited from class DefinitionWithParam
getIntParameter, getParameters, getStringParameterMethods inherited from class Definition
decode, decode, getId
-
Constructor Details
-
ObjectDefinition
public ObjectDefinition(int id)
-
-
Method Details
-
decode
public void decode(org.rspeer.cache.util.Buffer buffer, int op) - Specified by:
decodein classDefinition
-
postDecode
public void postDecode()- Specified by:
postDecodein classDefinition
-
getVarbitIndex
public int getVarbitIndex()- Specified by:
getVarbitIndexin classTransformableDefinition<ObjectDefinition>
-
getVarpIndex
public int getVarpIndex()- Specified by:
getVarpIndexin classTransformableDefinition<ObjectDefinition>
-
getTransformIds
public int[] getTransformIds()- Specified by:
getTransformIdsin classTransformableDefinition<ObjectDefinition>
-
getColors
public short[] getColors() -
getModelIds
public int[] getModelIds() -
getModels
public int[] getModels() -
getName
-
getRecolorFrom
public short[] getRecolorFrom() -
getRecolorTo
public short[] getRecolorTo() -
getRetextureFrom
public short[] getRetextureFrom() -
getRetextureTo
public short[] getRetextureTo() -
getSizeX
public int getSizeX() -
getSizeY
public int getSizeY() -
getInteractType
public int getInteractType() -
isImpenetrable
public boolean isImpenetrable() -
getMapDoorFlag
public int getMapDoorFlag() -
getClipType
public int getClipType() -
isNonFlatShading
public boolean isNonFlatShading() -
isModelClipped
public boolean isModelClipped() -
getAnimationId
public int getAnimationId() -
getBoundaryWidth
public int getBoundaryWidth() -
getAmbient
public int getAmbient() -
getContrast
public int getContrast() -
getRawActions
-
getChildrenActionsRaw
-
getChildrenActionsRaw
-
getTransformableActions
-
getActions
-
getMapFunction
public int getMapFunction() -
getMapScene
public int getMapScene() -
isRotated
public boolean isRotated() -
isClipped
public boolean isClipped() -
getScaleX
public int getScaleX() -
getScaleZ
public int getScaleZ() -
getScaleY
public int getScaleY() -
getTranslateX
public int getTranslateX() -
getTranslateY
public int getTranslateY() -
getTranslateZ
public int getTranslateZ() -
isForceDecor
public boolean isForceDecor() -
isSolid
public boolean isSolid() -
getItemSupport
public int getItemSupport() -
getTransformsRaw
public int[] getTransformsRaw() -
getTransformVarbitRaw
public int getTransformVarbitRaw() -
getTransformVarpRaw
public int getTransformVarpRaw() -
getAmbientSoundId
public int getAmbientSoundId() -
getSoundEffectIds
public int[] getSoundEffectIds() -
getForceApproachFlags
public int getForceApproachFlags() -
getCategory
public int getCategory() -
getTransformableChildrenActions
-