Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
Surface Class Reference

Static Private Member Functions

static bool AllowedWaterSurface (float pHeight, string pSurface, array< string > pAllowedSurfaceList)
static bool CheckLiquidSource (float pHeight, string pSurface, int allowedWaterSourceMask)
static float GetParamFloat (string surface_name, string param_name)
static int GetParamInt (string surface_name, string param_name)
static string GetParamText (string surfaceName, string paramName)
static int GetStepsParticleID (string surface_name)
static int GetWheelParticleID (string surface_name)

Detailed Description

Definition at line 1 of file surface.c.

Member Function Documentation

◆ AllowedWaterSurface()

bool AllowedWaterSurface ( float pHeight,
string pSurface,
array< string > pAllowedSurfaceList )
inlinestaticprivate

Definition at line 31 of file surface.c.

References g_Game, string::Replace(), and UAWaterType::SEA.

Referenced by CCTWaterSurface::Can(), and ItemBase::IsSurfaceWater().

◆ CheckLiquidSource()

bool CheckLiquidSource ( float pHeight,
string pSurface,
int allowedWaterSourceMask )
inlinestaticprivate

Definition at line 54 of file surface.c.

References SurfaceInfo::GetByName(), SurfaceInfo::GetLiquidType(), and LIQUID_SALTWATER.

Referenced by Can().

◆ GetParamFloat()

float GetParamFloat ( string surface_name,
string param_name )
inlinestaticprivate

◆ GetParamInt()

int GetParamInt ( string surface_name,
string param_name )
inlinestaticprivate

Definition at line 13 of file surface.c.

References g_Game.

◆ GetParamText()

string GetParamText ( string surfaceName,
string paramName )
inlinestaticprivate

Definition at line 23 of file surface.c.

References g_Game.

Referenced by GetObjectNameFromSurfaceConfig().

◆ GetStepsParticleID()

int GetStepsParticleID ( string surface_name)
inlinestaticprivate

Definition at line 3 of file surface.c.

References SurfaceInfo::GetByName(), and SurfaceInfo::GetStepParticleId().

Referenced by DayZPlayer::OnStepEvent().

◆ GetWheelParticleID()

int GetWheelParticleID ( string surface_name)
inlinestaticprivate

The documentation for this class was generated from the following file:
  • F:/Games/Dayz/scripts/4_world/static/surface.c