PC Stable Documentation
|
|
Private Member Functions | |
protected void | SurfaceInfo () |
protected 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 Private Member Functions | |
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. Any created 'SurfaceInfo' is destroyed during 'Game' ScriptModule destruction.
|
inlineprivate |
|
inlineprivate |
|
private |
|
private |
|
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")'
Referenced by ActionTarget().
|
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
Referenced by Surface::CheckLiquidSource(), ActionFillBottleBase::GetLiquidType(), Surface::GetStepsParticleID(), and Surface::GetWheelParticleID().
|
private |
|
private |
|
private |
Referenced by ActionTargets::Update().
|
private |
|
private |
See 'LiquidTypes' in 'constants.c'.
Referenced by ActionTarget(), Surface::CheckLiquidSource(), ActionTargets::ComputeUtility(), and ActionFillBottleBase::GetLiquidType().
|
private |
|
private |
|
private |
|
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'
Referenced by Surface::GetStepsParticleID().
|
private |
Referenced by ActionTargets::Update().
|
private |
|
private |
|
private |
Referenced by Surface::GetWheelParticleID().
|
private |
|
private |
|
private |
|
private |