DayZ 1.26
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
Класс YieldItemDeadRabbit
+ Граф наследования:YieldItemDeadRabbit:

Закрытые члены

override void Init ()
 
override float GetBaitTypeSensitivity (ECatchingBaitCategories type)
 
override string GetCatchDeathSoundset ()
 
override string GetCatchAINoise ()
 
override float GetCatchAINoiseBaseStrength ()
 

Подробное описание

Методы

◆ GetBaitTypeSensitivity()

override float GetBaitTypeSensitivity ( ECatchingBaitCategories type)
inlineprivate
29 {
30 switch (type)
31 {
32 case ECatchingBaitCategories.BAIT_TYPE_EMPTY:
33 case ECatchingBaitCategories.BAIT_TYPE_PLANT:
34 return 1;
35
36 /*
37 //We can define 'offputing' baits the animal would actually AVOID
38 case ECatchingBaitCategories.BAIT_TYPE_MEAT_SMALL:
39 case ECatchingBaitCategories.BAIT_TYPE_MEAT_LARGE:
40 return -1;
41 */
42
43 default:
44 return 0.0;
45 }
46
47 return super.GetBaitTypeSensitivity(type);
48 }
Definition EntityAI.c:95

◆ GetCatchAINoise()

override string GetCatchAINoise ( )
inlineprivate
56 {
57 return "WolfRoarNoise";
58 }

◆ GetCatchAINoiseBaseStrength()

override float GetCatchAINoiseBaseStrength ( )
inlineprivate
61 {
62 return 1.0;
63 }

◆ GetCatchDeathSoundset()

override string GetCatchDeathSoundset ( )
inlineprivate
51 {
52 return "BrownHareDeath_SoundSet";
53 }

◆ Init()

override void Init ( )
inlineprivate
20 {
21 super.Init();
22
23 m_Type = "DeadRabbit";
26 }
Definition CatchingConstants.c:2
static const int MASK_METHOD_LANDTRAP_SNARE
Definition CatchingConstants.c:22
static const int MASK_ENVIRO_FOREST
Definition CatchingConstants.c:13
string m_Type
Definition CatchYieldItemBase.c:3
int m_MethodMask
Definition CatchYieldItemBase.c:8
int m_EnviroMask
Definition CatchYieldItemBase.c:7

Перекрестные ссылки YieldItemBase::m_EnviroMask, YieldItemBase::m_MethodMask, YieldItemBase::m_Type, AnimalCatchingConstants::MASK_ENVIRO_FOREST и AnimalCatchingConstants::MASK_METHOD_LANDTRAP_SNARE.


Объявления и описания членов класса находятся в файле: