DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ CCTLiquid()

void CCTLiquid::CCTLiquid ( int allowedLiquidSource,
float maximalTargetDistance = UAMaxDistances.DEFAULT,
float maxVerticalReach = UAMaxDistances.DEFAULT,
SurfaceDetectionType surfaceDetectionType = SurfaceDetectionType.Roadway,
bool allowSeaLevelCursorFallback = false )
inlineprotected

См. определение в файле CCTLiquid.c строка 37

38 {
39 m_LastSyntheticHitCursor = vector.Zero;
42
43 m_MaxActionDistance = maximalTargetDistance;
44 m_MaxVerticalReach = maxVerticalReach;
45 m_AllowedLiquidSource = allowedLiquidSource;
46 m_AllowSeaLevelCursorFallback = allowSeaLevelCursorFallback;
47
48 m_SurfaceDetectionParams = new SurfaceDetectionParameters();
49 m_SurfaceDetectionParams.type = surfaceDetectionType;
50 m_SurfaceDetectionParams.includeWater = true;
52 m_SurfaceDetectionParams.rsd = RoadSurfaceDetection.CLOSEST;
53
54 m_SurfaceDetectionParamsNoWater = new SurfaceDetectionParameters();
55 m_SurfaceDetectionParamsNoWater.type = surfaceDetectionType;
56 m_SurfaceDetectionParamsNoWater.includeWater = false;
58 m_SurfaceDetectionParamsNoWater.rsd = RoadSurfaceDetection.CLOSEST;
59
60 #ifdef DIAG_DEVELOPER
61 m_DebugSyntheticCursor = DiagMenu.GetBool(DiagMenuIDs.SYNTHETIC_FISHING_CURSOR);
62 m_DebugSyntheticCursorShapes = new array<Shape>();
63 #endif
64 }
DiagMenuIDs
Определения EDiagMenuIDs.c:2
UseObjectsMode
Определения SurfaceInfo.c:74
int m_AllowedLiquidSource
Определения CCTLiquid.c:24
bool m_HasLastSyntheticHitCursor
Определения CCTLiquid.c:19
float m_MaxVerticalReach
Определения CCTLiquid.c:22
ref SurfaceDetectionParameters m_SurfaceDetectionParams
Определения CCTLiquid.c:25
vector m_LastSyntheticHitCursor
Определения CCTLiquid.c:18
float m_MaxActionDistance
Определения CCTLiquid.c:23
int m_LastSyntheticHitCursorTime
Определения CCTLiquid.c:20
bool m_AllowSeaLevelCursorFallback
Определения CCTLiquid.c:30
ref SurfaceDetectionParameters m_SurfaceDetectionParamsNoWater
Определения CCTLiquid.c:26

Перекрестные ссылки DiagMenu::GetBool(), m_AllowedLiquidSource, m_AllowSeaLevelCursorFallback, m_HasLastSyntheticHitCursor, m_LastSyntheticHitCursor, m_LastSyntheticHitCursorTime, m_MaxActionDistance, m_MaxVerticalReach, m_SurfaceDetectionParams, m_SurfaceDetectionParamsNoWater и vector::Zero.