DayZ 1.29
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
World.c
См. документацию.
2{
3 // exposed from native, do not touch
4 #ifdef DIAG_DEVELOPER
5 const int DM_GAME_WORLD_SIMUL_ACCELERATION;
6 #endif
7
8 //proto private void ~World();
9 //proto private void World();
10
11 proto void CheckSoundObstruction(EntityAI source, bool inSource, out float obstruction, out float occlusion);
12
13 proto native void GetPlayerList(out array<Man> players);
14
19 proto native void SetTimeMultiplier(float timeMultiplier);
20
33 proto void GetDate(out int year, out int month, out int day, out int hour, out int minute);
34
51 proto native void SetDate(int year, int month, int day, int hour, int minute);
52 proto native float GetLatitude();
53 proto native float GetLongitude();
54 proto native float GetMoonIntensity();
55 proto native float GetSunOrMoon();
56 proto native bool IsNight();
57
58 proto native float GetEyeAccom();
59 proto native void SetEyeAccom(float eyeAccom);
60
61 proto native void StartFpsBenchmark(int sectorsCount, float preloadDistance, float fpsLimitRed, float fpsLimitGreen, float fpsLimitBlue, float minX, float minY, float maxX, float maxY);
62 proto native void StartFpsBenchmarkWithMask(float preloadDistance, float fpsLimitRed, float fpsLimitGreen, float fpsLimitBlue);
63 proto native void StartFpsBenchmarkViews(string xmlFileName, float preloadDistance);
64 proto native void SetBuldozerWaterEnabled(bool enable);
69 proto native void SetPreferredViewDistance(float distance);
70
71 proto native void SetViewDistance(float distance);
72
73 proto native void SetObjectViewDistance(float distance);
74
75 proto native void SetExplicitVolumeFactor_EnvSounds2D(float factor, float fadeTime);
76
77
83 proto native void AddEnvShootingSource(vector position, float shootingValDecrease);
84
85 proto int GetWorldSize();
86
98 proto void GetGridCoords(vector pos, float gridSize, out int gridX, out int gridZ);
99
103 proto native void LoadNewLightingCfg(string path);
104
108 proto native void LoadUserLightingCfg(string path, string name);
109
113 proto native void SetUserLightingLerp(float val);
114
115
119 proto native AIWorld GetAIWorld();
120
125 proto native void UpdatePathgraphDoorByAnimationSourceName(notnull Object object, string animSourceName);
126
127 proto native void MarkObjectForPathgraphUpdate(Object object);
129
130
143 proto native Material GetMaterial(string materialName);
144
152 proto native void SetCameraPostProcessEffect(int cam, int ppEffect, string effectName, string materialName);
153
154 void SetAperture(float invDiameter)
155 {
156 if (invDiameter <= 0)
157 {
158 SetEyeAccom(-1);
159 }
160 else
161 {
162 float apertureArea = 1.0 / invDiameter;
163 SetEyeAccom(apertureArea * apertureArea);
164 }
165 }
166
170 proto native bool Is3rdPersonDisabled();
171
175 proto native bool IsCrosshairDisabled();
176
181
185 proto native int GetPingWarningThreshold();
186
190 proto native int GetPingCriticalThreshold();
191
195 proto native float GetServerFpsWarningThreshold();
196
200 proto native float GetServerFpsCriticalThreshold();
201
206 proto native void DisableTransmitVoN(bool disable);
207
213 proto native bool DisableReceiveVoN(bool disable);
214
218 proto native bool IsDisabledTransmitingVoN();
219
223 proto native bool IsDisabledReceivingVoN();
224
230 proto void SetVoiceOn(bool listening, bool toggled = false);
231
241 proto native void FlattenGrassSphere(float x, float z, float radius, float centerLerp01, float timeDown01, float maxHeight01);
242
255 proto native void FlattenGrassEllipse(float x, float z, float sideX, float sideZ, float offset, float angleRAD, float centerLerp01, float timeDown01, float maxHeight01);
256
267 proto native void FlattenGrassBox(float x, float z, float side, float angleRAD, float centerLerp01, float timeDown01, float maxHeight01);
268
281 proto native void FlattenGrassRect(float x, float z, float sideX, float sideZ, float offset, float angleRAD, float centerLerp01, float timeDown01, float maxHeight01);
282};
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
Icon x
string path
Определения OptionSelectorMultistate.c:142
Определения AIWorld.c:71
TODO doc.
Определения EnScript.c:118
Определения proto.c:268
Определения ObjectTyped.c:2
proto native void SetBuldozerWaterEnabled(bool enable)
proto native void SetObjectViewDistance(float distance)
proto native AIWorld GetAIWorld()
proto native bool Is3rdPersonDisabled()
proto native void ProcessMarkedObjectsForPathgraphUpdate()
proto native void UpdatePathgraphDoorByAnimationSourceName(notnull Object object, string animSourceName)
proto void GetGridCoords(vector pos, float gridSize, out int gridX, out int gridZ)
Translates world coordinates to a grid coordinates(map grid)
proto native bool DisableReceiveVoN(bool disable)
proto native void SetTimeMultiplier(float timeMultiplier)
Sets the world time acceleration, overriding config. Mostly used for debug purposes.
proto native bool IsCrosshairDisabled()
proto native void StartFpsBenchmarkWithMask(float preloadDistance, float fpsLimitRed, float fpsLimitGreen, float fpsLimitBlue)
proto native void StartFpsBenchmark(int sectorsCount, float preloadDistance, float fpsLimitRed, float fpsLimitGreen, float fpsLimitBlue, float minX, float minY, float maxX, float maxY)
proto native float GetSunOrMoon()
proto native void DisableTransmitVoN(bool disable)
proto native int GetPingCriticalThreshold()
proto native float GetMoonIntensity()
proto native void FlattenGrassRect(float x, float z, float sideX, float sideZ, float offset, float angleRAD, float centerLerp01, float timeDown01, float maxHeight01)
proto native void FlattenGrassSphere(float x, float z, float radius, float centerLerp01, float timeDown01, float maxHeight01)
proto native void SetExplicitVolumeFactor_EnvSounds2D(float factor, float fadeTime)
proto native float GetServerFpsCriticalThreshold()
proto native void FlattenGrassEllipse(float x, float z, float sideX, float sideZ, float offset, float angleRAD, float centerLerp01, float timeDown01, float maxHeight01)
proto native void AddEnvShootingSource(vector position, float shootingValDecrease)
Affects env sound controller value 'Shooting'.
proto native float GetEyeAccom()
proto native void LoadNewLightingCfg(string path)
proto native void SetEyeAccom(float eyeAccom)
proto native void FlattenGrassBox(float x, float z, float side, float angleRAD, float centerLerp01, float timeDown01, float maxHeight01)
proto native void LoadUserLightingCfg(string path, string name)
proto native bool IsDisabledTransmitingVoN()
proto native int GetPingWarningThreshold()
proto int GetWorldSize()
proto native void SetPreferredViewDistance(float distance)
Sets preferred view distance, which persists between game sessions.
proto native void SetDate(int year, int month, int day, int hour, int minute)
Sets actual ingame world time.
proto native bool IsMouseAndKeyboardEnabledOnServer()
proto native Material GetMaterial(string materialName)
proto native float GetLongitude()
proto native void MarkObjectForPathgraphUpdate(Object object)
proto native bool IsNight()
proto native float GetServerFpsWarningThreshold()
proto native void SetUserLightingLerp(float val)
proto native float GetLatitude()
proto native void SetViewDistance(float distance)
proto void SetVoiceOn(bool listening, bool toggled=false)
void SetAperture(float invDiameter)
Определения World.c:154
proto native void SetCameraPostProcessEffect(int cam, int ppEffect, string effectName, string materialName)
proto native bool IsDisabledReceivingVoN()
proto void CheckSoundObstruction(EntityAI source, bool inSource, out float obstruction, out float occlusion)
proto native void StartFpsBenchmarkViews(string xmlFileName, float preloadDistance)
proto void GetDate(out int year, out int month, out int day, out int hour, out int minute)
Get actual ingame world time.
proto native void GetPlayerList(out array< Man > players)
Определения World.c:2
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
Определения EnConvert.c:119