Package zombie.characters
Interface ILuaGameCharacter
- All Superinterfaces:
ILuaGameCharacterAttachedItems
,ILuaGameCharacterClothing
,ILuaGameCharacterDamage
,ILuaGameCharacterHealth
,ILuaVariableSource
- All Known Implementing Classes:
IsoDummyCameraCharacter
,IsoGameCharacter
,IsoLivingCharacter
,IsoLuaCharacter
,IsoLuaMover
,IsoPlayer
,IsoSurvivor
,IsoZombie
,RandomizedBuildingBase.HumanCorpse
public interface ILuaGameCharacter extends ILuaVariableSource, ILuaGameCharacterAttachedItems, ILuaGameCharacterDamage, ILuaGameCharacterClothing, ILuaGameCharacterHealth
-
Method Summary
Modifier and Type Method Description void
addWorldSoundUnlessInvisible(int int1, int int2, boolean boolean1)
void
Callout()
boolean
CanAttack()
boolean
canClimbDownSheetRope(IsoGridSquare square)
boolean
canClimbDownSheetRopeInCurrentSquare()
boolean
canClimbSheetRope(IsoGridSquare square)
void
changeState(State state)
void
climbDownSheetRope()
void
climbOverFence(IsoDirections directions)
void
climbSheetRope()
void
climbThroughWindow(IsoThumpable thumpable)
void
climbThroughWindow(IsoThumpable thumpable, java.lang.Integer integer)
void
climbThroughWindow(IsoWindow window)
void
climbThroughWindow(IsoWindow window, java.lang.Integer integer)
void
climbThroughWindowFrame(IsoObject object)
void
closeWindow(IsoWindow window)
void
facePosition(int int1, int int2)
void
faceThisObject(IsoObject object)
void
faceThisObjectAlt(IsoObject object)
int
getAlreadyReadPages(java.lang.String string)
IsoObject
getBed()
java.lang.String
getBedType()
java.util.Stack
getCharacterActions()
State
getCurrentState()
AnimatorDebugMonitor
getDebugMonitor()
SurvivorDesc
getDescriptor()
BaseCharacterSoundEmitter
getEmitter()
java.lang.String
getFullName()
float
getHammerSoundMod()
double
getHoursSurvived()
ItemContainer
getInventory()
float
getInventoryWeight()
java.util.List
getKnownRecipes()
int
getMaintenanceMod()
int
getMaxWeight()
float
getMeleeDelay()
Moodles
getMoodles()
PolygonalMap2.Path
getPath2()
PathFindBehavior2
getPathFindBehavior2()
IsoGameCharacter.PerkInfo
getPerkInfo(PerkFactory.Perk perk)
int
getPerkLevel(PerkFactory.Perk perk)
InventoryItem
getPrimaryHandItem()
float
getRecoilDelay()
float
getSafetyCooldown()
InventoryItem
getSecondaryHandItem()
IsoSpriteInstance
getSpriteDef()
Stats
getStats()
float
getTimeSinceLastSmoke()
TraitCollection
getTraits()
BaseVehicle
getVehicle()
BaseVisual
getVisual()
float
getWeldingSoundMod()
IsoGameCharacter.XP
getXp()
int
getXpForLevel(int int1)
int
getZombieKills()
boolean
hasEquipped(java.lang.String string)
boolean
hasEquippedTag(java.lang.String string)
boolean
hasItems(java.lang.String string, int int1)
boolean
HasTrait(java.lang.String string)
void
initSpritePartsEmpty()
boolean
isAboveTopOfStairs()
boolean
isAiming()
boolean
isAsleep()
boolean
isAttachedItem(InventoryItem inventoryItem)
boolean
isBuildCheat()
boolean
isCurrentState(State state)
boolean
isDriving()
boolean
isEquipped(InventoryItem inventoryItem)
boolean
isEquippedClothing(InventoryItem inventoryItem)
boolean
isFarmingCheat()
boolean
isFemale()
boolean
isGodMod()
boolean
isHandItem(InventoryItem inventoryItem)
boolean
isHealthCheat()
boolean
isInARoom()
boolean
isInvisible()
boolean
isItemInBothHands(InventoryItem inventoryItem)
boolean
isKnownPoison(InventoryItem inventoryItem)
boolean
isMechanicsCheat()
boolean
isMovablesCheat()
boolean
isOutside()
boolean
isPrimaryHandItem(InventoryItem inventoryItem)
boolean
isRangedWeaponEmpty()
boolean
isReading()
boolean
isRecipeKnown(java.lang.String string)
boolean
isRecipeKnown(Recipe recipe)
boolean
isSafety()
boolean
isSecondaryHandItem(InventoryItem inventoryItem)
boolean
isShowAdminTag()
boolean
isSpeaking()
boolean
IsSpeaking()
boolean
isTimedActionInstant()
boolean
isTimedActionInstantCheat()
boolean
isUnlimitedCarry()
boolean
isZombie()
void
LevelPerk(PerkFactory.Perk perk)
void
LevelPerk(PerkFactory.Perk perk, boolean boolean1)
void
LoseLevel(PerkFactory.Perk perk)
void
openWindow(IsoWindow window)
void
pathToLocation(int int1, int int2, int int3)
void
pathToLocationF(float float1, float float2, float float3)
void
PlayAnim(java.lang.String string)
void
PlayAnimUnlooped(java.lang.String string)
void
PlayAnimWithSpeed(java.lang.String string, float float1)
long
playSound(java.lang.String string)
void
ReadLiterature(Literature literature)
boolean
removeFromHands(InventoryItem inventoryItem)
void
reportEvent(java.lang.String string)
void
resetBeardGrowingTime()
void
resetHairGrowingTime()
void
resetModel()
void
resetModelNextFrame()
void
Say(java.lang.String string)
void
Say(java.lang.String string, float float1, float float2, float float3, UIFont uIFont, float float4, java.lang.String string2)
void
setAlreadyReadPages(java.lang.String string, int int1)
void
setAsleep(boolean boolean1)
void
setBed(IsoObject object)
void
setBedType(java.lang.String string)
void
setBuildCheat(boolean boolean1)
void
setDebugMonitor(AnimatorDebugMonitor animatorDebugMonitor)
void
setDescriptor(SurvivorDesc survivorDesc)
void
setDir(IsoDirections directions)
void
setFarmingCheat(boolean boolean1)
void
setFemale(boolean boolean1)
void
setForceWakeUpTime(float float1)
void
setGodMod(boolean boolean1)
void
setHaloNote(java.lang.String string)
void
setHaloNote(java.lang.String string, float float1)
void
setHaloNote(java.lang.String string, int int1, int int2, int int3, float float1)
void
setHealthCheat(boolean boolean1)
void
setInvisible(boolean boolean1)
void
setMechanicsCheat(boolean boolean1)
void
setMeleeDelay(float float1)
void
setMovablesCheat(boolean boolean1)
void
setPath2(PolygonalMap2.Path path)
void
setPerkLevelDebug(PerkFactory.Perk perk, int int1)
void
setPrimaryHandItem(InventoryItem inventoryItem)
void
setRangedWeaponEmpty(boolean boolean1)
void
setReading(boolean boolean1)
void
setRecoilDelay(float float1)
void
setSafety(boolean boolean1)
void
setSafetyCooldown(float float1)
void
setSecondaryHandItem(InventoryItem inventoryItem)
void
setShowAdminTag(boolean boolean1)
void
setSpeakColourInfo(ColorInfo colorInfo)
void
setTimedActionInstantCheat(boolean boolean1)
void
setTimeSinceLastSmoke(float float1)
void
setUnlimitedCarry(boolean boolean1)
void
setVehicle(BaseVehicle baseVehicle)
void
smashCarWindow(VehiclePart vehiclePart)
void
smashWindow(IsoWindow window)
void
StartAction(BaseAction baseAction)
void
StartTimedActionAnim(java.lang.String string)
void
StartTimedActionAnim(java.lang.String string, java.lang.String string2)
void
StopAllActionQueue()
void
stopOrTriggerSound(long long1)
void
StopTimedActionAnim()
Methods inherited from interface zombie.characters.ILuaGameCharacterAttachedItems
clearAttachedItems, getAttachedItem, getAttachedItems, getAttachedLocationGroup, removeAttachedItem, setAttachedItem, setAttachedItems
Methods inherited from interface zombie.characters.ILuaGameCharacterClothing
clearWornItems, dressInNamedOutfit, dressInPersistentOutfit, dressInPersistentOutfitID, Dressup, getBodyLocationGroup, getOutfitName, getWornItem, getWornItems, removeWornItem, setClothingItem_Back, setClothingItem_Feet, setClothingItem_Hands, setClothingItem_Head, setClothingItem_Legs, setClothingItem_Torso, setWornItem, setWornItems
Methods inherited from interface zombie.characters.ILuaGameCharacterDamage
addBlood, addHole, getBodyDamage, getBodyDamageRemote, getBumpType, getHealth, getLastHitCount, Hit, Hit, Hit, isBumped, isDeathDragDown, isOnDeathDone, isOnFire, isOnKillDone, isPlayingDeathSound, sendStopBurning, setDeathDragDown, setHealth, setLastHitCount, setOnDeathDone, setOnKillDone, setPlayingDeathSound, StopBurning
Methods inherited from interface zombie.characters.ILuaGameCharacterHealth
Eat, Eat, getFatigueMod, getLastHourSleeped, getReduceInfectionPower, getSleepingTabletEffect, getTemperature, setLastHourSleeped, setReduceInfectionPower, setSleepingTabletEffect, setTemperature, setTimeOfSleep
Methods inherited from interface zombie.characters.ILuaVariableSource
ClearVariable, GetVariable, SetVariable
-
Method Details
-
getFullName
java.lang.String getFullName() -
getDescriptor
SurvivorDesc getDescriptor() -
setDescriptor
-
isRangedWeaponEmpty
boolean isRangedWeaponEmpty() -
setRangedWeaponEmpty
void setRangedWeaponEmpty(boolean boolean1) -
getVisual
BaseVisual getVisual() -
getEmitter
BaseCharacterSoundEmitter getEmitter() -
resetModel
void resetModel() -
resetModelNextFrame
void resetModelNextFrame() -
getSpriteDef
IsoSpriteInstance getSpriteDef() -
hasItems
boolean hasItems(java.lang.String string, int int1) -
getXpForLevel
int getXpForLevel(int int1) -
getXp
IsoGameCharacter.XP getXp() -
isAsleep
boolean isAsleep() -
setAsleep
void setAsleep(boolean boolean1) -
getZombieKills
int getZombieKills() -
setForceWakeUpTime
void setForceWakeUpTime(float float1) -
getInventory
ItemContainer getInventory() -
getPrimaryHandItem
InventoryItem getPrimaryHandItem() -
setPrimaryHandItem
-
getSecondaryHandItem
InventoryItem getSecondaryHandItem() -
setSecondaryHandItem
-
hasEquipped
boolean hasEquipped(java.lang.String string) -
hasEquippedTag
boolean hasEquippedTag(java.lang.String string) -
isHandItem
-
isPrimaryHandItem
-
isSecondaryHandItem
-
isItemInBothHands
-
removeFromHands
-
setSpeakColourInfo
-
isSpeaking
boolean isSpeaking() -
getMoodles
Moodles getMoodles() -
getStats
Stats getStats() -
getTraits
TraitCollection getTraits() -
getMaxWeight
int getMaxWeight() -
PlayAnim
void PlayAnim(java.lang.String string) -
PlayAnimWithSpeed
void PlayAnimWithSpeed(java.lang.String string, float float1) -
PlayAnimUnlooped
void PlayAnimUnlooped(java.lang.String string) -
StartTimedActionAnim
void StartTimedActionAnim(java.lang.String string) -
StartTimedActionAnim
void StartTimedActionAnim(java.lang.String string, java.lang.String string2) -
StopTimedActionAnim
void StopTimedActionAnim() -
getCharacterActions
java.util.Stack getCharacterActions() -
StartAction
-
StopAllActionQueue
void StopAllActionQueue() -
getPerkLevel
-
getPerkInfo
-
setPerkLevelDebug
-
LoseLevel
-
LevelPerk
-
LevelPerk
-
ReadLiterature
-
setDir
-
Callout
void Callout() -
IsSpeaking
boolean IsSpeaking() -
Say
void Say(java.lang.String string) -
Say
void Say(java.lang.String string, float float1, float float2, float float3, UIFont uIFont, float float4, java.lang.String string2) -
setHaloNote
void setHaloNote(java.lang.String string) -
setHaloNote
void setHaloNote(java.lang.String string, float float1) -
setHaloNote
void setHaloNote(java.lang.String string, int int1, int int2, int int3, float float1) -
initSpritePartsEmpty
void initSpritePartsEmpty() -
HasTrait
boolean HasTrait(java.lang.String string) -
changeState
-
isCurrentState
-
getCurrentState
State getCurrentState() -
pathToLocation
void pathToLocation(int int1, int int2, int int3) -
pathToLocationF
void pathToLocationF(float float1, float float2, float float3) -
CanAttack
boolean CanAttack() -
smashCarWindow
-
smashWindow
-
openWindow
-
closeWindow
-
climbThroughWindow
-
climbThroughWindow
-
climbThroughWindowFrame
-
climbSheetRope
void climbSheetRope() -
climbDownSheetRope
void climbDownSheetRope() -
canClimbSheetRope
-
canClimbDownSheetRopeInCurrentSquare
boolean canClimbDownSheetRopeInCurrentSquare() -
canClimbDownSheetRope
-
climbThroughWindow
-
climbThroughWindow
-
climbOverFence
-
isAboveTopOfStairs
boolean isAboveTopOfStairs() -
getHoursSurvived
double getHoursSurvived() -
isOutside
boolean isOutside() -
isFemale
boolean isFemale() -
setFemale
void setFemale(boolean boolean1) -
isZombie
boolean isZombie() -
isEquipped
-
isEquippedClothing
-
isAttachedItem
-
faceThisObject
-
facePosition
void facePosition(int int1, int int2) -
faceThisObjectAlt
-
getAlreadyReadPages
int getAlreadyReadPages(java.lang.String string) -
setAlreadyReadPages
void setAlreadyReadPages(java.lang.String string, int int1) -
isSafety
boolean isSafety() -
setSafety
void setSafety(boolean boolean1) -
getSafetyCooldown
float getSafetyCooldown() -
setSafetyCooldown
void setSafetyCooldown(float float1) -
getMeleeDelay
float getMeleeDelay() -
setMeleeDelay
void setMeleeDelay(float float1) -
getRecoilDelay
float getRecoilDelay() -
setRecoilDelay
void setRecoilDelay(float float1) -
getMaintenanceMod
int getMaintenanceMod() -
getHammerSoundMod
float getHammerSoundMod() -
getWeldingSoundMod
float getWeldingSoundMod() -
isGodMod
boolean isGodMod() -
setGodMod
void setGodMod(boolean boolean1) -
getVehicle
BaseVehicle getVehicle() -
setVehicle
-
getInventoryWeight
float getInventoryWeight() -
getKnownRecipes
java.util.List getKnownRecipes() -
isRecipeKnown
-
isRecipeKnown
boolean isRecipeKnown(java.lang.String string) -
playSound
long playSound(java.lang.String string) -
stopOrTriggerSound
void stopOrTriggerSound(long long1) -
addWorldSoundUnlessInvisible
void addWorldSoundUnlessInvisible(int int1, int int2, boolean boolean1) -
isKnownPoison
-
getBedType
java.lang.String getBedType() -
setBedType
void setBedType(java.lang.String string) -
getPath2
PolygonalMap2.Path getPath2() -
setPath2
-
getPathFindBehavior2
PathFindBehavior2 getPathFindBehavior2() -
getBed
IsoObject getBed() -
setBed
-
isReading
boolean isReading() -
setReading
void setReading(boolean boolean1) -
getTimeSinceLastSmoke
float getTimeSinceLastSmoke() -
setTimeSinceLastSmoke
void setTimeSinceLastSmoke(float float1) -
isInvisible
boolean isInvisible() -
setInvisible
void setInvisible(boolean boolean1) -
isDriving
boolean isDriving() -
isInARoom
boolean isInARoom() -
isUnlimitedCarry
boolean isUnlimitedCarry() -
setUnlimitedCarry
void setUnlimitedCarry(boolean boolean1) -
isBuildCheat
boolean isBuildCheat() -
setBuildCheat
void setBuildCheat(boolean boolean1) -
isFarmingCheat
boolean isFarmingCheat() -
setFarmingCheat
void setFarmingCheat(boolean boolean1) -
isHealthCheat
boolean isHealthCheat() -
setHealthCheat
void setHealthCheat(boolean boolean1) -
isMechanicsCheat
boolean isMechanicsCheat() -
setMechanicsCheat
void setMechanicsCheat(boolean boolean1) -
isMovablesCheat
boolean isMovablesCheat() -
setMovablesCheat
void setMovablesCheat(boolean boolean1) -
isTimedActionInstantCheat
boolean isTimedActionInstantCheat() -
setTimedActionInstantCheat
void setTimedActionInstantCheat(boolean boolean1) -
isTimedActionInstant
boolean isTimedActionInstant() -
isShowAdminTag
boolean isShowAdminTag() -
setShowAdminTag
void setShowAdminTag(boolean boolean1) -
reportEvent
void reportEvent(java.lang.String string) -
getDebugMonitor
AnimatorDebugMonitor getDebugMonitor() -
setDebugMonitor
-
isAiming
boolean isAiming() -
resetBeardGrowingTime
void resetBeardGrowingTime() -
resetHairGrowingTime
void resetHairGrowingTime()
-