Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
cctwatersurface.c File Reference

Go to the source code of this file.

Classes

class  CCTWaterSurface
 

Functions

void CCTWaterSurfaceEx (float maximal_target_distance, int allowedLiquidSource)
 
override bool Can (PlayerBase player, ActionTarget target)
 
bool CheckLiquidSource (vector hitPos, string surfaceName, int liquidType, int allowedWaterSourceMask)
 
int GetSurfaceLiquidType (ActionTarget target)
 
override bool CanContinue (PlayerBase player, ActionTarget target)
 
int GetLiquidType ()
 

Variables

CCTWaterSurface m_MaximalActionDistanceSq
 
int m_AllowedLiquidSource
 
int m_LiquidType = LIQUID_NONE
 

Function Documentation

◆ Can()

override bool Can ( PlayerBase player,
ActionTarget target )
protected

Definition at line 69 of file cctwatersurface.c.

◆ CanContinue()

override bool CanContinue ( PlayerBase player,
ActionTarget target )
protected

Definition at line 124 of file cctwatersurface.c.

◆ CCTWaterSurfaceEx()

void CCTWaterSurfaceEx ( float maximal_target_distance,
int allowedLiquidSource )
protected

Definition at line 63 of file cctwatersurface.c.

◆ CheckLiquidSource()

bool CheckLiquidSource ( vector hitPos,
string surfaceName,
int liquidType,
int allowedWaterSourceMask )
protected

Only return true if surface name is empty and

Definition at line 84 of file cctwatersurface.c.

◆ GetLiquidType()

int GetLiquidType ( )
protected

Definition at line 129 of file cctwatersurface.c.

◆ GetSurfaceLiquidType()

int GetSurfaceLiquidType ( ActionTarget target)
protected

Check target surface liquid source first

Check target object for liquid source next

Definition at line 104 of file cctwatersurface.c.

Variable Documentation

◆ m_AllowedLiquidSource

int m_AllowedLiquidSource
protected

Definition at line 60 of file cctwatersurface.c.

◆ m_LiquidType

int m_LiquidType = LIQUID_NONE
protected

Definition at line 61 of file cctwatersurface.c.

◆ m_MaximalActionDistanceSq

CCTWaterSurface m_MaximalActionDistanceSq