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

Закрытые члены

void SurfaceInfo ()
 
void ~SurfaceInfo ()
 
proto string GetName ()
 
proto string GetEntryName ()
 
proto string GetSurfaceType ()
 
proto float GetRoughness ()
 
proto float GetDustness ()
 
proto float GetBulletPenetrability ()
 
proto float GetThickness ()
 
proto float GetDeflection ()
 
proto float GetTransparency ()
 
proto float GetAudability ()
 
proto bool IsLiquid ()
 
proto bool IsStairs ()
 
proto bool IsPassthrough ()
 
proto bool IsSolid ()
 
proto string GetSoundEnv ()
 
proto string GetImpact ()
 
proto int GetLiquidType ()
 See 'LiquidTypes' in 'constants.c'.
 
proto int GetStepParticleId ()
 
proto int GetWheelParticleId ()
 

Закрытые статические члены

static proto SurfaceInfo GetByName (string name)
 
static proto SurfaceInfo GetByFile (string name)
 

Подробное описание

Unmanaged surface info handle. Provides API to surfaces that are defined as part of 'CfgSurfaces' or exist in an objects .bisurf file. Lifetime is managed in code so don't store handles of this type yourself.

Конструктор(ы)

◆ SurfaceInfo()

void SurfaceInfo ( )
inlineprivate
9{};

◆ ~SurfaceInfo()

void ~SurfaceInfo ( )
inlineprivate
10{};

Методы

◆ GetAudability()

proto float GetAudability ( )
private

◆ GetBulletPenetrability()

proto float GetBulletPenetrability ( )
private

◆ GetByFile()

static proto SurfaceInfo GetByFile ( string name)
staticprivate

Warning: O(n) time complexity where n is the total number of loaded surfaces Note: Will load the surface if not loaded Warning: If the surface name is invalid, it will still create a SurfaceInfo 'CfgSurfaces' can be pathed by having the name prefixed with '#', so 'GetByFile("#cp_grass")' will return same as 'GetByName("cp_grass")'

◆ GetByName()

static proto SurfaceInfo GetByName ( string name)
staticprivate

Warning: O(n) time complexity where n is the total number of loaded surfaces Note: Will load the surface if not loaded Warning: If the surface name is invalid, it will still create a SurfaceInfo

Используется в Surface::CheckLiquidSource(), ActionFillBottleBase::GetLiquidType(), Surface::GetStepsParticleID() и Surface::GetWheelParticleID().

◆ GetDeflection()

proto float GetDeflection ( )
private

◆ GetDustness()

proto float GetDustness ( )
private

◆ GetEntryName()

proto string GetEntryName ( )
private

◆ GetImpact()

proto string GetImpact ( )
private

◆ GetLiquidType()

proto int GetLiquidType ( )
private

See 'LiquidTypes' in 'constants.c'.

◆ GetName()

proto string GetName ( )
private

◆ GetRoughness()

proto float GetRoughness ( )
private

◆ GetSoundEnv()

proto string GetSoundEnv ( )
private

◆ GetStepParticleId()

proto int GetStepParticleId ( )
private

See 'ParticleList', if config entry not set, value is 'ParticleList.NONE', if config entry is set but doesn't exist, value is 'ParticleList.INVALID'

◆ GetSurfaceType()

proto string GetSurfaceType ( )
private

◆ GetThickness()

proto float GetThickness ( )
private

◆ GetTransparency()

proto float GetTransparency ( )
private

◆ GetWheelParticleId()

proto int GetWheelParticleId ( )
private

◆ IsLiquid()

proto bool IsLiquid ( )
private

◆ IsPassthrough()

proto bool IsPassthrough ( )
private

◆ IsSolid()

proto bool IsSolid ( )
private

◆ IsStairs()

proto bool IsStairs ( )
private

Объявления и описания членов класса находятся в файле: