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

◆ GetSurfaceLiquidType()

int GetSurfaceLiquidType ( ActionTarget target)
protected

Check target surface liquid source first

Check target object for liquid source next

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

105 {
107
109 if (target.GetSurfaceLiquidType() != LIQUID_NONE)
110 {
111 m_LiquidType = target.GetSurfaceLiquidType();
112 }
113
115 Object targetObject = target.GetObject();
116 if (m_LiquidType == LIQUID_NONE && targetObject)
117 {
118 m_LiquidType = targetObject.GetLiquidSourceType();
119 }
120
121 return m_LiquidType;
122 }
int m_LiquidType
Определения Environment.c:61
Определения ObjectTyped.c:2
const int LIQUID_NONE
Определения 3_Game/constants.c:529

Перекрестные ссылки ActionTarget(), LIQUID_NONE и m_LiquidType.