Dayz 1.25
Dayz Code Explorer by KGB
Загрузка...
Поиск...
Не найдено
Класс AnniversaryFireworksLauncherClientEvent
+ Граф наследования:AnniversaryFireworksLauncherClientEvent:

Защищенные члены

int GetExplParticleFromSequence ()
 
void SetupLight (PointLightBase light)
 
void SpawnSecondaryExplosion ()
 

Дополнительные унаследованные члены

- Закрытые члены унаследованные от FireworksLauncherClientEvent
int GetSoundDelay ()
 
int GetLightDelay ()
 
float GetExplosionDistance ()
 
float GetShotDispersionAngle ()
 
string GetExplosionSoundSet ()
 
float GetExplosionDelay ()
 
void FireworksLauncherClientEvent (FireworksLauncher item, int index)
 
void ~FireworksLauncherClientEvent ()
 
void OnFired ()
 
vector GetShotPos ()
 
void CalculateExplosionPosition ()
 
vector GetExplosionPosition ()
 
int GetSecondaryExplosionCount ()
 
void OnExplode ()
 
void RequestSecondaryExplosion ()
 
void SpawnSecondaryExplosion ()
 
int GetSecondaryExplosionDelay ()
 
int GetExplParticleFromSequence ()
 
void SetupLight (PointLightBase light)
 
void SpawnLight ()
 
void PlayExplosionSound ()
 
- Закрытые данные унаследованные от FireworksLauncherClientEvent
ref Timer m_Timer = new Timer()
 
FireworksLauncher m_Item
 
int m_Index
 
vector m_ExplosionPos
 
EffectSound m_FireSound
 
EffectSound m_ExplosionSound
 
ParticleSource m_ParticleShot
 
ParticleSource m_ParticleExplosion
 
vector m_ShotDir
 
ExplosionLight m_ExplosionLight
 
ParticleSource m_ParticleAfterBurnEnd
 
string m_Color
 
int m_RemainingExplosions = GetSecondaryExplosionCount()
 
ref array< ref FireworksLauncherClientEventBase > m_Events = new ref array<ref FireworksLauncherClientEventBase>
 

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

Методы

◆ GetExplParticleFromSequence()

int GetExplParticleFromSequence ( )
inlineprotected
4 {
5 switch (m_Color)
6 {
7 case "1":
9 case "2":
11 case "3":
13 case "4":
15 case "5":
17 default:
18 ErrorEx("Incorrect explosion particle color in the sequence");
19 }
21 }
string m_Color
Definition FireworksLauncher.c:41
Definition ParticleList.c:12
static const int FIREWORKS_EXPLOSION_RED
Definition ParticleList.c:286
static const int FIREWORKS_EXPLOSION_THANKS1
Definition ParticleList.c:297
static const int FIREWORKS_EXPLOSION_THANKS3
Definition ParticleList.c:299
static const int FIREWORKS_EXPLOSION_THANKS4
Definition ParticleList.c:300
static const int FIREWORKS_EXPLOSION_THANKS5
Definition ParticleList.c:301
static const int FIREWORKS_EXPLOSION_THANKS2
Definition ParticleList.c:298
enum ShapeType ErrorEx

Перекрестные ссылки ErrorEx, ParticleList::FIREWORKS_EXPLOSION_RED, ParticleList::FIREWORKS_EXPLOSION_THANKS1, ParticleList::FIREWORKS_EXPLOSION_THANKS2, ParticleList::FIREWORKS_EXPLOSION_THANKS3, ParticleList::FIREWORKS_EXPLOSION_THANKS4, ParticleList::FIREWORKS_EXPLOSION_THANKS5 и FireworksLauncherClientEvent::m_Color.

◆ SetupLight()

void SetupLight ( PointLightBase light)
inlineprotected
24 {
25 switch (m_Color)
26 {
27 case "1":
28 light.SetDiffuseColor(255,51,51);
29 light.SetAmbientColor(255,51,51);
30
31 break;
32 case "2":
33 light.SetDiffuseColor(0,255,128);
34 light.SetAmbientColor(0,255,128);
35 break;
36 case "3":
37 light.SetDiffuseColor(51,153,255);
38 light.SetAmbientColor(51,153,255);
39 break;
40 case "4":
41 light.SetDiffuseColor(255,255,51);
42 light.SetAmbientColor(255,255,51);
43 break;
44 case "5":
45 light.SetDiffuseColor(255,102,255);
46 light.SetAmbientColor(255,102,255);
47 break;
48 default:
49 ErrorEx("Incorrect explosion particle color in the sequence");
50 }
51 }
Definition EntityAI.c:95

Перекрестные ссылки ErrorEx и FireworksLauncherClientEvent::m_Color.

◆ SpawnSecondaryExplosion()

void SpawnSecondaryExplosion ( )
inlineprotected
54 {
57 evnt.OnExplode();
58 m_Events.Insert(evnt);
60 }
void RequestSecondaryExplosion()
Definition FireworksLauncher.c:194
int m_Index
Definition FireworksLauncher.c:32
vector GetExplosionPosition()
Definition FireworksLauncher.c:160
FireworksLauncher m_Item
Definition FireworksLauncher.c:31
ref array< ref FireworksLauncherClientEventBase > m_Events
Definition FireworksLauncher.c:43

Перекрестные ссылки FireworksLauncherClientEvent::GetExplosionPosition(), FireworksLauncherClientEvent::m_Events, FireworksLauncherClientEvent::m_Index, FireworksLauncherClientEvent::m_Item и FireworksLauncherClientEvent::RequestSecondaryExplosion().


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