DayZ
1.27
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
CatchingResultStructure.c
См. документацию.
1
class
CatchingResultBase
:
CatchingResultBasic
2
{
3
override
protected
float
RollChanceSeeded
()
4
{
5
PlayerBase
player;
6
if
(
Class
.
CastTo
(player,
m_Owner
.GetHierarchyRootPlayer()))
7
return
player.GetRandomGeneratorSyncManager().GetRandom01(
RandomGeneratorSyncUsage
.RGSAnimalCatching);
8
9
ErrorEx
(
"Player not present or wrong entity used | m_Owner: "
+
m_Owner
+
" | root entity: "
+
m_Owner
.GetHierarchyRoot());
10
return
2.0;
11
}
12
};
RandomGeneratorSyncUsage
RandomGeneratorSyncUsage
Определения
RandomGeneratorSyncManager.c:2
CatchingResultBase::RollChanceSeeded
float RollChanceSeeded()
Определения
CatchingResultStructure.c:3
CatchingResultBase
Определения
CatchingResultStructure.c:2
CatchingResultBasic::CatchingResultBasic
void CatchingResultBasic(EntityAI owner)
Определения
CatchingResultBasic.c:10
CatchingResultBasic::m_Owner
EntityAI m_Owner
Определения
CatchingResultBasic.c:3
Class
Super root of all classes in Enforce script.
Определения
EnScript.c:11
PlayerBase
Определения
PlayerBaseClient.c:2
ErrorEx
enum ShapeType ErrorEx
Class::CastTo
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
Ishodniki
scripts
4_World
Systems
AnimalCatchingSystem
CatchingResultStructure.c
Создано системой
1.13.2