Dayz 1.25
Dayz Code Explorer by KGB
Загрузка...
Поиск...
Не найдено
Класс ParticleEvents

Invokers for ParticleBase events, called from events. Подробнее...

Закрытые данные

ref ScriptInvoker Event_OnParticleStart = new ScriptInvoker()
 Called when particle starts playing.
 
ref ScriptInvoker Event_OnParticleStop = new ScriptInvoker()
 Called when particle stops playing.
 
ref ScriptInvoker Event_OnParticleReset = new ScriptInvoker()
 Called when particle is reset.
 
ref ScriptInvoker Event_OnParticleEnd = new ScriptInvoker()
 Called when particle ends.
 
ref ScriptInvoker Event_OnParticleParented = new ScriptInvoker()
 Called when particle receives a parent.
 
ref ScriptInvoker Event_OnParticleUnParented = new ScriptInvoker()
 Called when particle is orphaned.
 

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

Invokers for ParticleBase events, called from events.

void EnableOnEndPrint(ParticleBase psrc)
{
psrc.GetEvents().Event_OnParticleEnd.Insert(PrintParticleEnded);
}
void PrintParticleEnded(ParticleBase psrc)
{
Print(string.Format("%1 ended.", psrc.GetDebugNameNative());
}
Definition EntityAI.c:95
proto void Print(void var)
Prints content of variable to console/log.

Поля

◆ Event_OnParticleEnd

ref ScriptInvoker Event_OnParticleEnd = new ScriptInvoker()
private

Called when particle ends.

Заметки
Particle: Called when lifetime is over and there are no emitors active anymore
ParticleSource: Called when particle ends naturally or after the particle is stopped and there are no emitors active anymore
Предупреждения
Looped never ends naturally and need to be stopped

Используется в OnParticleEnd().

◆ Event_OnParticleParented

ref ScriptInvoker Event_OnParticleParented = new ScriptInvoker()
private

Called when particle receives a parent.

Заметки
Particle: Not present

Используется в OnParticleParented().

◆ Event_OnParticleReset

ref ScriptInvoker Event_OnParticleReset = new ScriptInvoker()
private

Called when particle is reset.

Заметки
Particle: Not present, there is no reset functionality
ParticleSource: Called when ResetParticleNative is successful

Используется в OnParticleReset().

◆ Event_OnParticleStart

ref ScriptInvoker Event_OnParticleStart = new ScriptInvoker()
private

Called when particle starts playing.

Заметки
Particle: Called when any Play method has been called
ParticleSource: Called when PlayParticleNative is successful

Используется в OnParticleStart().

◆ Event_OnParticleStop

ref ScriptInvoker Event_OnParticleStop = new ScriptInvoker()
private

Called when particle stops playing.

Заметки
Particle: Called when any Stop method has been called or when lifetime is over
ParticleSource: Called when StopParticleNative is successful, when the particle ends and when the particle is destroyed while it is playing

Используется в OnParticleStop().

◆ Event_OnParticleUnParented

ref ScriptInvoker Event_OnParticleUnParented = new ScriptInvoker()
private

Called when particle is orphaned.

Заметки
Particle: Not present

Используется в OnParticleUnParented().


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