Class IsoPlayer

  • Field Details

    • physicsDebugRenderer

      public PhysicsDebugRenderer physicsDebugRenderer
    • DEATH_MUSIC_NAME

      public static String DEATH_MUSIC_NAME
    • isTestAIMode

      public static boolean isTestAIMode
    • NoSound

      public static final boolean NoSound
      See Also:
    • assumedPlayer

      public static int assumedPlayer
    • numPlayers

      public static int numPlayers
    • MAX

      public static final short MAX
      See Also:
    • players

      public static final IsoPlayer[] players
    • remoteSneakLvl

      public int remoteSneakLvl
    • remoteStrLvl

      public int remoteStrLvl
    • remoteFitLvl

      public int remoteFitLvl
    • canSeeAll

      public boolean canSeeAll
    • canHearAll

      public boolean canHearAll
    • MoodleCantSprint

      public boolean MoodleCantSprint
    • lastRemoteUpdate

      public long lastRemoteUpdate
    • luredAnimals

      public ArrayList<IsoAnimal> luredAnimals
    • isLuringAnimals

      public boolean isLuringAnimals
    • spottedByPlayer

      public boolean spottedByPlayer
    • baseVisual

      protected BaseVisual baseVisual
    • itemVisuals

      protected final ItemVisuals itemVisuals
    • targetedByZombie

      public boolean targetedByZombie
    • lastTargeted

      public float lastTargeted
    • TimeSinceOpenDoor

      public float TimeSinceOpenDoor
    • TimeSinceCloseDoor

      public float TimeSinceCloseDoor
    • bRemote

      public boolean bRemote
    • TimeSinceLastNetData

      public int TimeSinceLastNetData
    • role

      public Role role
    • tagPrefix

      public String tagPrefix
    • showTag

      public boolean showTag
    • factionPvp

      public boolean factionPvp
    • OnlineID

      public short OnlineID
    • OnlineChunkGridWidth

      public int OnlineChunkGridWidth
    • bJoypadMovementActive

      public boolean bJoypadMovementActive
    • bJoypadIgnoreAimUntilCentered

      public boolean bJoypadIgnoreAimUntilCentered
    • bJoypadIgnoreChargingRT

      public boolean bJoypadIgnoreChargingRT
    • bJoypadBDown

      protected boolean bJoypadBDown
    • bJoypadSprint

      protected boolean bJoypadSprint
    • mpTorchCone

      public boolean mpTorchCone
    • mpTorchDist

      public float mpTorchDist
    • mpTorchStrength

      public float mpTorchStrength
    • PlayerIndex

      public int PlayerIndex
    • serverPlayerIndex

      public int serverPlayerIndex
    • useChargeDelta

      public float useChargeDelta
    • JoypadBind

      public int JoypadBind
    • ContextPanic

      public float ContextPanic
    • numNearbyBuildingsRooms

      public float numNearbyBuildingsRooms
    • isCharging

      public boolean isCharging
    • isChargingLT

      public boolean isChargingLT
    • L3Pressed

      public boolean L3Pressed
    • R3Pressed

      public boolean R3Pressed
    • maxWeightDelta

      public float maxWeightDelta
    • CurrentSpeed

      public float CurrentSpeed
    • MaxSpeed

      public float MaxSpeed
    • bDeathFinished

      public boolean bDeathFinished
    • isSpeek

      public boolean isSpeek
    • isVoiceMute

      public boolean isVoiceMute
    • playerMoveDir

      public final Vector2 playerMoveDir
    • soundListener

      public fmod.fmod.BaseSoundListener soundListener
    • username

      public String username
    • dirtyRecalcGridStack

      public boolean dirtyRecalcGridStack
    • dirtyRecalcGridStackTime

      public float dirtyRecalcGridStackTime
    • runningTime

      public float runningTime
    • timePressedContext

      public float timePressedContext
    • chargeTime

      public float chargeTime
    • closestZombie

      public float closestZombie
    • lastAngle

      public final Vector2 lastAngle
    • SaveFileName

      public String SaveFileName
    • bBannedAttacking

      public boolean bBannedAttacking
    • sqlID

      public int sqlID
    • ClearSpottedTimer

      protected int ClearSpottedTimer
    • timeSinceLastStab

      protected float timeSinceLastStab
    • LastSpotted

      protected Stack<IsoMovingObject> LastSpotted
    • bChangeCharacterDebounce

      protected boolean bChangeCharacterDebounce
    • followID

      protected int followID
    • FollowCamStack

      protected final Stack<IsoGameCharacter> FollowCamStack
    • bSeenThisFrame

      protected boolean bSeenThisFrame
    • bCouldBeSeenThisFrame

      protected boolean bCouldBeSeenThisFrame
    • AsleepTime

      protected float AsleepTime
    • spottedList

      protected final Stack<IsoMovingObject> spottedList
    • TicksSinceSeenZombie

      protected int TicksSinceSeenZombie
    • Waiting

      protected boolean Waiting
    • DragCharacter

      protected IsoSurvivor DragCharacter
    • heartDelay

      protected float heartDelay
    • heartDelayMax

      protected float heartDelayMax
    • heartEventInstance

      protected long heartEventInstance
    • worldAmbianceInstance

      protected long worldAmbianceInstance
    • Forname

      protected String Forname
    • Surname

      protected String Surname
    • DialogMood

      protected int DialogMood
    • ping

      protected int ping
    • DragObject

      protected IsoMovingObject DragObject
    • vehicle4testCollision

      protected BaseVehicle vehicle4testCollision
    • m_isPlayerMoving

      protected boolean m_isPlayerMoving
    • bleedingLevel

      public byte bleedingLevel
    • networkAI

      public final NetworkPlayerAI networkAI
    • accessLevel

      public String accessLevel
  • Constructor Details

    • IsoPlayer

      public IsoPlayer(IsoCell cell)
    • IsoPlayer

      public IsoPlayer(IsoCell isoCell, SurvivorDesc survivorDesc, int int2, int int1, int int0, boolean boolean0)
    • IsoPlayer

      public IsoPlayer(IsoCell cell, SurvivorDesc desc, int x, int y, int z)
  • Method Details

    • setOnlineID

      public void setOnlineID(short value)
    • getDeferredMovement

      protected Vector2 getDeferredMovement(Vector2 vector2, boolean boolean0)
      Overrides:
      getDeferredMovement in class IsoGameCharacter
    • getTurnDelta

      public float getTurnDelta()
      Overrides:
      getTurnDelta in class IsoGameCharacter
    • setPerformingAnAction

      public void setPerformingAnAction(boolean val)
    • isPerformingAnAction

      public boolean isPerformingAnAction()
    • isAttacking

      public boolean isAttacking()
      Overrides:
      isAttacking in class IsoGameCharacter
    • shouldBeTurning

      public boolean shouldBeTurning()
      Overrides:
      shouldBeTurning in class IsoGameCharacter
    • invokeOnPlayerInstance

      public static void invokeOnPlayerInstance(Runnable callback)
      The IsoPlayer.instance thread-safe invoke. Calls the supplied callback if the IsoPlayer.instance is non-null. Performs this in a thread-safe manner. It is intended that, should any thread intend to use the IsoPlayer.instance, and does not want another thread to change the ptr in the meanwhile, it should call invokeOnPlayerInstance(Runnable callback) eg. IsoPlayer.invokeOnPlayerInstance(()-> { IsoPlayer.instance.doStuff(); }
    • getInstance

      public static IsoPlayer getInstance()
    • setInstance

      public static void setInstance(IsoPlayer newInstance)
    • hasInstance

      public static boolean hasInstance()
    • getStaticTraits

      public static Stack<String> getStaticTraits()
    • getFollowDeadCount

      public static int getFollowDeadCount()
    • setFollowDeadCount

      public static void setFollowDeadCount(int aFollowDeadCount)
    • getAllFileNames

      public static ArrayList<String> getAllFileNames()
    • getUniqueFileName

      public static String getUniqueFileName()
    • getAllSavedPlayers

      public static ArrayList<IsoPlayer> getAllSavedPlayers()
    • isServerPlayerIDValid

      public static boolean isServerPlayerIDValid(String id)
    • getPlayerIndex

      public static int getPlayerIndex()
    • getIndex

      public int getIndex()
    • allPlayersDead

      public static boolean allPlayersDead()
    • getPlayers

      public static ArrayList<IsoPlayer> getPlayers()
    • allPlayersAsleep

      public static boolean allPlayersAsleep()
    • getCoopPVP

      public static boolean getCoopPVP()
    • setCoopPVP

      public static void setCoopPVP(boolean enabled)
    • TestAnimalSpotPlayer

      public void TestAnimalSpotPlayer(IsoAnimal isoAnimal)
    • TestZombieSpotPlayer

      public void TestZombieSpotPlayer(IsoMovingObject chr)
    • getPathSpeed

      public float getPathSpeed()
    • isGhostMode

      public boolean isGhostMode()
    • setGhostMode

      public void setGhostMode(boolean aGhostMode)
    • isSeeEveryone

      public boolean isSeeEveryone()
    • getPlayerMoveDir

      public Vector2 getPlayerMoveDir()
    • setPlayerMoveDir

      public void setPlayerMoveDir(Vector2 aPlayerMoveDir)
    • MoveUnmodded

      public void MoveUnmodded(Vector2 dir)
      Overrides:
      MoveUnmodded in class IsoMovingObject
    • nullifyAiming

      public void nullifyAiming()
    • isAimKeyDown

      public boolean isAimKeyDown()
    • onAnimPlayerCreated

      protected void onAnimPlayerCreated(AnimationPlayer animationPlayer)
      Overrides:
      onAnimPlayerCreated in class IsoGameCharacter
    • GetAnimSetName

      public String GetAnimSetName()
      Specified by:
      GetAnimSetName in interface IAnimatable
      Overrides:
      GetAnimSetName in class IsoGameCharacter
    • IsInMeleeAttack

      public boolean IsInMeleeAttack()
    • load

      public void load(ByteBuffer input, int WorldVersion, boolean IS_DEBUG_SAVE) throws IOException
      Overrides:
      load in class IsoGameCharacter
      Throws:
      IOException
    • setExtraInfoFlags

      public void setExtraInfoFlags(byte byte0)
    • getExtraInfoFlags

      public byte getExtraInfoFlags()
    • getDescription

      public String getDescription(String string1)
      Overrides:
      getDescription in class IsoGameCharacter
    • save

      public void save(ByteBuffer output, boolean IS_DEBUG_SAVE) throws IOException
      Overrides:
      save in class IsoGameCharacter
      Throws:
      IOException
    • save

      public void save() throws IOException
      Throws:
      IOException
    • save

      public void save(String fileName) throws IOException
      Throws:
      IOException
    • load

      public void load(String fileName) throws IOException
      Throws:
      IOException
    • removeFromWorld

      public void removeFromWorld()
      Overrides:
      removeFromWorld in class IsoGameCharacter
    • UpdateRemovedEmitters

      public static void UpdateRemovedEmitters()
    • Reset

      public static void Reset()
    • setVehicle4TestCollision

      public void setVehicle4TestCollision(BaseVehicle vehicle)
    • isSaveFileInUse

      public boolean isSaveFileInUse()
    • removeSaveFile

      public void removeSaveFile()
    • isSaveFileIPValid

      public boolean isSaveFileIPValid()
    • getObjectName

      public String getObjectName()
      Overrides:
      getObjectName in class IsoMovingObject
    • getJoypadBind

      public int getJoypadBind()
    • isLBPressed

      public boolean isLBPressed()
    • getControllerAimDir

      public Vector2 getControllerAimDir(Vector2 vec)
    • getMouseAimVector

      public Vector2 getMouseAimVector(Vector2 vec)
    • getAimVector

      public Vector2 getAimVector(Vector2 vec)
    • getGlobalMovementMod

      public float getGlobalMovementMod(boolean bDoNoises)
      Overrides:
      getGlobalMovementMod in class IsoGameCharacter
    • isInTrees2

      public boolean isInTrees2(boolean ignoreBush)
      Overrides:
      isInTrees2 in class IsoGameCharacter
    • getMoveSpeed

      public float getMoveSpeed()
    • setMoveSpeed

      public void setMoveSpeed(float moveSpeed)
    • getTorchStrength

      public float getTorchStrength()
      Overrides:
      getTorchStrength in class IsoGameCharacter
    • getInvAimingMod

      public float getInvAimingMod()
    • getAimingMod

      public float getAimingMod()
    • getReloadingMod

      public float getReloadingMod()
    • getAimingRangeMod

      public float getAimingRangeMod()
    • isPathfindRunning

      public boolean isPathfindRunning()
    • setPathfindRunning

      public void setPathfindRunning(boolean newvalue)
    • isBannedAttacking

      public boolean isBannedAttacking()
    • setBannedAttacking

      public void setBannedAttacking(boolean b)
    • getInvAimingRangeMod

      public float getInvAimingRangeMod()
    • render

      public void render(float x, float y, float z, ColorInfo col, boolean bDoChild, boolean bWallLightingPass, Shader shader)
      Overrides:
      render in class IsoGameCharacter
    • renderlast

      public void renderlast()
      Overrides:
      renderlast in class IsoGameCharacter
    • doBeatenVehicle

      public float doBeatenVehicle(float vehicleSpeed)
    • update

      public void update()
      Overrides:
      update in class IsoGameCharacter
    • calculateStats

      protected void calculateStats()
      Overrides:
      calculateStats in class IsoGameCharacter
    • updateStats_Sleeping

      protected void updateStats_Sleeping()
      Overrides:
      updateStats_Sleeping in class IsoGameCharacter
    • updateEnduranceWhileSitting

      public void updateEnduranceWhileSitting()
    • postupdate

      public void postupdate()
      Overrides:
      postupdate in class IsoGameCharacter
    • isSolidForSeparate

      public boolean isSolidForSeparate()
      Overrides:
      isSolidForSeparate in class IsoMovingObject
    • isPushableForSeparate

      public boolean isPushableForSeparate()
      Overrides:
      isPushableForSeparate in class IsoMovingObject
    • isPushedByForSeparate

      public boolean isPushedByForSeparate(IsoMovingObject other)
      Overrides:
      isPushedByForSeparate in class IsoGameCharacter
    • updateMovementRates

      public void updateMovementRates()
      Overrides:
      updateMovementRates in class IsoGameCharacter
    • pressedAttack

      public void pressedAttack()
    • setAttackVariationX

      public void setAttackVariationX(float float0)
    • setAttackVariationY

      public void setAttackVariationY(float float0)
    • canPerformHandToHandCombat

      public boolean canPerformHandToHandCombat()
    • clearHandToHandAttack

      public void clearHandToHandAttack()
      Overrides:
      clearHandToHandAttack in class IsoLivingCharacter
    • setAttackAnimThrowTimer

      public void setAttackAnimThrowTimer(long dt)
    • isAttackAnimThrowTimeOut

      public boolean isAttackAnimThrowTimeOut()
    • isAiming

      public boolean isAiming()
      Specified by:
      isAiming in interface ILuaGameCharacter
      Overrides:
      isAiming in class IsoGameCharacter
    • calculateCritChance

      public int calculateCritChance(IsoGameCharacter target)
    • isAimControlActive

      public boolean isAimControlActive()
    • allowsTwist

      public boolean allowsTwist()
      Specified by:
      allowsTwist in interface ILuaGameCharacter
      Overrides:
      allowsTwist in class IsoGameCharacter
    • getClosestZombieToOtherZombie

      public IsoZombie getClosestZombieToOtherZombie(IsoZombie closestTo)
    • getClosestZombieDist

      @Deprecated public IsoGameCharacter getClosestZombieDist()
      Deprecated.
    • hitConsequences

      public void hitConsequences(HandWeapon weapon, IsoGameCharacter wielder, boolean bIgnoreDamage, float damage, boolean _bRemote)
      Overrides:
      hitConsequences in class IsoGameCharacter
    • checkActionGroup

      public void checkActionGroup()
    • getUseableVehicle

      public BaseVehicle getUseableVehicle()
    • isNearVehicle

      public Boolean isNearVehicle()
    • getNearVehicle

      public BaseVehicle getNearVehicle()
      Overrides:
      getNearVehicle in class IsoGameCharacter
    • setAngleFromAim

      public void setAngleFromAim()
    • getCell

      public IsoCell getCell()
      Overrides:
      getCell in class IsoObject
      Returns:
      the cell
    • calculateContext

      public void calculateContext()
    • isSafeToClimbOver

      public boolean isSafeToClimbOver(IsoDirections dir)
    • doContext

      public boolean doContext(IsoDirections dir)
    • getContextDoorOrWindowOrWindowFrame

      public IsoObject getContextDoorOrWindowOrWindowFrame(IsoDirections assumedDir)
    • hopFence

      public boolean hopFence(IsoDirections dir, boolean bTest)
    • canClimbOverWall

      public boolean canClimbOverWall(IsoDirections dir)
    • climbOverWall

      public boolean climbOverWall(IsoDirections dir)
    • AttemptAttack

      public boolean AttemptAttack()
    • DoAttack

      public boolean DoAttack(float chargeDelta)
      Overrides:
      DoAttack in class IsoLivingCharacter
    • DoAttack

      public boolean DoAttack(float chargeDelta, boolean forceShove, String clickSound)
    • getPlayerNum

      public int getPlayerNum()
    • updateLOS

      public void updateLOS()
    • getSeeNearbyCharacterDistance

      public float getSeeNearbyCharacterDistance()
      Overrides:
      getSeeNearbyCharacterDistance in class IsoGameCharacter
    • checkCanSeeClient

      public boolean checkCanSeeClient(UdpConnection remoteConnection)
    • checkCanSeeClient

      public boolean checkCanSeeClient(IsoPlayer remoteChr)
    • getTimeSurvived

      public String getTimeSurvived()
    • IsUsingAimWeapon

      public boolean IsUsingAimWeapon()
    • getSleepingPillsTaken

      public int getSleepingPillsTaken()
    • setSleepingPillsTaken

      public void setSleepingPillsTaken(int _sleepingPillsTaken)
      If you've take more than 10 sleeping pills you lose some health If you're drunk, 1 pills = 2
    • resetSleepingPillsTaken

      public void resetSleepingPillsTaken()
    • isOutside

      public boolean isOutside()
      Specified by:
      isOutside in interface ILuaGameCharacter
      Overrides:
      isOutside in class IsoGameCharacter
    • getLastSeenZomboidTime

      public double getLastSeenZomboidTime()
    • getPlayerClothingTemperature

      public float getPlayerClothingTemperature()
      Return the amount of temperature given by clothes wear
      Returns:
      temperature
    • getPlayerClothingInsulation

      public float getPlayerClothingInsulation()
    • getActiveLightItem

      public InventoryItem getActiveLightItem()
    • isTorchCone

      public boolean isTorchCone()
    • getTorchDot

      public float getTorchDot()
    • getLightDistance

      public float getLightDistance()
    • pressedMovement

      public boolean pressedMovement(boolean ignoreBlock)
    • pressedCancelAction

      public boolean pressedCancelAction()
    • checkWalkTo

      public boolean checkWalkTo()
    • pressedAim

      public boolean pressedAim()
    • isDoingActionThatCanBeCancelled

      public boolean isDoingActionThatCanBeCancelled()
      Overrides:
      isDoingActionThatCanBeCancelled in class IsoGameCharacter
    • getSteamID

      public long getSteamID()
    • setSteamID

      public void setSteamID(long _steamID)
    • isTargetedByZombie

      public boolean isTargetedByZombie()
    • isMaskClicked

      public boolean isMaskClicked(int x, int y, boolean flip)
      Overrides:
      isMaskClicked in class IsoGameCharacter
    • getOffSetXUI

      public int getOffSetXUI()
    • setOffSetXUI

      public void setOffSetXUI(int _offSetXUI)
    • getOffSetYUI

      public int getOffSetYUI()
    • setOffSetYUI

      public void setOffSetYUI(int _offSetYUI)
    • getUsername

      public String getUsername()
    • getUsername

      public String getUsername(Boolean canShowFirstname)
    • getUsername

      public String getUsername(Boolean boolean2, Boolean boolean0)
    • setUsername

      public void setUsername(String newUsername)
    • updateUsername

      public void updateUsername()
    • getOnlineID

      public short getOnlineID()
      Specified by:
      getOnlineID in interface IAnimatable
    • isLocalPlayer

      public boolean isLocalPlayer()
    • isLocalPlayer

      public static boolean isLocalPlayer(IsoGameCharacter isoGameCharacter)
    • isLocalPlayer

      public static boolean isLocalPlayer(Object object)
    • setLocalPlayer

      public static void setLocalPlayer(int index, IsoPlayer newPlayerObj)
    • getLocalPlayerByOnlineID

      public static IsoPlayer getLocalPlayerByOnlineID(short ID)
    • isOnlyPlayerAsleep

      public boolean isOnlyPlayerAsleep()
    • setHasObstacleOnPath

      public void setHasObstacleOnPath(boolean boolean0)
    • isRemoteAndHasObstacleOnPath

      public boolean isRemoteAndHasObstacleOnPath()
    • OnDeath

      public void OnDeath()
      Overrides:
      OnDeath in class IsoGameCharacter
    • isNoClip

      public boolean isNoClip()
    • setNoClip

      public void setNoClip(boolean _noClip)
    • setAuthorizeMeleeAction

      public void setAuthorizeMeleeAction(boolean enabled)
      Deprecated.
    • isAuthorizeMeleeAction

      public boolean isAuthorizeMeleeAction()
      Deprecated.
    • setAuthorizeShoveStomp

      public void setAuthorizeShoveStomp(boolean enabled)
      Deprecated.
    • isAuthorizeShoveStomp

      public boolean isAuthorizeShoveStomp()
      Deprecated.
    • setAuthorizedHandToHandAction

      public void setAuthorizedHandToHandAction(boolean boolean0)
    • isAuthorizedHandToHandAction

      public boolean isAuthorizedHandToHandAction()
    • setAuthorizedHandToHand

      public void setAuthorizedHandToHand(boolean boolean0)
    • isAuthorizedHandToHand

      public boolean isAuthorizedHandToHand()
    • isBlockMovement

      public boolean isBlockMovement()
    • setBlockMovement

      public void setBlockMovement(boolean _blockMovement)
    • startReceivingBodyDamageUpdates

      public void startReceivingBodyDamageUpdates(IsoPlayer other)
    • stopReceivingBodyDamageUpdates

      public void stopReceivingBodyDamageUpdates(IsoPlayer other)
    • getNutrition

      public Nutrition getNutrition()
    • getFitness

      public Fitness getFitness()
    • getParameterCharacterMovementSpeed

      public ParameterCharacterMovementSpeed getParameterCharacterMovementSpeed()
    • setMeleeHitSurface

      public void setMeleeHitSurface(ParameterMeleeHitSurface.Material material)
    • setMeleeHitSurface

      public void setMeleeHitSurface(String material)
    • setVehicleHitLocation

      public void setVehicleHitLocation(BaseVehicle vehicle)
    • DoFootstepSound

      public void DoFootstepSound(String type)
      Overrides:
      DoFootstepSound in class IsoGameCharacter
    • playerVoiceSound

      public long playerVoiceSound(String string1)
    • stopPlayerVoiceSound

      public long stopPlayerVoiceSound(String string1)
    • updateVocalProperties

      public void updateVocalProperties()
    • isDraggingCorpseStateName

      public boolean isDraggingCorpseStateName(String string)
    • isPickingUpBody

      public boolean isPickingUpBody()
    • isPuttingDownBody

      public boolean isPuttingDownBody()
    • playBloodSplatterSound

      public void playBloodSplatterSound()
      Overrides:
      playBloodSplatterSound in class IsoGameCharacter
    • setJoypadIgnoreAimUntilCentered

      public void setJoypadIgnoreAimUntilCentered(boolean ignore)
    • createPlayerStats

      public ByteBufferWriter createPlayerStats(ByteBufferWriter b, String adminUsername)
    • setPlayerStats

      public String setPlayerStats(ByteBuffer bb, String adminUsername)
    • isAllChatMuted

      public boolean isAllChatMuted()
    • setAllChatMuted

      public void setAllChatMuted(boolean _allChatMuted)
    • getAccessLevel

      @Deprecated public String getAccessLevel()
      Deprecated.
    • getRole

      public Role getRole()
    • isAccessLevel

      public boolean isAccessLevel(String level)
    • setRole

      public void setRole(String string)
    • addMechanicsItem

      public void addMechanicsItem(String itemid, VehiclePart part, Long milli)
    • getZombieRelevenceScore

      public float getZombieRelevenceScore(IsoZombie z)
    • getVisual

      public BaseVisual getVisual()
      Specified by:
      getVisual in interface ILuaGameCharacter
      Overrides:
      getVisual in class IsoGameCharacter
    • getHumanVisual

      public HumanVisual getHumanVisual()
      Specified by:
      getHumanVisual in interface IHumanVisual
    • getAnimalVisual

      public AnimalVisual getAnimalVisual()
      Specified by:
      getAnimalVisual in interface IAnimalVisual
    • getAnimalType

      public String getAnimalType()
      Specified by:
      getAnimalType in interface IAnimalVisual
    • getAnimalSize

      public float getAnimalSize()
      Specified by:
      getAnimalSize in interface IAnimalVisual
    • getItemVisuals

      public ItemVisuals getItemVisuals()
      Overrides:
      getItemVisuals in class IsoGameCharacter
    • getItemVisuals

      public void getItemVisuals(ItemVisuals _itemVisuals)
      Specified by:
      getItemVisuals in interface IHumanVisual
      Overrides:
      getItemVisuals in class IsoGameCharacter
    • dressInNamedOutfit

      public void dressInNamedOutfit(String outfitName)
      Specified by:
      dressInNamedOutfit in interface ILuaGameCharacterClothing
      Overrides:
      dressInNamedOutfit in class IsoGameCharacter
    • dressInClothingItem

      public void dressInClothingItem(String itemGUID)
      Overrides:
      dressInClothingItem in class IsoGameCharacter
    • onWornItemsChanged

      public void onWornItemsChanged()
      Overrides:
      onWornItemsChanged in class IsoGameCharacter
    • actionStateChanged

      public void actionStateChanged(ActionContext sender)
      Specified by:
      actionStateChanged in interface IActionStateChanged
      Overrides:
      actionStateChanged in class IsoGameCharacter
    • getLastAngle

      public Vector2 getLastAngle()
    • setLastAngle

      public void setLastAngle(Vector2 _lastAngle)
    • getDialogMood

      public int getDialogMood()
    • setDialogMood

      public void setDialogMood(int _DialogMood)
    • getPing

      public int getPing()
    • setPing

      public void setPing(int _ping)
    • getDragObject

      public IsoMovingObject getDragObject()
    • setDragObject

      public void setDragObject(IsoMovingObject _DragObject)
    • getAsleepTime

      public float getAsleepTime()
    • setAsleepTime

      public void setAsleepTime(float _AsleepTime)
    • getSpottedList

      public Stack<IsoMovingObject> getSpottedList()
    • getTicksSinceSeenZombie

      public int getTicksSinceSeenZombie()
    • setTicksSinceSeenZombie

      public void setTicksSinceSeenZombie(int _TicksSinceSeenZombie)
    • isWaiting

      public boolean isWaiting()
    • setWaiting

      public void setWaiting(boolean _Waiting)
    • getDragCharacter

      public IsoSurvivor getDragCharacter()
    • setDragCharacter

      public void setDragCharacter(IsoSurvivor _DragCharacter)
    • getHeartDelay

      public float getHeartDelay()
    • setHeartDelay

      public void setHeartDelay(float _heartDelay)
    • getHeartDelayMax

      public float getHeartDelayMax()
    • setHeartDelayMax

      public void setHeartDelayMax(int _heartDelayMax)
    • getHoursSurvived

      public double getHoursSurvived()
      Specified by:
      getHoursSurvived in interface ILuaGameCharacter
      Overrides:
      getHoursSurvived in class IsoGameCharacter
    • setHoursSurvived

      public void setHoursSurvived(double hrs)
    • getMaxWeightDelta

      public float getMaxWeightDelta()
    • setMaxWeightDelta

      public void setMaxWeightDelta(float _maxWeightDelta)
    • getForname

      public String getForname()
    • setForname

      public void setForname(String _Forname)
    • getSurname

      public String getSurname()
    • setSurname

      public void setSurname(String _Surname)
    • isbChangeCharacterDebounce

      public boolean isbChangeCharacterDebounce()
    • setbChangeCharacterDebounce

      public void setbChangeCharacterDebounce(boolean _bChangeCharacterDebounce)
    • getFollowID

      public int getFollowID()
    • setFollowID

      public void setFollowID(int _followID)
    • isbSeenThisFrame

      public boolean isbSeenThisFrame()
    • setbSeenThisFrame

      public void setbSeenThisFrame(boolean _bSeenThisFrame)
    • isbCouldBeSeenThisFrame

      public boolean isbCouldBeSeenThisFrame()
    • setbCouldBeSeenThisFrame

      public void setbCouldBeSeenThisFrame(boolean _bCouldBeSeenThisFrame)
    • getTimeSinceLastStab

      public float getTimeSinceLastStab()
    • setTimeSinceLastStab

      public void setTimeSinceLastStab(float _timeSinceLastStab)
    • getLastSpotted

      public Stack<IsoMovingObject> getLastSpotted()
    • setLastSpotted

      public void setLastSpotted(Stack<IsoMovingObject> _LastSpotted)
    • getClearSpottedTimer

      public int getClearSpottedTimer()
    • setClearSpottedTimer

      public void setClearSpottedTimer(int _ClearSpottedTimer)
    • IsRunning

      public boolean IsRunning()
    • InitSpriteParts

      public void InitSpriteParts()
    • getTagPrefix

      public String getTagPrefix()
    • setTagPrefix

      public void setTagPrefix(String newTag)
    • getTagColor

      public ColorInfo getTagColor()
    • setTagColor

      public void setTagColor(ColorInfo _tagColor)
    • getDisplayName

      public String getDisplayName()
    • setDisplayName

      public void setDisplayName(String _displayName)
    • isSeeNonPvpZone

      public boolean isSeeNonPvpZone()
    • isSeeDesignationZone

      public boolean isSeeDesignationZone()
    • setSeeDesignationZone

      public void setSeeDesignationZone(boolean boolean0)
    • addSelectedZoneForHighlight

      public void addSelectedZoneForHighlight(Double double0)
    • setSelectedZoneForHighlight

      public void setSelectedZoneForHighlight(Double double0)
    • getSelectedZoneForHighlight

      public Double getSelectedZoneForHighlight()
    • getSelectedZonesForHighlight

      public ArrayList<Double> getSelectedZonesForHighlight()
    • resetSelectedZonesForHighlight

      public void resetSelectedZonesForHighlight()
    • setSeeNonPvpZone

      public void setSeeNonPvpZone(boolean _seeNonPvpZone)
    • isShowTag

      public boolean isShowTag()
    • setShowTag

      public void setShowTag(boolean show)
    • isFactionPvp

      public boolean isFactionPvp()
    • setFactionPvp

      public void setFactionPvp(boolean pvp)
    • isForceAim

      public boolean isForceAim()
    • setForceAim

      public void setForceAim(boolean _forceAim)
    • toggleForceAim

      public boolean toggleForceAim()
    • isForceSprint

      public boolean isForceSprint()
    • setForceSprint

      public void setForceSprint(boolean _forceSprint)
    • toggleForceSprint

      public boolean toggleForceSprint()
    • isForceRun

      public boolean isForceRun()
    • setForceRun

      public void setForceRun(boolean _forceRun)
    • toggleForceRun

      public boolean toggleForceRun()
    • isDeaf

      public boolean isDeaf()
    • isForceOverrideAnim

      public boolean isForceOverrideAnim()
    • setForceOverrideAnim

      public void setForceOverrideAnim(boolean forceOverride)
    • getMechanicsItem

      public Long getMechanicsItem(String itemId)
    • isWearingNightVisionGoggles

      public boolean isWearingNightVisionGoggles()
    • setWearingNightVisionGoggles

      public void setWearingNightVisionGoggles(boolean b)
    • OnAnimEvent

      public void OnAnimEvent(AnimLayer sender, AnimEvent event)
      Specified by:
      OnAnimEvent in interface IAnimEventCallback
      Overrides:
      OnAnimEvent in class IsoGameCharacter
    • onCullStateChanged

      public void onCullStateChanged(ModelManager modelManager, boolean isCulled)
      Callback from ModelManager.Add/Remove functions.
      Overrides:
      onCullStateChanged in class IsoGameCharacter
      Parameters:
      modelManager - Event sender.
      isCulled - Whether or not this object is culled from the visible scene or not.
    • isTimedActionInstant

      public boolean isTimedActionInstant()
      Specified by:
      isTimedActionInstant in interface ILuaGameCharacter
      Overrides:
      isTimedActionInstant in class IsoGameCharacter
    • isSkeleton

      public boolean isSkeleton()
      Specified by:
      isSkeleton in interface IHumanVisual
    • addWorldSoundUnlessInvisible

      public void addWorldSoundUnlessInvisible(int radius, int volume, boolean bStressHumans)
      Specified by:
      addWorldSoundUnlessInvisible in interface ILuaGameCharacter
      Overrides:
      addWorldSoundUnlessInvisible in class IsoGameCharacter
    • getMoodleLevel

      public int getMoodleLevel(MoodleType type)
    • isAttackStarted

      public boolean isAttackStarted()
    • setAttackStarted

      public void setAttackStarted(boolean boolean0)
    • isBehaviourMoving

      public boolean isBehaviourMoving()
      Overrides:
      isBehaviourMoving in class IsoGameCharacter
    • isJustMoved

      public boolean isJustMoved()
    • setJustMoved

      public void setJustMoved(boolean val)
    • isPlayerMoving

      public boolean isPlayerMoving()
      Overrides:
      isPlayerMoving in class IsoGameCharacter
    • getTimedActionTimeModifier

      public float getTimedActionTimeModifier()
      Overrides:
      getTimedActionTimeModifier in class IsoGameCharacter
    • isLookingWhileInVehicle

      public boolean isLookingWhileInVehicle()
    • setInitiateAttack

      public void setInitiateAttack(boolean initiate)
    • isIgnoreInputsForDirection

      public boolean isIgnoreInputsForDirection()
    • setIgnoreInputsForDirection

      public void setIgnoreInputsForDirection(boolean _ignoreInputsForDirection)
    • isIgnoreContextKey

      public boolean isIgnoreContextKey()
    • setIgnoreContextKey

      public void setIgnoreContextKey(boolean _ignoreContextKey)
    • isIgnoreAutoVault

      public boolean isIgnoreAutoVault()
    • setIgnoreAutoVault

      public void setIgnoreAutoVault(boolean _ignoreAutoVault)
    • isAllowSprint

      public boolean isAllowSprint()
    • setAllowSprint

      public void setAllowSprint(boolean _allowSprint)
    • isAllowRun

      public boolean isAllowRun()
    • setAllowRun

      public void setAllowRun(boolean _allowRun)
    • getAttackType

      public String getAttackType()
    • setAttackType

      public void setAttackType(String _attackType)
    • clearNetworkEvents

      public void clearNetworkEvents()
    • isCanSeeAll

      public boolean isCanSeeAll()
    • setCanSeeAll

      public void setCanSeeAll(boolean b)
    • isNetworkTeleportEnabled

      public boolean isNetworkTeleportEnabled()
    • setNetworkTeleportEnabled

      public void setNetworkTeleportEnabled(boolean b)
    • isCheatPlayerSeeEveryone

      public boolean isCheatPlayerSeeEveryone()
    • getRelevantAndDistance

      public float getRelevantAndDistance(float x, float y, float RelevantRange)
    • isCanHearAll

      public boolean isCanHearAll()
    • setCanHearAll

      public void setCanHearAll(boolean b)
    • getAlreadyReadBook

      public ArrayList<String> getAlreadyReadBook()
    • setMoodleCantSprint

      public void setMoodleCantSprint(boolean b)
    • setAttackFromBehind

      public void setAttackFromBehind(boolean _attackFromBehind)
    • isAttackFromBehind

      public boolean isAttackFromBehind()
    • getDamageFromHitByACar

      public float getDamageFromHitByACar(float vehicleSpeed)
    • Hit

      public float Hit(BaseVehicle vehicle, float speed, boolean isHitFromBehind, float hitDirX, float hitDirY)
      Specified by:
      Hit in interface ILuaGameCharacterDamage
      Overrides:
      Hit in class IsoGameCharacter
    • Kill

      public void Kill(IsoGameCharacter killer)
      Overrides:
      Kill in class IsoGameCharacter
    • shouldDoInventory

      public boolean shouldDoInventory()
      Overrides:
      shouldDoInventory in class IsoGameCharacter
    • becomeCorpse

      public void becomeCorpse()
      Overrides:
      becomeCorpse in class IsoGameCharacter
    • preupdate

      public void preupdate()
      Overrides:
      preupdate in class IsoGameCharacter
    • getHitReactionNetworkAI

      public HitReactionNetworkAI getHitReactionNetworkAI()
      Overrides:
      getHitReactionNetworkAI in class IsoGameCharacter
    • getNetworkCharacterAI

      public NetworkCharacterAI getNetworkCharacterAI()
      Overrides:
      getNetworkCharacterAI in class IsoGameCharacter
    • setFishingStage

      public void setFishingStage(String string)
    • setFitnessSpeed

      public void setFitnessSpeed()
    • isLocal

      public boolean isLocal()
      Overrides:
      isLocal in class IsoGameCharacter
    • isClimbOverWallSuccess

      public boolean isClimbOverWallSuccess()
    • setClimbOverWallSuccess

      public void setClimbOverWallSuccess(boolean _climbOverWallSuccess)
    • isClimbOverWallStruggle

      public boolean isClimbOverWallStruggle()
    • setClimbOverWallStruggle

      public void setClimbOverWallStruggle(boolean _climbOverWallStruggle)
    • isVehicleCollisionActive

      public boolean isVehicleCollisionActive(BaseVehicle testVehicle)
      Overrides:
      isVehicleCollisionActive in class IsoGameCharacter
    • isSkipResolveCollision

      public boolean isSkipResolveCollision()
      Overrides:
      isSkipResolveCollision in class IsoGameCharacter
    • isShowMPInfos

      public boolean isShowMPInfos()
    • setShowMPInfos

      public void setShowMPInfos(boolean b)
    • getMusicIntensityEvents

      public MusicIntensityEvents getMusicIntensityEvents()
    • triggerMusicIntensityEvent

      public void triggerMusicIntensityEvent(String string)
    • getMusicThreatStatuses

      public MusicThreatStatuses getMusicThreatStatuses()
    • addAttachedAnimal

      public void addAttachedAnimal(IsoAnimal isoAnimal)
    • getAttachedAnimals

      public ArrayList<IsoAnimal> getAttachedAnimals()
    • removeAttachedAnimal

      public void removeAttachedAnimal(IsoAnimal isoAnimal)
    • removeAllAttachedAnimals

      public void removeAllAttachedAnimals()
    • lureAnimal

      public void lureAnimal(InventoryItem inventoryItem)
    • getLuredAnimals

      public ArrayList<IsoAnimal> getLuredAnimals()
    • stopLuringAnimals

      public void stopLuringAnimals(boolean boolean0)
    • setIsLuringAnimals

      public void setIsLuringAnimals(boolean boolean0)
    • getVoiceType

      public int getVoiceType()
    • setVoiceType

      public void setVoiceType(int int0)
    • setVoicePitch

      public void setVoicePitch(float float0)
    • isFarming

      public boolean isFarming()
    • setIsFarming

      public void setIsFarming(boolean boolean0)
    • tooDarkToRead

      public boolean tooDarkToRead()
    • isWalking

      public boolean isWalking()
    • isInvPageDirty

      public boolean isInvPageDirty()
    • setInvPageDirty

      public void setInvPageDirty(boolean boolean0)
    • getVoicePitch

      public float getVoicePitch()
    • setCombatSpeed

      public void setCombatSpeed(float float0)
    • getCombatSpeed

      public float getCombatSpeed()
    • isMeleePressed

      public boolean isMeleePressed()
    • isGrapplePressed

      public boolean isGrapplePressed()
    • setRole

      public void setRole(Role rolex)
    • wasLastAttackHandToHand

      public boolean wasLastAttackHandToHand()
    • setLastAttackWasHandToHand

      public void setLastAttackWasHandToHand(boolean boolean0)
    • petAnimal

      public void petAnimal()
    • getUseableAnimal

      public IsoAnimal getUseableAnimal()