Class NpcDefinition
java.lang.Object
org.rspeer.game.adapter.definition.Definition
org.rspeer.game.adapter.definition.DefinitionWithParam
org.rspeer.game.adapter.definition.TransformableDefinition<NpcDefinition>
org.rspeer.game.adapter.definition.NpcDefinition
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classstatic final class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode(org.rspeer.cache.util.Buffer buffer, int op) intintintString[][]String[]getChildrenActionsRaw(int parentActionIndex) intintintintintint[]getHead()int[]short[]intint[]getName()intint[]int[]int[]getOverheadIcons(boolean sprites) intString[]short[]short[]short[]short[]intintintint[]intintintintintintintintintintbooleanisActive()booleanbooleanbooleanbooleanbooleanvoidMethods inherited from class TransformableDefinition
transform, transformMethods inherited from class DefinitionWithParam
getIntParameter, getParameters, getStringParameterMethods inherited from class Definition
decode, decode, getId
-
Constructor Details
-
NpcDefinition
public NpcDefinition(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<NpcDefinition>
-
getVarpIndex
public int getVarpIndex()- Specified by:
getVarpIndexin classTransformableDefinition<NpcDefinition>
-
getTransformIds
public int[] getTransformIds()- Specified by:
getTransformIdsin classTransformableDefinition<NpcDefinition>
-
getName
-
getTileSize
public int getTileSize() -
getModelIds
public int[] getModelIds() -
getHead
public int[] getHead() -
getIdleAnimation
public int getIdleAnimation() -
getTurnLeftAnimation
public int getTurnLeftAnimation() -
getTurnRightAnimation
public int getTurnRightAnimation() -
getWalkAnimation
public int getWalkAnimation() -
getWalkBackAnimation
public int getWalkBackAnimation() -
getWalkLeftAnimation
public int getWalkLeftAnimation() -
getWalkRightAnimation
public int getWalkRightAnimation() -
getRecolorFrom
public short[] getRecolorFrom() -
getRecolorTo
public short[] getRecolorTo() -
getRetextureFrom
public short[] getRetextureFrom() -
getRetextureTo
public short[] getRetextureTo() -
getRawActions
-
getChildrenActionsRaw
-
getChildrenActionsRaw
-
getTransformableActions
-
getActions
-
isRenderedOnMinimap
public boolean isRenderedOnMinimap() -
getCombatLevel
public int getCombatLevel() -
getScaleXY
public int getScaleXY() -
getScaleZ
public int getScaleZ() -
isAlwaysOnTop
public boolean isAlwaysOnTop() -
getAmbient
public int getAmbient() -
getContrast
public int getContrast() -
getOverheadIcons
-
getOverheadIcons
-
getHeadIcons
public int[] getHeadIcons() -
getHeadIconSprites
public short[] getHeadIconSprites() -
getTurnSpeed
public int getTurnSpeed() -
getTransformVarbit
public int getTransformVarbit() -
isActive
public boolean isActive() -
isWalkSmoothing
public boolean isWalkSmoothing() -
isFollower
public boolean isFollower() -
getCategory
public int getCategory() -
getOpcodes74to79
public int[] getOpcodes74to79() -
getOp114Value
public int getOp114Value() -
getOp115Values
public int[] getOp115Values() -
getCrawlAnimation
public int getCrawlAnimation() -
getOp117Values
public int[] getOp117Values() -
isLowPriorityOptions
public boolean isLowPriorityOptions() -
getOverlayHeight
public int getOverlayHeight() -
getFootprintSize
public int getFootprintSize() -
getTransformableChildrenActions
-
getBackgroundSound
-
getBackgroundSoundDropoffEasing
public int getBackgroundSoundDropoffEasing() -
getBackgroundSoundFade
-
getCrossWorldSound
public int getCrossWorldSound() -
getRandomSound
-