|
static void | SavePets (XElement petsElement) |
|
static void | LoadPets (XElement petsElement) |
|
|
float | Hunger [get, set] |
|
float | Happiness [get, set] |
|
float | UnhappyThreshold [get, set] |
| At which point is the pet considered "unhappy" (playing unhappy sounds and showing the icon) More...
|
|
float | HappyThreshold [get, set] |
| At which point is the pet considered "happy" (playing happy sounds and showing the icon) More...
|
|
float | MaxHappiness [get, set] |
|
float | HungryThreshold [get, set] |
| At which point is the pet considered "hungry" (playing unhappy sounds and showing the icon) More...
|
|
float | MaxHunger [get, set] |
|
float | HappinessDecreaseRate [get, set] |
|
float | HungerIncreaseRate [get, set] |
|
float | PlayForce [get, set] |
|
float | PlayTimer [get, set] |
|
EnemyAIController | AIController = null [get] |
|
Character | Owner [get, set] |
|
Definition at line 13 of file PetBehavior.cs.
◆ StatusIndicatorType
◆ PetBehavior()
Barotrauma.PetBehavior.PetBehavior |
( |
XElement |
element, |
|
|
EnemyAIController |
aiController |
|
) |
| |
◆ GetCurrentStatusIndicatorType()
◆ GetTagName()
string Barotrauma.PetBehavior.GetTagName |
( |
| ) |
|
◆ LoadPets()
static void Barotrauma.PetBehavior.LoadPets |
( |
XElement |
petsElement | ) |
|
|
static |
◆ OnEat() [1/3]
bool Barotrauma.PetBehavior.OnEat |
( |
Character |
character | ) |
|
◆ OnEat() [2/3]
bool Barotrauma.PetBehavior.OnEat |
( |
Identifier |
tag | ) |
|
◆ OnEat() [3/3]
bool Barotrauma.PetBehavior.OnEat |
( |
Item |
item | ) |
|
◆ Play()
void Barotrauma.PetBehavior.Play |
( |
Character |
player | ) |
|
◆ SavePets()
static void Barotrauma.PetBehavior.SavePets |
( |
XElement |
petsElement | ) |
|
|
static |
◆ Update()
void Barotrauma.PetBehavior.Update |
( |
float |
deltaTime | ) |
|
◆ AIController
◆ Happiness
float Barotrauma.PetBehavior.Happiness |
|
getset |
◆ HappinessDecreaseRate
float Barotrauma.PetBehavior.HappinessDecreaseRate |
|
getset |
◆ HappyThreshold
float Barotrauma.PetBehavior.HappyThreshold |
|
getset |
At which point is the pet considered "happy" (playing happy sounds and showing the icon)
Definition at line 45 of file PetBehavior.cs.
◆ Hunger
float Barotrauma.PetBehavior.Hunger |
|
getset |
◆ HungerIncreaseRate
float Barotrauma.PetBehavior.HungerIncreaseRate |
|
getset |
◆ HungryThreshold
float Barotrauma.PetBehavior.HungryThreshold |
|
getset |
At which point is the pet considered "hungry" (playing unhappy sounds and showing the icon)
Definition at line 53 of file PetBehavior.cs.
◆ MaxHappiness
float Barotrauma.PetBehavior.MaxHappiness |
|
getset |
◆ MaxHunger
float Barotrauma.PetBehavior.MaxHunger |
|
getset |
◆ Owner
◆ PlayForce
float Barotrauma.PetBehavior.PlayForce |
|
getset |
◆ PlayTimer
float Barotrauma.PetBehavior.PlayTimer |
|
getset |
◆ UnhappyThreshold
float Barotrauma.PetBehavior.UnhappyThreshold |
|
getset |
At which point is the pet considered "unhappy" (playing unhappy sounds and showing the icon)
Definition at line 40 of file PetBehavior.cs.