Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
surfaceinfo.c
Go to the documentation of this file.
1typedef int[] SurfaceInfo;
2
9{
10 protected void SurfaceInfo() {};
11 protected void ~SurfaceInfo() {};
12
16 proto static SurfaceInfo GetByName(string name);
17
22 proto static SurfaceInfo GetByFile(string name);
23
24 proto string GetName();
25 proto string GetEntryName();
26 proto string GetSurfaceType();
27
28 proto float GetRoughness();
29 proto float GetDustness();
31 proto float GetThickness();
32 proto float GetDeflection();
33 proto float GetTransparency();
34 proto float GetAudability();
35
36 proto bool IsLiquid();
37 proto bool IsStairs();
38 proto bool IsPassthrough();
39 proto bool IsSolid();
40
41 proto string GetSoundEnv();
42 proto string GetImpact();
43
45 proto int GetLiquidType();
46
49 proto int GetStepParticleId();
50 proto int GetWheelParticleId();
51};
52
64
70
75{
78
80 vector position;
81
83 bool includeWater = false;
84
86 UseObjectsMode syncMode = UseObjectsMode.Wait;
87
89 Object ignore = null;
90
92 RoadSurfaceDetection rsd = RoadSurfaceDetection.ABOVE;
93
94};
95
99/*sealed*/ class SurfaceDetectionResult
100{
102 float height = 0;
103
105 float normalX = 0;
106
108 //float normalY = 1;
109
111 float normalZ = 0;
112
114 SurfaceInfo surface = null;
115
117 bool aboveWater = false;
118
120 Object object = null;
121
122};
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
proto bool IsStairs()
proto float GetDustness()
proto float GetTransparency()
proto string GetName()
proto string GetSoundEnv()
void ~SurfaceInfo()
Definition surfaceinfo.c:11
proto int GetLiquidType()
See 'LiquidTypes' in 'constants.c'.
proto bool IsSolid()
proto float GetThickness()
proto float GetBulletPenetrability()
static proto SurfaceInfo GetByName(string name)
proto int GetStepParticleId()
proto int GetWheelParticleId()
proto string GetImpact()
static proto SurfaceInfo GetByFile(string name)
proto float GetRoughness()
proto string GetSurfaceType()
proto bool IsPassthrough()
proto string GetEntryName()
proto bool IsLiquid()
void SurfaceInfo()
Definition surfaceinfo.c:10
proto float GetAudability()
proto float GetDeflection()
SurfaceDetectionType
Definition surfaceinfo.c:66
@ Scenery
Definition surfaceinfo.c:67
@ Roadway
Definition surfaceinfo.c:68
UseObjectsMode
Definition surfaceinfo.c:54
@ Wait
wait for the data to be ready
Definition surfaceinfo.c:56
@ NoWait
do not wait for the data, but refresh caches
Definition surfaceinfo.c:59
@ NoLock
only return the data we have, do not touch any caches (MT safe mode)
Definition surfaceinfo.c:62
int[] SurfaceInfo
Definition surfaceinfo.c:1