Package zombie.characters
Class IsoPlayer
java.lang.Object
zombie.iso.IsoObject
zombie.iso.IsoMovingObject
zombie.characters.IsoGameCharacter
zombie.characters.IsoLivingCharacter
zombie.characters.IsoPlayer
- All Implemented Interfaces:
java.io.Serializable
,Mover
,Talker
,ChatElementOwner
- Direct Known Subclasses:
IsoNPCPlayer
public class IsoPlayer extends IsoLivingCharacter
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.characters.IsoGameCharacter
IsoGameCharacter.BodyLocation, IsoGameCharacter.LightInfo, IsoGameCharacter.Location, IsoGameCharacter.PerkInfo, IsoGameCharacter.TorchInfo, IsoGameCharacter.Wound, IsoGameCharacter.XP, IsoGameCharacter.XPMultiplier
Nested classes/interfaces inherited from class zombie.iso.IsoMovingObject
IsoMovingObject.TreeSoundManager
Nested classes/interfaces inherited from class zombie.iso.IsoObject
IsoObject.VisionResult
-
Field Summary
Fields inherited from class zombie.characters.IsoLivingCharacter
bareHands, bCollidedWithPushable, bDoShove, targetOnGround
Fields inherited from class zombie.characters.IsoGameCharacter
AllowConversation, angle, Asleep, AttackDelay, AttackDelayLast, AttackDelayMax, AttackDelayUse, AttackedBy, attackTargetSquare, AttackWasSuperAttack, bClimbing, bDoDefer, BeenMovingForDecrease, BeenMovingForIncrease, BetaDelta, BetaEffect, bFalling, bFemale, BloodImpactX, BloodImpactY, BloodImpactZ, bloodSplat, BodyDamage, BodyDamageRemote, bOnBed, bottomsSprite, bUseParts, callOut, canSeeCurrent, CanUpgradePerk, CharacterActions, chatElement, ClothingItem_Back, ClothingItem_Feet, ClothingItem_Hands, ClothingItem_Head, ClothingItem_Legs, ClothingItem_Torso, craftIngredient1, craftIngredient2, craftIngredient3, craftIngredient4, dangerLevels, decisionPath, defaultState, defHurtSound, DepressDelta, DepressEffect, DepressFirstTakeTime, descriptor, DieCount, drawUserName, DropShadow, emitter, EnemyList, extraSprites, fallTime, FamiliarBuildings, finder, FireKillRate, FireSpreadProbability, FollowingTarget, footStepCounter, footStepCounterMax, ForceWakeUp, ForceWakeUpTime, godMod, hairSprite, haloDispTime, haloNote, hasChatHistory, hasInitTextObjects, headSprite, Health, hitBy, hurtSound, IgnoreMovementForDirection, IgnoreStaggerBack, inf, inventory, invisible, isoPlayer, knockbackAttackMod, lastCollidedN, lastCollidedW, lastdir, lastFallSpeed, LastHeardSound, LastKnownLocation, LastLocalEnemies, LastZombieKills, leaveBodyTimedown, leftHandItem, legsSprite, LevelUpLevels, LevelUpMultiplier, lineDisplayTime, llx, lly, llz, LocalEnemyList, LocalGroupList, LocalList, LocalNeutralList, LocalRelevantEnemyList, lrx, lry, masterBehaviorList, masterProper, maxWeight, maxWeightBase, MeetList, Moodles, moveForwardVec, namePvpSuffix, namesPrefix, NetRemoteState, NextWander, NumberOfPerksToPick, NumSurvivorsInVicinity, OnFire, Order, Orders, PainDelta, PainEffect, path, PathDelay, pathIndex, pathing, PathSpeed, PathTargetX, PathTargetY, PathTargetZ, Patience, PatienceMax, PatienceMin, PerkList, Personality, PersonalNeed, PersonalNeeds, playerIsSelf, Reanim, ReanimAnimDelay, ReanimAnimFrame, ReanimatedCorpse, ReanimatedCorpseID, ReanimateTimer, ReanimPhase, RecoilDelayDecrease, RemoteID, RENDER_OFFSET_X, RENDER_OFFSET_Y, rightHandItem, sayLine, shoeSprite, SleepingTabletDelta, SleepingTabletEffect, slowFactor, slowTimer, SpeakColour, Speaking, SpeakTime, speedMod, SpottedSinceAlphaZero, staggerTimeMod, stateMachine, StateMachineParams, stats, superAttack, SurvivorKills, SurvivorMap, TagGroup, tempo, testPlayerSpotInDarkness, TimeThumping, timeTillForgetLocation, topSprite, torsoSprite, Traits, upKillCount, UsedItemsOn, useHandWeapon, userName, VeryCloseEnemyList, VisibleToNPCs, voiceMuteSuffix, voiceSuffix, wounds, xp, ZombieKills
Fields inherited from class zombie.iso.IsoMovingObject
bx, by, Collidable, current, def, ExpectedChecksum, hitDir, ID, last, lx, ly, lz, movementLastFrame, movingSq, noDamage, nx, ny, reqMovement, ScriptModule, ScriptName, scriptnx, scriptny, shootable, solid, treeSoundMgr, weight, width, x, y, z
Fields inherited from class zombie.iso.IsoObject
alpha, alphaStep, AttachedAnimSprite, AttachedAnimSpriteActual, bmod, bNeverDoneAlpha, container, Damage, dir, externalWaterSource, gmod, highlighted, keyId, lastRendered, lastRenderedRendered, MAX_WALL_SPLATS, name, NoPicking, offsetX, offsetY, OutlineOnMouseover, overlaySprite, overlaySpriteColor, rerouteCollide, rerouteMask, rmod, sheetRope, sheetRopeHealth, sprite, spriteName, square, stCol, sx, sy, table, targetAlpha, tintb, tintg, tintr, usesExternalWaterSource, wallBloodSplats
-
Constructor Summary
Constructors Constructor Description IsoPlayer(IsoCell cell)
IsoPlayer(IsoCell cell, SurvivorDesc desc, int x, int y, int z)
-
Method Summary
Modifier and Type Method Description void
addSmallInjuries()
static boolean
allPlayersAsleep()
static boolean
allPlayersDead()
boolean
AttemptAttack()
void
Bitten()
void
CalculateAim()
void
calculateContext()
boolean
canSeePlayerStats()
void
collideWith(IsoObject obj)
static byte[]
createChecksum(java.lang.String filename)
ByteBufferWriter
createPlayerStats(ByteBufferWriter b, java.lang.String adminUsername)
boolean
DoAttack(float chargeDelta)
boolean
DoAttack(float chargeDelta, boolean forceShove, java.lang.String clickSound)
static boolean
DoChecksumCheck()
static boolean
DoChecksumCheck(java.lang.String str, java.lang.String expected)
java.lang.String
getAccessLevel()
float
getAimingMod()
float
getAimingRangeMod()
static java.util.ArrayList
getAllFileNames()
static java.util.ArrayList
getAllSavedPlayers()
int
getAngleCounter()
float
getAsleepTime()
IsoCell
getCell()
int
getChancesToHeadshotHandWeapon()
int
getClearSpottedTimer()
Vector2
getControllerAimDir(Vector2 vec)
static boolean
getCoopPVP()
float
getDesiredCosRate()
float
getDesiredSinRate()
int
getDialogMood()
java.lang.String
getDisplayName()
IsoSurvivor
getDragCharacter()
IsoMovingObject
getDragObject()
float
getDrunkCos()
float
getDrunkCos2()
float
getDrunkOscilatorRateCos()
float
getDrunkOscilatorRateCos2()
float
getDrunkOscilatorRateSin()
float
getDrunkOscilatorStepCos()
float
getDrunkOscilatorStepCos2()
float
getDrunkOscilatorStepSin()
float
getDrunkSin()
IsoObject
getFakeAttackTarget()
static int
getFollowDeadCount()
int
getFollowID()
java.lang.String
getForname()
IsoSurvivor
getGuardChosen()
IsoGridSquare
getGuardFace()
int
getGuardModeUI()
IsoSprite
getGuardModeUISprite()
IsoGridSquare
getGuardStand()
float
getHeartDelay()
float
getHeartDelayMax()
double
getHoursSurvived()
static IsoPlayer
getInstance()
IsoObject
getInteract()
float
getInvAimingMod()
float
getInvAimingRangeMod()
int
getJoypadBind()
Vector2
getLastAngle()
java.util.Stack
getLastPos()
double
getLastSeenZomboidTime()
java.util.Stack
getLastSpotted()
float
getLightDistance()
java.lang.String[]
getMainHot()
float
getMaxOscilatorRate()
float
getMaxWeightDelta()
static java.lang.String
getMD5Checksum(java.lang.String filename)
float
getMinOscilatorRate()
float
getMoveSpeed()
Nutrition
getNutrition()
java.lang.String
getObjectName()
int
getOffSetXUI()
int
getOffSetYUI()
int
getOnlineID()
float
getOscilatorChangeRate()
float
getPathSpeed()
int
getPing()
float
getPlayerClothingTemperature()
static int
getPlayerIndex()
Vector2
getPlayerMoveDir()
int
getPlayerNum()
static java.util.ArrayList
getPlayers()
float
getRadiusKickback(HandWeapon weapon)
float
getReloadingMod()
java.lang.String[]
getSecHot()
int
getSleepingPillsTaken()
java.util.Stack
getSpottedList()
static java.util.Stack
getStaticTraits()
long
getSteamID()
java.lang.String
getSurname()
ColorInfo
getTagColor()
java.lang.String
getTagPrefix()
int
getTicksSinceSeenZombie()
int
getTimeSinceLastStab()
java.lang.String
getTimeSurvived()
float
getTorchStrength()
java.lang.Integer
getTransactionID()
static java.lang.String
getUniqueFileName()
java.lang.String
getUsername()
boolean
hopFence(IsoDirections dir, boolean bTest)
void
InitSpriteParts()
boolean
IsAiming()
boolean
isAllChatMuted()
boolean
isBannedAttacking()
boolean
isbChangeCharacterDebounce()
boolean
isbCouldBeSeenThisFrame()
boolean
isbDebounceLMB()
boolean
isBlockMovement()
boolean
isbSeenThisFrame()
boolean
isbSneaking()
boolean
isDeaf()
boolean
isFactionPvp()
boolean
isFakeAttack()
boolean
isForceRun()
boolean
isGhostMode()
boolean
isIsAiming()
boolean
isLBPressed()
boolean
isLocalPlayer()
boolean
isMaskClicked(int x, int y, boolean flip)
boolean
isNoClip()
boolean
isOnlyPlayerAsleep()
boolean
isOutside()
boolean
IsRunning()
boolean
isSaveFileInUse()
boolean
isSaveFileIPValid()
boolean
isSeeNonPvpZone()
static boolean
isServerPlayerIDValid(java.lang.String id)
boolean
isShowTag()
boolean
IsSneaking()
boolean
isTargetedByZombie()
boolean
isTorchCone()
boolean
IsUsingAimWeapon()
boolean
isWaiting()
void
load(java.lang.String fileName)
void
load(java.nio.ByteBuffer input, int WorldVersion)
void
nullifyAiming()
void
OnDeath()
void
pathFinished()
boolean
pressedAim()
boolean
pressedMovement()
void
removeSaveFile()
void
render()
void
save()
void
save(java.lang.String fileName)
void
save(java.nio.ByteBuffer output)
void
saveGame()
void
Scratched()
void
setAccessLevel(java.lang.String newLvl)
void
setAllChatMuted(boolean allChatMuted)
void
setAngleCounter(int angleCounter)
void
setAsleepTime(float AsleepTime)
void
setAuthorizeMeleeAction(boolean enabled)
void
setBannedAttacking(boolean b)
void
setbChangeCharacterDebounce(boolean bChangeCharacterDebounce)
void
setbCouldBeSeenThisFrame(boolean bCouldBeSeenThisFrame)
void
setbDebounceLMB(boolean bDebounceLMB)
void
setBlockMovement(boolean blockMovement)
void
setbSeenThisFrame(boolean bSeenThisFrame)
void
setbSneaking(boolean bSneaking)
void
setClearSpottedTimer(int ClearSpottedTimer)
static void
setCoopPVP(boolean enabled)
void
setDesiredCosRate(float DesiredCosRate)
void
setDesiredSinRate(float DesiredSinRate)
void
setDialogMood(int DialogMood)
void
setDisplayName(java.lang.String displayName)
void
setDragCharacter(IsoSurvivor DragCharacter)
void
setDragObject(IsoMovingObject DragObject)
void
setDrunkCos(float DrunkCos)
void
setDrunkCos2(float DrunkCos2)
void
setDrunkOscilatorRateCos(float DrunkOscilatorRateCos)
void
setDrunkOscilatorRateCos2(float DrunkOscilatorRateCos2)
void
setDrunkOscilatorRateSin(float DrunkOscilatorRateSin)
void
setDrunkOscilatorStepCos(float DrunkOscilatorStepCos)
void
setDrunkOscilatorStepCos2(float DrunkOscilatorStepCos2)
void
setDrunkOscilatorStepSin(float DrunkOscilatorStepSin)
void
setDrunkSin(float DrunkSin)
void
setFactionPvp(boolean pvp)
void
setFakeAttack(boolean FakeAttack)
void
setFakeAttackTarget(IsoObject FakeAttackTarget)
static void
setFollowDeadCount(int aFollowDeadCount)
void
setFollowID(int followID)
void
setForceRun(boolean forceRun)
void
setForname(java.lang.String Forname)
void
setGhostMode(boolean aGhostMode)
void
setGuardChosen(IsoSurvivor GuardChosen)
void
setGuardFace(IsoGridSquare GuardFace)
void
setGuardModeUI(int GuardModeUI)
void
setGuardModeUISprite(IsoSprite GuardModeUISprite)
void
setGuardStand(IsoGridSquare GuardStand)
void
setHeartDelay(float heartDelay)
void
setHeartDelayMax(int heartDelayMax)
void
setHoursSurvived(double hrs)
static void
setInstance(IsoPlayer aInstance)
void
setIsAiming(boolean aIsAiming)
void
setLastAngle(Vector2 lastAngle)
void
setLastPos(java.util.Stack lastPos)
void
setLastSpotted(java.util.Stack LastSpotted)
void
setMainHot(java.lang.String[] MainHot)
void
setMaxOscilatorRate(float MaxOscilatorRate)
void
setMaxWeightDelta(float maxWeightDelta)
void
setMinOscilatorRate(float MinOscilatorRate)
void
setMoveSpeed(float moveSpeed)
void
setNoClip(boolean noClip)
void
setOffSetXUI(int offSetXUI)
void
setOffSetYUI(int offSetYUI)
void
setOscilatorChangeRate(float OscilatorChangeRate)
void
setPing(int ping)
void
setPlayerMoveDir(Vector2 aPlayerMoveDir)
java.lang.String
setPlayerStats(java.nio.ByteBuffer bb, java.lang.String adminUsername)
void
setSecHot(java.lang.String[] SecHot)
void
setSeeNonPvpZone(boolean seeNonPvpZone)
void
setShowTag(boolean show)
void
setSleepingPillsTaken(int sleepingPillsTaken)
void
setSpottedList(java.util.Stack spottedList)
static void
setStaticTraits(java.util.Stack aStaticTraits)
void
setSteamID(long steamID)
void
setSurname(java.lang.String Surname)
void
setTagColor(ColorInfo tagColor)
void
setTagPrefix(java.lang.String newTag)
void
setTicksSinceSeenZombie(int TicksSinceSeenZombie)
void
setTimeSinceLastStab(int timeSinceLastStab)
void
setTransactionID(java.lang.Integer transactionID)
void
setUsername(java.lang.String newUsername)
void
setWaiting(boolean Waiting)
void
startReceivingBodyDamageUpdates(IsoPlayer other)
void
stopReceivingBodyDamageUpdates(IsoPlayer other)
void
TestZombieSpotPlayer(IsoMovingObject chr)
void
update()
void
updateLOS()
Methods inherited from class zombie.characters.IsoLivingCharacter
AttemptAttack, isAimAtFloor, isCollidedWithPushableThisFrame, setAimAtFloor
Methods inherited from class zombie.characters.IsoGameCharacter
Anger, ApplyInBedOffset, applyTraits, autoDrink, BetaAntiDepress, BetaBlockers, Callout, CanAttack, canClimbDownSheetRope, canClimbSheetRope, CanSee, changeState, climbDownSheetRope, climbSheetRope, climbThroughWindow, climbThroughWindow, climbThroughWindow, climbThroughWindow, climbThroughWindowFrame, compareMovePriority, createKeyRing, DirectionFromVector, DirectionFromVectorNoDiags, DoCharacterPart, DoDeath, DoDeath, DoDeathSilence, DoFloorSplat, DoFootstepSound, doSleepSpeech, DoSneezeText, DoZombiePart, DoZombiePart, drawAt, DrawSneezeText, Dressup, Dressup, dripBloodFloor, dropHandItems, Eat, Eat, EatRemote, exert, faceDirection, faceLocation, FaceNextPathNode, FaceNextPathNode, faceThisObject, faceThisObjectAlt, FireCheck, forceAwake, getAge, getAlreadyReadPages, getAngle, getAttackDelay, getAttackDelayMax, getAttackDelayUse, getAttackedBy, getAttackTargetSquare, getBarricadeStrengthMod, getBarricadeTimeMod, getBed, getBedType, getBeenMovingFor, getBetaDelta, getBetaEffect, getBloodImpactX, getBloodImpactY, getBloodImpactZ, getBloodSplat, getBodyDamage, getBodyDamageRemote, getBottomsSprite, getCanUpgradePerk, getChair, getCharacterActions, getClickSound, getClothingItem_Back, getClothingItem_Feet, getClothingItem_Hands, getClothingItem_Head, getClothingItem_Legs, getClothingItem_Torso, getCraftingByIndex, getCraftIngredient1, getCraftIngredient2, getCraftIngredient3, getCraftIngredient4, getCurrentBuilding, getCurrentBuildingDef, getCurrentRoomDef, getCurrentState, getDangerLevels, getDefaultState, getDepressDelta, getDepressEffect, getDescriptor, getDieCount, getEmitter, getEnemyList, getEquipedRadio, getExtraSprites, getFallTime, getFamiliarBuildings, getFatigueMod, getFinder, getFireKillRate, getFireSpreadProbability, getFollowingTarget, getFootStepCounter, getFootStepCounterMax, getForceWakeUpTime, getFullName, getHairSprite, getHammerSoundMod, getHeadSprite, getHealth, getHitBy, getHitChancesMod, getHittingMod, getHurtSound, getHyperthermiaMod, getInf, getInventory, getInventoryWeight, getKnownRecipes, getLastdir, getLastFallSpeed, getLastHeardSound, getLastHitCount, getLastHourSleeped, getLastKnownLocation, getLastKnownLocationOf, getLastLocalEnemies, getLastZombieKills, getLeaveBodyTimedown, getLegsSprite, getLevelMaxForXp, getLevelUpLevels, getLevelUpLevels, getLevelUpMultiplier, getLightfootMod, getLightInfo2, getLlx, getLly, getLlz, getLocalEnemyList, getLocalGroupList, getLocalList, getLocalNeutralList, getLocalRelevantEnemyList, getLowDangerInVicinity, getLrx, getLry, getMaintenanceMod, getMasterBehaviorList, getMasterProper, getMaxChatLines, getMaxWeight, getMaxWeightBase, getMeetList, getMeleeCombatMod, getMetalBarricadeStrengthMod, getModel, getMoodles, getMoveForwardVec, getNextWander, getNimbleMod, getNumberOfPerksToPick, getNumSurvivorsInVicinity, getOrder, getOrders, getPacingMod, getPainDelta, getPainEffect, getPath, getPathIndex, getPathTargetX, getPathTargetY, getPathTargetZ, getPatience, getPatienceMax, getPatienceMin, getPerkInfo, getPerkLevel, getPerkList, getPersonality, getPersonalNeed, getPersonalNeeds, getPrimaryHandItem, getPrimaryHandType, getReanimAnimDelay, getReanimAnimFrame, getReanimateTimer, getReanimPhase, getRecoilDelay, getRecoveryMod, getReduceInfectionPower, getRemoteID, getSafetyCooldown, getSayLine, getSayLineOld, getSecondaryHandItem, getSecondaryHandType, getShoeSprite, getShovingMod, getSleepingTabletDelta, getSleepingTabletEffect, getSlowFactor, getSlowTimer, getSneakSpotMod, getSpeakColour, getSpeakTime, getSpeedMod, getSprintMod, getSpriteDef, getStaggerTimeMod, getStateMachine, getStats, getSurvivorKills, getSurvivorMap, getTagGroup, getTalkerType, getTemperature, getTempo, getTestPlayerSpotInDarkness, getThreatLevel, getTimeSinceLastSmoke, getTimeThumping, getTopSprite, getTorsoSprite, getTraits, getUsedItemsOn, getUseHandWeapon, getVeryCloseEnemyList, getWeightMod, getWeldingSoundMod, getWounds, getXp, getXpForLevel, getZombieKills, GiveOrder, GivePersonalNeed, hasActiveModel, hasEquipped, HasItem, hasItems, HasTrait, haveBladeWeapon, Hit, Hit, hitConsequences, HitSilence, InBuildingWith, inflictWound, initLightInfo2, InitSpriteParts, initSpritePartsEmpty, InitSpritePartsZombie, InitSpritePartsZombie, initTextObjects, InRoomWith, isAboveTopOfStairs, isAlive, isAllowConversation, IsArmed, isAsleep, IsAttackRange, IsAttackRange, isAttackWasSuperAttack, isbDoDefer, isbFalling, isbOnBed, isbUseParts, isClimbing, isDead, isEquipped, isEquippedClothing, isFemale, isForceShove, isIgnoreMovementForDirection, isIgnoreStaggerBack, IsInBuilding, isInvisible, isKnownPoison, isLastCollidedN, isLastCollidedW, isOnFire, isPathing, isPrimaryEquipped, isReading, isReanim, isRecipeKnown, isSafety, isSat, isSpeaking, IsSpeaking, isSuperAttack, isVisibleToNPCs, Kill, level0, LevelPerk, LevelPerk, LevelUp, loadChange, LoseLevel, MoveForward, MoveForward, onMouseLeftClick, openWindow, PainMeds, PathTo, PathTo, PlayAnim, PlayAnimFrame, PlayAnimNoReset, PlayAnimUnlooped, PlayAnimWithSpeed, playDeadSound, PlayShootAnim, playSound, postupdate, QueueAction, ReadLiterature, ReduceHealthWhenBurning, removeEquippedClothing, render, renderlast, renderObjectPicker, rendertalk, resetBodyDamageRemote, resetModel, satOnChair, saveChange, Say, Say, SayDebug, SayDebug, SayShout, SayWhisper, Seen, sendStopBurning, setAge, setAllowConversation, setAlreadyReadPages, setAngle, SetAnim, setAnimated, SetAnimFrame, setAsleep, setAttackDelay, setAttackDelayMax, setAttackDelayUse, setAttackedBy, setAttackTargetSquare, setAttackWasSuperAttack, setbClimbing, setbDoDefer, setBed, setBedType, setBeenMovingFor, setBetaDelta, setBetaEffect, setbFalling, setBloodImpactX, setBloodImpactY, setBloodImpactZ, setBloodSplat, setBodyDamage, setbOnBed, setBottomsSprite, setbUseParts, setCanUpgradePerk, setChair, setCharacterActions, setClickSound, SetClothing, setClothingItem_Back, setClothingItem_Feet, setClothingItem_Hands, setClothingItem_Head, setClothingItem_Legs, setClothingItem_Torso, setCraftingByIndex, setCraftIngredient1, setCraftIngredient2, setCraftIngredient3, setCraftIngredient4, setDangerLevels, setDefaultState, setDefaultState, setDelayToSleep, setDepressDelta, setDepressEffect, setDescriptor, setDieCount, setDir, setEnemyList, setEquipParent, setFallTime, setFamiliarBuildings, setFemale, setFinder, setFireKillRate, setFireSpreadProbability, setFollowingTarget, setFootStepCounter, setFootStepCounterMax, setForceShove, setForceWakeUpTime, setHairSprite, setHaloNote, setHaloNote, setHaloNote, setHeadSprite, setHealth, setHitBy, setHurtSound, setIgnoreMovementForDirection, setIgnoreStaggerBack, setInf, setInventory, setLastCollidedN, setLastCollidedW, setLastdir, setLastFallSpeed, setLastHeardSound, setLastHitCount, setLastHourSleeped, setLastKnownLocation, setLastLocalEnemies, setLastZombieKills, setLeaveBodyTimedown, setLegsSprite, setLevelUpLevels, setLevelUpMultiplier, setLlx, setLly, setLlz, setLocalEnemyList, setLocalGroupList, setLocalList, setLocalNeutralList, setLocalRelevantEnemyList, setLockStates, setLrx, setLry, setMasterBehaviorList, setMasterProper, setMaxWeight, setMaxWeightBase, setMeetList, setModel, setMoodles, setMoveForwardVec, setNextWander, setNumberOfPerksToPick, setNumSurvivorsInVicinity, setOnFire, SetOnFire, setOrder, setOrders, setPainDelta, setPainEffect, setPath, setPathIndex, setPathing, setPathSpeed, setPathTargetX, setPathTargetY, setPathTargetZ, setPatience, setPatienceMax, setPatienceMin, setPerkList, setPersonality, setPersonalNeed, setPersonalNeeds, setPrimaryHandItem, setReading, setReanim, setReanimAnimDelay, setReanimAnimFrame, setReanimateTimer, setReanimPhase, setRecoilDelay, setReduceInfectionPower, setRemoteID, setRemoteMoveX, setRemoteMoveY, setRemoteState, setSafety, setSafetyCooldown, setSat, setSayLine, setSecondaryHandItem, setShoeSprite, setSleepingTabletDelta, setSleepingTabletEffect, setSlowFactor, setSlowTimer, setSpeakColour, setSpeakColourInfo, setSpeaking, setSpeakTime, setSpeedMod, setStaggerTimeMod, setStateMachine, setStats, setSuperAttack, setSurvivorKills, setSurvivorMap, setTagGroup, setTemperature, setTempo, setTestPlayerSpotInDarkness, setTimeOfSleep, setTimeSinceLastSmoke, setTimeThumping, setTopSprite, setTorsoSprite, setTraits, setUsedItemsOn, setUseHandWeapon, setVeryCloseEnemyList, setVisibleToNPCs, setWounds, setXp, setZombieKills, shouldBecomeZombieAfterDeath, SleepingTablet, smashWindow, splatBlood, splatBloodFloor, splatBloodFloorBig, SpreadFire, StartAction, StopAllActionQueue, StopAllActionQueueAiming, StopAllActionQueueRunning, StopAllActionQueueWalking, StopBurning, Throw, updateEmitter, updateLightInfo, updateTextObjects, updateUserName
Methods inherited from class zombie.iso.IsoMovingObject
collideCharacter, compareToY, Despawn, DistTo, DistTo, DistToProper, DistToSquared, DistToSquared, DoCollideNorS, DoCollideWorE, doStairs, ensureOnTile, getActiveInInstances, getAllowBehaviours, getBuilding, getCollidedObject, getCurrentSquare, getCurrentZone, getFacingPosition, getFeelersize, getFeelerTile, getFuturWalkedSquare, getGlobalMovementMod, getGlobalMovementMod, getHitDir, getHitForce, getHitFromAngle, getID, getIDCount, getImpulsex, getImpulsey, getLastSquare, getLastTargettedBy, getLimpulsex, getLimpulsey, getLx, getLy, getLz, getMovementLastFrame, getNx, getNy, getPathFindIndex, getScreenX, getScreenY, getScriptModule, getScriptName, getScriptnx, getScriptny, getSquare, getStateEventDelayTimer, getThumpTarget, getTimeSinceZombieAttack, getVectorFromDirection, getWeight, getWeight, getWidth, getX, getY, getZ, isAllowBehaviours, isbAltCollide, isCharacter, isCloseKilled, isCollidable, isCollidedE, isCollidedN, isCollidedS, isCollidedThisFrame, isCollidedW, isCollidedWithDoor, isDestroyed, isFirstUpdate, isOnFloor, isShootable, isSolid, Move, onMouseRightClick, onMouseRightReleased, preupdate, removeFromSquare, removeFromWorld, seperate, setActiveInInstances, setAllowBehaviours, setbAltCollide, setBlendSpeed, setCloseKilled, setCollidable, setCollidedE, setCollidedN, setCollidedObject, setCollidedS, setCollidedThisFrame, setCollidedW, setCollidedWithDoor, setCurrent, setDestroyed, setFeelersize, setFirstUpdate, setHitDir, setHitForce, setHitFromAngle, setID, setIDCount, setImpulsex, setImpulsey, setLast, setLastTargettedBy, setLimpulsex, setLimpulsey, setLx, setLy, setLz, setMovementLastFrame, setNx, setNy, setOnFloor, setPathFindIndex, setScriptModule, setScriptName, setScriptnx, setScriptny, setShootable, setSolid, setStateEventDelayTimer, setThumpTarget, setTimeSinceZombieAttack, setWeight, setWidth, setX, setY, setZ, spotted
Methods inherited from class zombie.iso.IsoObject
addChild, addSecondaryContainer, addToWorld, AttachAnim, AttachExistingAnim, AttachExistingAnim, AttackObject, checkHaveElectricity, createContainersFromSpriteProperties, debugPrintout, DirtySlice, doFindExternalWaterSource, DoSpecialTooltip, DoTooltip, factoryClassFromFileInput, factoryFromFileInput, factoryFromFileInput, FindExternalWaterSource, getAlpha, getAlphaStep, getAttachedAnimSprite, getChildSprites, getContainer, getContainerByEitherType, getContainerByIndex, getContainerByType, getContainerCount, getContainerIndex, getCustomColor, getDamage, getDir, getFacingPositionAlt, getHighlightColor, getIsSurfaceNormalOffset, getItemContainer, getKeyId, getLastRendered, getLastRenderedRendered, getMaskClickedY, getModData, getName, getNew, getObjectIndex, getOffsetX, getOffsetY, getOverlaySprite, getOverlaySpriteColor, getProperties, getRenderYOffset, getRerouteCollide, getRerouteMask, getRerouteMaskObject, getSpecialObjectIndex, getSprite, getSpriteName, getStaticMovingObjectIndex, getSurfaceNormalOffset, getSurfaceOffset, getTable, getTargetAlpha, getTextureName, getTile, getType, getUsesExternalWaterSource, getWaterAmount, getWorldObjectIndex, hasExternalWaterSource, hasModData, HasTooltip, hasWater, haveSpecialTooltip, isBlink, isMaskClicked, isNoPicking, isOutlineOnMouseover, isTableSurface, isTableTopObject, isZombie, loadFromRemoteBuffer, loadFromRemoteBuffer, removeAllContainers, RemoveAttachedAnim, RemoveAttachedAnims, render, replaceItem, reset, reuseGridSquare, sendObjectChange, sendObjectChange, sendObjectChange, Serialize, setAlpha, setAlphaStep, setAttachedAnimSprite, setBlink, setChildSprites, setContainer, setCustomColor, setCustomColor, setDamage, setDefaultCondition, setDir, setHighlightColor, setHighlighted, setKeyId, setLastRendered, setLastRenderedRendered, setName, SetName, setNoPicking, setOffsetX, setOffsetY, setOutlineOnMouseover, setOverlaySprite, setOverlaySprite, setOverlaySprite, setOverlaySpriteColor, setRenderYOffset, setRerouteCollide, setRerouteMask, setSpecialTooltip, setSprite, setSprite, setSpriteFromName, setSquare, setTable, setTargetAlpha, setType, setUsesExternalWaterSource, setWaterAmount, syncIsoObject, syncIsoObjectSend, TestCollide, TestPathfindCollide, TestVision, transmitCompleteItemToClients, transmitCompleteItemToServer, transmitCustomColor, transmitModData, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToServer, useItemOn, useWater, writeToRemoteBuffer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.chat.ChatElementOwner
getSquare, getX, getY, getZ
-
Field Details
-
NetRemoteState_Idle
public static final byte NetRemoteState_Idle- See Also:
- Constant Field Values
-
NetRemoteState_Walk
public static final byte NetRemoteState_Walk- See Also:
- Constant Field Values
-
NetRemoteState_Run
public static final byte NetRemoteState_Run- See Also:
- Constant Field Values
-
NetRemoteState_Attack
public static byte NetRemoteState_Attack -
NoSound
public static final boolean NoSound- See Also:
- Constant Field Values
-
MAX
public static final int MAX- See Also:
- Constant Field Values
-
bDeathFinished
public boolean bDeathFinished -
isSpeek
public boolean isSpeek -
isVoiceMute
public boolean isVoiceMute -
soundListener
-
bNewControls
public boolean bNewControls -
username
public java.lang.String username -
closestZombie
public float closestZombie -
GhostMode
public boolean GhostMode -
instance
-
playerMoveDir
-
isAiming
protected boolean isAiming -
StaticTraits
protected static java.util.Stack StaticTraits -
angleCounter
protected int angleCounter -
lastAngle
-
DialogMood
protected int DialogMood -
ping
protected int ping -
FakeAttack
protected boolean FakeAttack -
FakeAttackTarget
-
DragObject
-
AsleepTime
protected float AsleepTime -
MainHot
protected java.lang.String[] MainHot -
SecHot
protected java.lang.String[] SecHot -
spottedList
protected java.util.Stack spottedList -
TicksSinceSeenZombie
protected int TicksSinceSeenZombie -
Waiting
protected boolean Waiting -
DragCharacter
-
lastPos
protected java.util.Stack lastPos -
bDebounceLMB
protected boolean bDebounceLMB -
heartDelay
protected float heartDelay -
heartDelayMax
protected float heartDelayMax -
heartEventInstance
protected long heartEventInstance -
DrunkOscilatorStepSin
protected float DrunkOscilatorStepSin -
DrunkOscilatorRateSin
protected float DrunkOscilatorRateSin -
DrunkOscilatorStepCos
protected float DrunkOscilatorStepCos -
DrunkOscilatorRateCos
protected float DrunkOscilatorRateCos -
DrunkOscilatorStepCos2
protected float DrunkOscilatorStepCos2 -
DrunkOscilatorRateCos2
protected float DrunkOscilatorRateCos2 -
DrunkSin
protected float DrunkSin -
DrunkCos
protected float DrunkCos -
DrunkCos2
protected float DrunkCos2 -
MinOscilatorRate
protected float MinOscilatorRate -
MaxOscilatorRate
protected float MaxOscilatorRate -
DesiredSinRate
protected float DesiredSinRate -
DesiredCosRate
protected float DesiredCosRate -
OscilatorChangeRate
protected float OscilatorChangeRate -
maxWeightDelta
public float maxWeightDelta -
Forname
protected java.lang.String Forname -
Surname
protected java.lang.String Surname -
TargetSpeed
public float TargetSpeed -
CurrentSpeed
public float CurrentSpeed -
MaxSpeed
public float MaxSpeed -
SpeedChange
public float SpeedChange -
GuardModeUISprite
-
GuardModeUI
protected int GuardModeUI -
GuardChosen
-
GuardStand
-
GuardFace
-
SaveFileName
public java.lang.String SaveFileName -
isCharging
public boolean isCharging -
isChargingLT
public boolean isChargingLT -
bSneaking
public boolean bSneaking -
bRunning
protected boolean bRunning -
bWasRunning
protected boolean bWasRunning -
bRightClickMove
public boolean bRightClickMove -
bChangeCharacterDebounce
protected boolean bChangeCharacterDebounce -
runAngle
-
followID
protected int followID -
FollowCamStack
protected java.util.Stack FollowCamStack -
DemoMode
public static boolean DemoMode -
FollowDeadCount
protected static int FollowDeadCount -
bSeenThisFrame
protected boolean bSeenThisFrame -
bCouldBeSeenThisFrame
protected boolean bCouldBeSeenThisFrame -
TimeSprinting
public int TimeSprinting -
TimeSinceRightClick
public int TimeSinceRightClick -
TimeRightClicking
public int TimeRightClicking -
LastTimeRightClicking
public int LastTimeRightClicking -
JustMoved
public boolean JustMoved -
ControllerRun
public boolean ControllerRun -
L3Pressed
public boolean L3Pressed -
bDoubleClick
public boolean bDoubleClick -
AimRadius
public float AimRadius -
DesiredAimRadius
public float DesiredAimRadius -
bBannedAttacking
public boolean bBannedAttacking -
EffectiveAimDistance
public float EffectiveAimDistance -
timePressedContext
public float timePressedContext -
chargeTime
public float chargeTime -
useChargeTime
public float useChargeTime -
bPressContext
public boolean bPressContext -
numNearbyBuildingsRooms
public float numNearbyBuildingsRooms -
ContextPanic
public float ContextPanic -
players
-
JoypadBind
public int JoypadBind -
useChargeDelta
public float useChargeDelta -
timeSinceLastStab
protected int timeSinceLastStab -
LastSpotted
protected java.util.Stack LastSpotted -
ClearSpottedTimer
protected int ClearSpottedTimer -
DebounceA
public boolean DebounceA -
PlayerIndex
public int PlayerIndex -
mpTorchCone
public boolean mpTorchCone -
mpTorchDist
public float mpTorchDist -
mpTorchStrength
public float mpTorchStrength -
assumedPlayer
public static int assumedPlayer -
numPlayers
public static int numPlayers -
OnlineID
public int OnlineID -
OnlineChunkGridWidth
public int OnlineChunkGridWidth -
bJoypadMovementActive
public boolean bJoypadMovementActive -
targetedByZombie
public boolean targetedByZombie -
lastTargeted
public float lastTargeted -
TimeSinceOpenDoor
public float TimeSinceOpenDoor -
bRemote
public boolean bRemote -
TimeSinceLastNetData
public int TimeSinceLastNetData -
accessLevel
public java.lang.String accessLevel -
tagPrefix
public java.lang.String tagPrefix -
showTag
public boolean showTag -
factionPvp
public boolean factionPvp
-
-
Constructor Details
-
IsoPlayer
-
IsoPlayer
-
-
Method Details
-
createChecksum
public static byte[] createChecksum(java.lang.String filename) throws java.lang.Exception- Throws:
java.lang.Exception
-
getMD5Checksum
public static java.lang.String getMD5Checksum(java.lang.String filename) throws java.lang.Exception- Throws:
java.lang.Exception
-
TestZombieSpotPlayer
-
getPathSpeed
public float getPathSpeed()- Overrides:
getPathSpeed
in classIsoGameCharacter
-
DoChecksumCheck
public static boolean DoChecksumCheck(java.lang.String str, java.lang.String expected) -
DoChecksumCheck
public static boolean DoChecksumCheck() -
isGhostMode
public boolean isGhostMode() -
setGhostMode
public void setGhostMode(boolean aGhostMode) -
getInstance
-
setInstance
-
getPlayerMoveDir
-
setPlayerMoveDir
-
isIsAiming
public boolean isIsAiming() -
setIsAiming
public void setIsAiming(boolean aIsAiming) -
nullifyAiming
public void nullifyAiming() -
getStaticTraits
public static java.util.Stack getStaticTraits() -
setStaticTraits
public static void setStaticTraits(java.util.Stack aStaticTraits) -
getFollowDeadCount
public static int getFollowDeadCount() -
setFollowDeadCount
public static void setFollowDeadCount(int aFollowDeadCount) -
IsSneaking
public boolean IsSneaking()- Overrides:
IsSneaking
in classIsoGameCharacter
-
load
public void load(java.nio.ByteBuffer input, int WorldVersion) throws java.io.IOException- Overrides:
load
in classIsoGameCharacter
- Throws:
java.io.IOException
-
save
public void save(java.nio.ByteBuffer output) throws java.io.IOException- Overrides:
save
in classIsoGameCharacter
- Throws:
java.io.IOException
-
save
public void save() throws java.io.IOException- Throws:
java.io.IOException
-
save
public void save(java.lang.String fileName) throws java.io.IOException- Throws:
java.io.IOException
-
load
public void load(java.lang.String fileName) throws java.io.FileNotFoundException, java.io.IOException- Throws:
java.io.FileNotFoundException
java.io.IOException
-
getAllFileNames
public static java.util.ArrayList getAllFileNames() -
getUniqueFileName
public static java.lang.String getUniqueFileName() -
getAllSavedPlayers
public static java.util.ArrayList getAllSavedPlayers() -
isSaveFileInUse
public boolean isSaveFileInUse() -
removeSaveFile
public void removeSaveFile() -
isSaveFileIPValid
public boolean isSaveFileIPValid() -
isServerPlayerIDValid
public static boolean isServerPlayerIDValid(java.lang.String id) -
getObjectName
public java.lang.String getObjectName()- Overrides:
getObjectName
in classIsoMovingObject
-
collideWith
- Overrides:
collideWith
in classIsoMovingObject
-
getJoypadBind
public int getJoypadBind() -
isLBPressed
public boolean isLBPressed() -
getControllerAimDir
-
getInteract
-
getMoveSpeed
public float getMoveSpeed()- Overrides:
getMoveSpeed
in classIsoGameCharacter
-
setMoveSpeed
public void setMoveSpeed(float moveSpeed) -
getTorchStrength
public float getTorchStrength()- Overrides:
getTorchStrength
in classIsoGameCharacter
-
pathFinished
public void pathFinished()- Overrides:
pathFinished
in classIsoGameCharacter
-
Scratched
public void Scratched()- Overrides:
Scratched
in classIsoGameCharacter
-
Bitten
public void Bitten()- Overrides:
Bitten
in classIsoGameCharacter
-
getRadiusKickback
-
getChancesToHeadshotHandWeapon
public int getChancesToHeadshotHandWeapon() -
getInvAimingMod
public float getInvAimingMod() -
getAimingMod
public float getAimingMod() -
getReloadingMod
public float getReloadingMod() -
getAimingRangeMod
public float getAimingRangeMod() -
isBannedAttacking
public boolean isBannedAttacking() -
setBannedAttacking
public void setBannedAttacking(boolean b) -
getInvAimingRangeMod
public float getInvAimingRangeMod() -
CalculateAim
public void CalculateAim() -
render
public void render() -
update
public void update()- Overrides:
update
in classIsoGameCharacter
-
getCell
-
calculateContext
public void calculateContext() -
hopFence
-
AttemptAttack
public boolean AttemptAttack() -
DoAttack
public boolean DoAttack(float chargeDelta)- Overrides:
DoAttack
in classIsoLivingCharacter
-
DoAttack
public boolean DoAttack(float chargeDelta, boolean forceShove, java.lang.String clickSound) -
getPlayerNum
public int getPlayerNum() -
updateLOS
public void updateLOS() -
saveGame
public void saveGame() -
getAngleCounter
public int getAngleCounter() -
setAngleCounter
public void setAngleCounter(int angleCounter) -
getLastAngle
-
setLastAngle
-
getDialogMood
public int getDialogMood() -
setDialogMood
public void setDialogMood(int DialogMood) -
getPing
public int getPing() -
setPing
public void setPing(int ping) -
isFakeAttack
public boolean isFakeAttack() -
setFakeAttack
public void setFakeAttack(boolean FakeAttack) -
getFakeAttackTarget
-
setFakeAttackTarget
-
getDragObject
-
setDragObject
-
getAsleepTime
public float getAsleepTime() -
setAsleepTime
public void setAsleepTime(float AsleepTime) -
getMainHot
public java.lang.String[] getMainHot() -
setMainHot
public void setMainHot(java.lang.String[] MainHot) -
getSecHot
public java.lang.String[] getSecHot() -
setSecHot
public void setSecHot(java.lang.String[] SecHot) -
getSpottedList
public java.util.Stack getSpottedList() -
setSpottedList
public void setSpottedList(java.util.Stack spottedList) -
getTicksSinceSeenZombie
public int getTicksSinceSeenZombie() -
setTicksSinceSeenZombie
public void setTicksSinceSeenZombie(int TicksSinceSeenZombie) -
isWaiting
public boolean isWaiting() -
setWaiting
public void setWaiting(boolean Waiting) -
getDragCharacter
-
setDragCharacter
-
getLastPos
public java.util.Stack getLastPos() -
setLastPos
public void setLastPos(java.util.Stack lastPos) -
isbDebounceLMB
public boolean isbDebounceLMB() -
setbDebounceLMB
public void setbDebounceLMB(boolean bDebounceLMB) -
getHeartDelay
public float getHeartDelay() -
setHeartDelay
public void setHeartDelay(float heartDelay) -
getHeartDelayMax
public float getHeartDelayMax() -
setHeartDelayMax
public void setHeartDelayMax(int heartDelayMax) -
getHoursSurvived
public double getHoursSurvived() -
setHoursSurvived
public void setHoursSurvived(double hrs) -
getTimeSurvived
public java.lang.String getTimeSurvived() -
getDrunkOscilatorStepSin
public float getDrunkOscilatorStepSin() -
setDrunkOscilatorStepSin
public void setDrunkOscilatorStepSin(float DrunkOscilatorStepSin) -
getDrunkOscilatorRateSin
public float getDrunkOscilatorRateSin() -
setDrunkOscilatorRateSin
public void setDrunkOscilatorRateSin(float DrunkOscilatorRateSin) -
getDrunkOscilatorStepCos
public float getDrunkOscilatorStepCos() -
setDrunkOscilatorStepCos
public void setDrunkOscilatorStepCos(float DrunkOscilatorStepCos) -
getDrunkOscilatorRateCos
public float getDrunkOscilatorRateCos() -
setDrunkOscilatorRateCos
public void setDrunkOscilatorRateCos(float DrunkOscilatorRateCos) -
getDrunkOscilatorStepCos2
public float getDrunkOscilatorStepCos2() -
setDrunkOscilatorStepCos2
public void setDrunkOscilatorStepCos2(float DrunkOscilatorStepCos2) -
getDrunkOscilatorRateCos2
public float getDrunkOscilatorRateCos2() -
setDrunkOscilatorRateCos2
public void setDrunkOscilatorRateCos2(float DrunkOscilatorRateCos2) -
getDrunkSin
public float getDrunkSin() -
setDrunkSin
public void setDrunkSin(float DrunkSin) -
getDrunkCos
public float getDrunkCos() -
setDrunkCos
public void setDrunkCos(float DrunkCos) -
getDrunkCos2
public float getDrunkCos2() -
setDrunkCos2
public void setDrunkCos2(float DrunkCos2) -
getMinOscilatorRate
public float getMinOscilatorRate() -
setMinOscilatorRate
public void setMinOscilatorRate(float MinOscilatorRate) -
getMaxOscilatorRate
public float getMaxOscilatorRate() -
setMaxOscilatorRate
public void setMaxOscilatorRate(float MaxOscilatorRate) -
getDesiredSinRate
public float getDesiredSinRate() -
setDesiredSinRate
public void setDesiredSinRate(float DesiredSinRate) -
getDesiredCosRate
public float getDesiredCosRate() -
setDesiredCosRate
public void setDesiredCosRate(float DesiredCosRate) -
getOscilatorChangeRate
public float getOscilatorChangeRate() -
setOscilatorChangeRate
public void setOscilatorChangeRate(float OscilatorChangeRate) -
getMaxWeightDelta
public float getMaxWeightDelta() -
setMaxWeightDelta
public void setMaxWeightDelta(float maxWeightDelta) -
getForname
public java.lang.String getForname() -
setForname
public void setForname(java.lang.String Forname) -
getSurname
public java.lang.String getSurname() -
setSurname
public void setSurname(java.lang.String Surname) -
getGuardModeUISprite
-
setGuardModeUISprite
-
getGuardModeUI
public int getGuardModeUI() -
setGuardModeUI
public void setGuardModeUI(int GuardModeUI) -
getGuardChosen
-
setGuardChosen
-
getGuardStand
-
setGuardStand
-
getGuardFace
-
setGuardFace
-
isbSneaking
public boolean isbSneaking() -
setbSneaking
public void setbSneaking(boolean bSneaking) -
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 int getTimeSinceLastStab() -
setTimeSinceLastStab
public void setTimeSinceLastStab(int timeSinceLastStab) -
getLastSpotted
public java.util.Stack getLastSpotted() -
setLastSpotted
public void setLastSpotted(java.util.Stack LastSpotted) -
getClearSpottedTimer
public int getClearSpottedTimer() -
setClearSpottedTimer
public void setClearSpottedTimer(int ClearSpottedTimer) -
IsRunning
public boolean IsRunning() -
InitSpriteParts
public void InitSpriteParts() -
IsAiming
public boolean IsAiming() -
IsUsingAimWeapon
public boolean IsUsingAimWeapon() -
getSleepingPillsTaken
public int getSleepingPillsTaken() -
setSleepingPillsTaken
public void setSleepingPillsTaken(int sleepingPillsTaken) -
isOutside
public boolean isOutside()- Overrides:
isOutside
in classIsoGameCharacter
-
getLastSeenZomboidTime
public double getLastSeenZomboidTime() -
getPlayerClothingTemperature
public float getPlayerClothingTemperature() -
isTorchCone
public boolean isTorchCone() -
getLightDistance
public float getLightDistance() -
pressedMovement
public boolean pressedMovement() -
pressedAim
public boolean pressedAim() -
getPlayerIndex
public static int getPlayerIndex() -
setSteamID
public void setSteamID(long steamID) -
getSteamID
public long getSteamID() -
allPlayersDead
public static boolean allPlayersDead() -
getPlayers
public static java.util.ArrayList getPlayers() -
isTargetedByZombie
public boolean isTargetedByZombie() -
isMaskClicked
public boolean isMaskClicked(int x, int y, boolean flip)- Overrides:
isMaskClicked
in classIsoGameCharacter
-
getOffSetXUI
public int getOffSetXUI() -
setOffSetXUI
public void setOffSetXUI(int offSetXUI) -
getOffSetYUI
public int getOffSetYUI() -
setOffSetYUI
public void setOffSetYUI(int offSetYUI) -
getUsername
public java.lang.String getUsername() -
getOnlineID
public int getOnlineID() -
isLocalPlayer
public boolean isLocalPlayer() -
isOnlyPlayerAsleep
public boolean isOnlyPlayerAsleep() -
allPlayersAsleep
public static boolean allPlayersAsleep() -
OnDeath
public void OnDeath()- Overrides:
OnDeath
in classIsoGameCharacter
-
isNoClip
public boolean isNoClip() -
setNoClip
public void setNoClip(boolean noClip) -
getCoopPVP
public static boolean getCoopPVP() -
setCoopPVP
public static void setCoopPVP(boolean enabled) -
setAuthorizeMeleeAction
public void setAuthorizeMeleeAction(boolean enabled) -
isBlockMovement
public boolean isBlockMovement() -
setBlockMovement
public void setBlockMovement(boolean blockMovement) -
startReceivingBodyDamageUpdates
-
stopReceivingBodyDamageUpdates
-
getNutrition
-
addSmallInjuries
public void addSmallInjuries() -
canSeePlayerStats
public boolean canSeePlayerStats() -
createPlayerStats
-
setPlayerStats
public java.lang.String setPlayerStats(java.nio.ByteBuffer bb, java.lang.String adminUsername) -
isAllChatMuted
public boolean isAllChatMuted() -
setAllChatMuted
public void setAllChatMuted(boolean allChatMuted) -
getAccessLevel
public java.lang.String getAccessLevel() -
setUsername
public void setUsername(java.lang.String newUsername) -
setAccessLevel
public void setAccessLevel(java.lang.String newLvl) -
getTagPrefix
public java.lang.String getTagPrefix() -
setTagPrefix
public void setTagPrefix(java.lang.String newTag) -
getTagColor
-
setTagColor
-
getTransactionID
public java.lang.Integer getTransactionID() -
setTransactionID
public void setTransactionID(java.lang.Integer transactionID) -
getDisplayName
public java.lang.String getDisplayName() -
setDisplayName
public void setDisplayName(java.lang.String displayName) -
isSeeNonPvpZone
public boolean isSeeNonPvpZone() -
setSeeNonPvpZone
public void setSeeNonPvpZone(boolean seeNonPvpZone) -
isShowTag
public boolean isShowTag() -
isFactionPvp
public boolean isFactionPvp() -
setShowTag
public void setShowTag(boolean show) -
setFactionPvp
public void setFactionPvp(boolean pvp) -
isForceRun
public boolean isForceRun() -
setForceRun
public void setForceRun(boolean forceRun) -
isDeaf
public boolean isDeaf()
-