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

◆ ~SoundEventBase()

void GetSoundEventType::~SoundEventBase ( )

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

97{
99 int m_Type;
100 int m_ID;
102 bool m_RequestDestroy;
103 string m_SoundSetNameRoot;
105 int m_Param;
106
107
108 void ~SoundEventBase()
109 {
111 }
112
113 //obsolete function, now possible to set a param
115 {
117 }
118
119 void Tick()
120 {
122 {
123 m_RequestDestroy = true;
124 }
125 }
126
128 {
130 {
131 return true;
132 }
133
134 return false;
135 }
136
137 bool IsDestroyRequested()
138 {
139 return m_RequestDestroy;
140 }
141
142 bool CanPlay()
143 {
144 return true;
145 }
146
147 bool Play()
148 {
149 return true;
150 }
151
152 void OnPlay(PlayerBase player);
153
154 void Stop()
155 {
157 {
158 m_SoundSetCallback.Stop();
159 }
160 }
161
162 int GetSoundEventID()
163 {
164 return m_ID;
165 }
166
168 {
169 return m_Type;
170 }
171
173 {
174 return m_SoundSetCallback;
175 }
176}
177
178class SoundEventHandler
179{
180 static int GetSoundEventType(int id) { return -1; }
181 //void OnTick(float delta_time) {}
182 bool PlayRequest(EPlayerSoundEventID id, bool sent_from_server = false) { return true; }
183 bool PlayRequestEx(EPlayerSoundEventID id, bool sent_from_server = false, int param = 0){ return true; };
184 int GetCurrentStateEventID() { return -1; }
185 int GetCurrentStateEventType() { return -1; }
186}
eBleedingSourceType m_Type
Определения BleedingSource.c:25
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
Определения Effect.c:49
override int GetCurrentStateEventID()
Определения InfectedSoundEventHandler.c:38
override int GetCurrentStateEventType()
Определения InfectedSoundEventHandler.c:47
override bool PlayRequestEx(EPlayerSoundEventID id, bool sent_from_server=false, int param=0)
Определения PlayerSoundEventHandler.c:148
EPlayerSoundEventID
Определения PlayerSoundEventHandler.c:3
EAnimPlayState PlayRequest()
Определения SmptAnimMeta.c:65
AbstractWave m_SoundSetCallback
Определения SoundEvents.c:86
AbstractWave GetSoundSetCallback()
Определения SoundEvents.c:160
bool IsSoundCallbackExist()
Определения SoundEvents.c:115
bool IsDestroyRequested()
Определения SoundEvents.c:125
bool CanPlay()
Определения SoundEvents.c:130
void ~SoundEventBase()
Определения SoundEvents.c:96
int m_SoundVoiceAnimEventClassID
Определения SoundEvents.c:89
int GetSoundEventType()
Определения SoundEvents.c:155
bool IsSkipForControlled()
Определения SoundEvents.c:102
bool m_RequestDestroy
Определения SoundEvents.c:90
int GetSoundEventID()
Определения SoundEvents.c:150
int m_Param
Определения SoundEvents.c:93
string m_SoundSetNameRoot
Определения SoundEvents.c:91
bool m_SkipForControlledCharacter
Определения SoundEvents.c:92
void Tick()
Определения SoundEvents.c:107
Определения PlayerBaseClient.c:2
bool Play()
Определения SoundEvents.c:135
void AbstractWave()
Определения Sound.c:167
void Stop()
Stops all elements this effect consists of.
Определения SoundEvents.c:142
void OnPlay()
Определения Sound.c:206