DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
SoundEvents.c
См. документацию.
2{
4 int m_Type;
5 int m_ID;
11
12
14 {
16 }
17
18 //obsolete function, now possible to set a param
23
24 void Tick()
25 {
27 {
28 m_RequestDestroy = true;
29 }
30 }
31
33 {
35 {
36 return true;
37 }
38
39 return false;
40 }
41
43 {
44 return m_RequestDestroy;
45 }
46
47 bool CanPlay()
48 {
49 return true;
50 }
51
52 bool Play()
53 {
54 return true;
55 }
56
57 void OnPlay(PlayerBase player);
58
59 void Stop()
60 {
62 {
63 m_SoundSetCallback.Stop();
64 }
65 }
66
68 {
69 return m_ID;
70 }
71
73 {
74 return m_Type;
75 }
76
81}
82
83class SoundEventHandler
84{
85 static int GetSoundEventType(int id) { return -1; }
86 //void OnTick(float delta_time) {}
87 bool PlayRequest(EPlayerSoundEventID id, bool sent_from_server = false) { return true; }
88 bool PlayRequestEx(EPlayerSoundEventID id, bool sent_from_server = false, int param = 0){ return true; };
89 int GetCurrentStateEventID() { return -1; }
90 int GetCurrentStateEventType() { return -1; }
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
int GetSoundEventType()
Определения SoundEvents.c:155
Определения PlayerBaseClient.c:2
AbstractWave GetSoundSetCallback()
Определения SoundEvents.c:77
bool m_SkipForControlledCharacter
Определения SoundEvents.c:9
bool IsSkipForControlled()
Определения SoundEvents.c:19
int m_SoundVoiceAnimEventClassID
Определения SoundEvents.c:6
bool m_RequestDestroy
Определения SoundEvents.c:7
bool Play()
Определения SoundEvents.c:52
string m_SoundSetNameRoot
Определения SoundEvents.c:8
void OnPlay(PlayerBase player)
int GetSoundEventType()
Определения SoundEvents.c:72
void Tick()
Определения SoundEvents.c:24
int m_Param
Определения SoundEvents.c:10
AbstractWave m_SoundSetCallback
Определения SoundEvents.c:3
void ~SoundEventBase()
Определения SoundEvents.c:13
bool IsSoundCallbackExist()
Определения SoundEvents.c:32
int m_ID
Определения SoundEvents.c:5
bool CanPlay()
Определения SoundEvents.c:47
bool IsDestroyRequested()
Определения SoundEvents.c:42
int GetSoundEventID()
Определения SoundEvents.c:67
void Stop()
Определения SoundEvents.c:59
int m_Type
Определения SoundEvents.c:4
Определения SoundEvents.c:2
void AbstractWave()
Определения Sound.c:167