Class ObjectDefinition


public class ObjectDefinition extends TransformableDefinition<ObjectDefinition>
  • Constructor Details

    • ObjectDefinition

      public ObjectDefinition(int id)
  • Method Details

    • decode

      public void decode(org.rspeer.cache.util.Buffer buffer, int op)
      Specified by:
      decode in class Definition
    • postDecode

      public void postDecode()
      Specified by:
      postDecode in class Definition
    • getVarbitIndex

      public int getVarbitIndex()
      Specified by:
      getVarbitIndex in class TransformableDefinition<ObjectDefinition>
    • getVarpIndex

      public int getVarpIndex()
      Specified by:
      getVarpIndex in class TransformableDefinition<ObjectDefinition>
    • getTransformIds

      public int[] getTransformIds()
      Specified by:
      getTransformIds in class TransformableDefinition<ObjectDefinition>
    • getColors

      public short[] getColors()
    • getModelIds

      public int[] getModelIds()
    • getModels

      public int[] getModels()
    • getName

      public String 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

      public String[] getRawActions()
    • getChildrenActionsRaw

      public String[][] getChildrenActionsRaw()
    • getChildrenActionsRaw

      public String[] getChildrenActionsRaw(int parentActionIndex)
    • getTransformableActions

      public Map<Integer, TransformableAction> getTransformableActions()
    • getActions

      public List<String> 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

      public Map<Integer, Map<Integer, TransformableAction>> getTransformableChildrenActions()