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

◆ GetSoundEventType() [1/2]

int GetSoundEventType::GetSoundEventType ( )

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

156{
158 int m_Type;
159 int m_ID;
161 bool m_RequestDestroy;
162 string m_SoundSetNameRoot;
164 int m_Param;
165
166
167 void ~SoundEventBase()
168 {
170 }
171
172 //obsolete function, now possible to set a param
174 {
176 }
177
178 void Tick()
179 {
181 {
182 m_RequestDestroy = true;
183 }
184 }
185
187 {
189 {
190 return true;
191 }
192
193 return false;
194 }
195
196 bool IsDestroyRequested()
197 {
198 return m_RequestDestroy;
199 }
200
201 bool CanPlay()
202 {
203 return true;
204 }
205
206 bool Play()
207 {
208 return true;
209 }
210
211 void OnPlay(PlayerBase player);
212
213 void Stop()
214 {
216 {
217 m_SoundSetCallback.Stop();
218 }
219 }
220
221 int GetSoundEventID()
222 {
223 return m_ID;
224 }
225
227 {
228 return m_Type;
229 }
230
232 {
233 return m_SoundSetCallback;
234 }
235}
236
237class SoundEventHandler
238{
239 static int GetSoundEventType(int id) { return -1; }
240 //void OnTick(float delta_time) {}
241 bool PlayRequest(EPlayerSoundEventID id, bool sent_from_server = false) { return true; }
242 bool PlayRequestEx(EPlayerSoundEventID id, bool sent_from_server = false, int param = 0){ return true; };
243 int GetCurrentStateEventID() { return -1; }
244 int GetCurrentStateEventType() { return -1; }
245}
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