Interface ILuaGameCharacterHealth
- All Known Subinterfaces:
ILuaGameCharacter
- All Known Implementing Classes:
IsoAnimal, IsoDummyCameraCharacter, IsoGameCharacter, IsoLivingCharacter, IsoLuaCharacter, IsoLuaMover, IsoPlayer, IsoSurvivor, IsoZombie, RandomizedBuildingBase.HumanCorpse
public interface ILuaGameCharacterHealth
ILuaGameCharacterHealth
Provides the functions expected by LUA when dealing with objects of this type.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanDrinkFluid(FluidContainer arg0, float arg1) booleanDrinkFluid(FluidContainer arg0, float arg1, boolean arg2) booleanDrinkFluid(InventoryItem arg0) booleanDrinkFluid(InventoryItem arg0, float arg1) booleanDrinkFluid(InventoryItem arg0, float arg1, boolean arg2) booleanEat(InventoryItem info) booleanEat(InventoryItem info, float percentage) booleanEat(InventoryItem arg0, float arg1, boolean arg2) floatintfloatfloatvoidsetLastHourSleeped(int lastHourSleeped) voidsetReduceInfectionPower(float reduceInfectionPower) voidsetSleepingTabletEffect(float SleepingTabletEffect) voidsetTimeOfSleep(float timeOfSleep)
-
Method Details
-
setSleepingTabletEffect
void setSleepingTabletEffect(float SleepingTabletEffect) -
getSleepingTabletEffect
float getSleepingTabletEffect() -
getFatigueMod
float getFatigueMod() -
Eat
-
Eat
-
Eat
-
DrinkFluid
-
DrinkFluid
-
DrinkFluid
-
DrinkFluid
-
DrinkFluid
-
getReduceInfectionPower
float getReduceInfectionPower() -
setReduceInfectionPower
void setReduceInfectionPower(float reduceInfectionPower) -
getLastHourSleeped
int getLastHourSleeped() -
setLastHourSleeped
void setLastHourSleeped(int lastHourSleeped) -
setTimeOfSleep
void setTimeOfSleep(float timeOfSleep)
-