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

◆ EOnPostSimulate()

override void BoatScript::EOnPostSimulate ( IEntity other,
float timeSlice )
inlineprotected

См. определение в файле BoatScript.c строка 292

293 {
294 if (!IsProxy())
295 {
298
299 if (EngineIsOn())
300 {
301 if (GetFluidFraction(BoatFluid.FUEL) <= 0)
302 {
303 if (GetGame().IsServer())
304 {
306 SetSynchDirty();
308 }
309
310 EngineStop();
311 }
312 }
313 }
314
315 if (GetGame().IsServer())
316 {
319 m_MomentumPrevTick = GetMomentum();
320 }
321
322 if (!GetGame().IsDedicatedServer())
323 {
324 if (EngineIsOn())
325 m_UpdateParticles = true;
326
329
330 }
331 }
BoatFluid
Type of vehicle's fluid. (native, do not change or extend)
Определения Boat.c:14
ECrewMemberState
Определения ECrewMemberState.c:2
bool IsProxy()
Определения Hand_Events.c:65
void HandleBoatSplashSound()
Определения BoatScript.c:606
bool m_UpdateParticles
Определения BoatScript.c:52
bool m_PlaySoundEngineStopNoFuel
Определения BoatScript.c:57
void CheckContactCache()
Определения BoatScript.c:676
float m_MomentumPrevTick
Определения BoatScript.c:47
vector m_VelocityPrevTick
Определения BoatScript.c:46
override void HandleByCrewMemberState(ECrewMemberState state)
Определения BoatScript.c:452
proto native CGame GetGame()
proto native vector GetVelocity(notnull IEntity ent)
Returns linear velocity.

Перекрестные ссылки CheckContactCache(), GetGame(), GetVelocity(), HandleBoatSplashSound(), HandleByCrewMemberState(), IsProxy(), m_MomentumPrevTick, m_PlaySoundEngineStopNoFuel, m_UpdateParticles и m_VelocityPrevTick.