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

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

void DynamicMusicPlayerRegistry ()
 
void PreloadData ()
 
void RegisterCategorySettings ()
 
void RegisterTracksMenu ()
 
void RegisterTracksTime ()
 
void RegisterTracksLocationStatic ()
 
void RegisterTracksLocationDynamic ()
 
void RegisterTrackMenu (string soundSetName, bool hasPriority=false, int timeOfDay=DynamicMusicPlayerTimeOfDay.ANY)
 
void RegisterTrackTime (string soundSetName, int timeOfDay=DynamicMusicPlayerTimeOfDay.ANY)
 
void RegisterTrackLocationStatic (string soundSetName, vector start, vector end, int timeOfDay=DynamicMusicPlayerTimeOfDay.ANY, bool runImmediately=false)
 
void RegisterTrackLocationStaticMultiRectangle (string soundSetName, ref array< ref TVectorArray > locationBoundaries, int timeOfDay=DynamicMusicPlayerTimeOfDay.ANY, bool runImmediately=false)
 
void RegisterTrackLocationDynamic (string soundSetName, int locationType=DynamicMusicLocationTypes.NONE, int timeOfDay=DynamicMusicPlayerTimeOfDay.ANY)
 

Защищенные данные

string m_WorldName = ""
 

Закрытые члены

void RegisterGlobalSettings ()
 
void RegisterMenuSettings ()
 
void RegisterTimeSettings ()
 
void RegisterLocationStaticSettings ()
 
void RegisterLocationDynamicSettings ()
 

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

ref map< EDynamicMusicPlayerCategory, ref DynamicMusicPlayerSettingsm_SettingsByCategory
 
ref array< ref DynamicMusicTrackDatam_TracksMenu
 
ref array< ref DynamicMusicTrackDatam_TracksTime
 
ref array< ref DynamicMusicTrackDatam_TracksLocationStatic
 
ref array< ref DynamicMusicTrackDatam_TracksLocationStaticPrioritized
 
ref array< ref DynamicMusicTrackDatam_TracksLocationDynamic
 

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

Конструктор(ы)

◆ DynamicMusicPlayerRegistry()

void DynamicMusicPlayerRegistry ( )
inlineprotected
14 {
16 }
void PreloadData()
Definition DynamicMusicPlayerRegistry.c:18

Перекрестные ссылки PreloadData().

Методы

◆ PreloadData()

void PreloadData ( )
inlineprotected
19 {
21
23
28 }
void RegisterTracksLocationDynamic()
Definition DynamicMusicPlayerRegistry.c:138
void RegisterTracksLocationStatic()
Definition DynamicMusicPlayerRegistry.c:132
string m_WorldName
Definition DynamicMusicPlayerRegistry.c:11
void RegisterCategorySettings()
Definition DynamicMusicPlayerRegistry.c:31
void RegisterTracksMenu()
Definition DynamicMusicPlayerRegistry.c:96
void RegisterTracksTime()
Definition DynamicMusicPlayerRegistry.c:107
proto int ToLower()
Changes string to lowercase. Returns length.

Перекрестные ссылки m_WorldName, RegisterCategorySettings(), RegisterTracksLocationDynamic(), RegisterTracksLocationStatic(), RegisterTracksMenu(), RegisterTracksTime() и string::ToLower().

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

◆ RegisterCategorySettings()

void RegisterCategorySettings ( )
inlineprotected

32 {
35
41 }
void RegisterMenuSettings()
Definition DynamicMusicPlayerRegistry.c:53
void RegisterGlobalSettings()
Definition DynamicMusicPlayerRegistry.c:44
void RegisterLocationStaticSettings()
Definition DynamicMusicPlayerRegistry.c:71
void RegisterLocationDynamicSettings()
Definition DynamicMusicPlayerRegistry.c:83
ref map< EDynamicMusicPlayerCategory, ref DynamicMusicPlayerSettings > m_SettingsByCategory
Definition DynamicMusicPlayerRegistry.c:3
void RegisterTimeSettings()
Definition DynamicMusicPlayerRegistry.c:62
Definition EntityAI.c:95

Перекрестные ссылки m_SettingsByCategory, RegisterGlobalSettings(), RegisterLocationDynamicSettings(), RegisterLocationStaticSettings(), RegisterMenuSettings() и RegisterTimeSettings().

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

◆ RegisterGlobalSettings()

void RegisterGlobalSettings ( )
inlineprivate

45 {
47 settings.m_MinWaitTimeSeconds = 3.0;
48 settings.m_MaxWaitTimeSeconds = 5.0;
49
51 }
EDynamicMusicPlayerCategory
Definition EDynamicMusicPlayerCategory.c:2
Definition DynamicMusicPlayer.c:29

Перекрестные ссылки m_SettingsByCategory.

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

◆ RegisterLocationDynamicSettings()

void RegisterLocationDynamicSettings ( )
inlineprivate
84 {
86 settings.m_MinWaitTimeSeconds = 3.0;
87 settings.m_MaxWaitTimeSeconds = 5.0;
88
89 settings.m_PreviousTrackFadeoutSeconds = 20.0;
90
92 }

Перекрестные ссылки m_SettingsByCategory.

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

◆ RegisterLocationStaticSettings()

void RegisterLocationStaticSettings ( )
inlineprivate
72 {
74 settings.m_MinWaitTimeSeconds = 360.0; //360 = 6 min
75 settings.m_MaxWaitTimeSeconds = 600.0; //600 = 10 min
76
78
79 settings.m_PreviousTrackFadeoutSeconds = 15.0;
81 }

Перекрестные ссылки m_SettingsByCategory.

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

◆ RegisterMenuSettings()

void RegisterMenuSettings ( )
inlineprivate
54 {
56 settings.m_MinWaitTimeSeconds = 1.0;
57 settings.m_MaxWaitTimeSeconds = 3.0;
58
60 }

Перекрестные ссылки m_SettingsByCategory.

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

◆ RegisterTimeSettings()

void RegisterTimeSettings ( )
inlineprivate
63 {
65 settings.m_MinWaitTimeSeconds = 360.0; //360 = 6 min
66 settings.m_MaxWaitTimeSeconds = 600.0; //600 = 10 min
67
69 }

Перекрестные ссылки m_SettingsByCategory.

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

◆ RegisterTrackLocationDynamic()

void RegisterTrackLocationDynamic ( string soundSetName,
int locationType = DynamicMusicLocationTypes.NONE,
int timeOfDay = DynamicMusicPlayerTimeOfDay.ANY )
inlineprotected
210 {
212 track.m_Category = EDynamicMusicPlayerCategory.LOCATION_DYNAMIC;
213 track.m_SoundSet = soundSetName;
214 track.m_LocationType = locationType;
215 track.m_TimeOfDay = timeOfDay;
216
218 }
ref array< ref DynamicMusicTrackData > m_TracksLocationDynamic
Definition DynamicMusicPlayerRegistry.c:9

Перекрестные ссылки m_TracksLocationDynamic.

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

◆ RegisterTrackLocationStatic()

void RegisterTrackLocationStatic ( string soundSetName,
vector start,
vector end,
int timeOfDay = DynamicMusicPlayerTimeOfDay.ANY,
bool runImmediately = false )
inlineprotected
169 {
171 track.m_SoundSet = soundSetName;
172 track.m_TimeOfDay = timeOfDay;
173
174 track.InsertLocation(start, end);
175
176 if (!runImmediately)
177 {
178 track.m_Category = EDynamicMusicPlayerCategory.LOCATION_STATIC;
180 }
181 else
182 {
183 track.m_Category = EDynamicMusicPlayerCategory.LOCATION_STATIC_PRIORITY;
185 }
186 }
ref array< ref DynamicMusicTrackData > m_TracksLocationStatic
Definition DynamicMusicPlayerRegistry.c:7
ref array< ref DynamicMusicTrackData > m_TracksLocationStaticPrioritized
Definition DynamicMusicPlayerRegistry.c:8

Перекрестные ссылки m_TracksLocationStatic и m_TracksLocationStaticPrioritized.

◆ RegisterTrackLocationStaticMultiRectangle()

void RegisterTrackLocationStaticMultiRectangle ( string soundSetName,
ref array< ref TVectorArray > locationBoundaries,
int timeOfDay = DynamicMusicPlayerTimeOfDay.ANY,
bool runImmediately = false )
inlineprotected
189 {
191 track.m_SoundSet = soundSetName;
192 track.m_TimeOfDay = timeOfDay;
193
194 track.locationBoundaries = locationBoundaries;
195
196 if (!runImmediately)
197 {
198 track.m_Category = EDynamicMusicPlayerCategory.LOCATION_STATIC;
200 }
201 else
202 {
203 track.m_Category = EDynamicMusicPlayerCategory.LOCATION_STATIC_PRIORITY;
205 }
206
207 }
ref array< ref array< vector > > locationBoundaries
Definition DynamicMusicPlayer.c:45

Перекрестные ссылки locationBoundaries, m_TracksLocationStatic и m_TracksLocationStaticPrioritized.

Используется в DynamicMusicPlayerRegistryChernarus::RegisterTracksLocationStatic(), DynamicMusicPlayerRegistryEnoch::RegisterTracksLocationStatic() и DynamicMusicPlayerRegistrySakhal::RegisterTracksLocationStatic().

◆ RegisterTrackMenu()

void RegisterTrackMenu ( string soundSetName,
bool hasPriority = false,
int timeOfDay = DynamicMusicPlayerTimeOfDay.ANY )
inlineprotected

148 {
150 track.m_Category = EDynamicMusicPlayerCategory.MENU;
151 track.m_SoundSet = soundSetName;
152 track.m_TimeOfDay = timeOfDay;
153 track.m_HasPriority = hasPriority;
154
155 m_TracksMenu.Insert(track);
156 }
ref array< ref DynamicMusicTrackData > m_TracksMenu
Definition DynamicMusicPlayerRegistry.c:5

Перекрестные ссылки m_TracksMenu.

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

◆ RegisterTracksLocationDynamic()

void RegisterTracksLocationDynamic ( )
inlineprotected
139 {
141
144 }
Definition DynamicMusicPlayer.c:5
const int CONTAMINATED_ZONE
Definition DynamicMusicPlayer.c:7
void RegisterTrackLocationDynamic(string soundSetName, int locationType=DynamicMusicLocationTypes.NONE, int timeOfDay=DynamicMusicPlayerTimeOfDay.ANY)
Definition DynamicMusicPlayerRegistry.c:209
for backward compatibility
Definition DynamicMusicPlayer.c:901
static int NIGHT
Definition WorldData.c:408
static int DAY
Definition WorldData.c:409

Перекрестные ссылки DynamicMusicLocationTypes::CONTAMINATED_ZONE, WorldDataDaytime::DAY, m_TracksLocationDynamic, WorldDataDaytime::NIGHT и RegisterTrackLocationDynamic().

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

◆ RegisterTracksLocationStatic()

void RegisterTracksLocationStatic ( )
inlineprotected

◆ RegisterTracksMenu()

void RegisterTracksMenu ( )
inlineprotected
97 {
99
100 RegisterTrackMenu("Music_Menu_SoundSet", true);
101 RegisterTrackMenu("Music_Menu_2_SoundSet");
102 RegisterTrackMenu("Music_Menu_3_SoundSet");
103 RegisterTrackMenu("Music_Menu_4_SoundSet");
104 }
void RegisterTrackMenu(string soundSetName, bool hasPriority=false, int timeOfDay=DynamicMusicPlayerTimeOfDay.ANY)
Definition DynamicMusicPlayerRegistry.c:147

Перекрестные ссылки m_TracksMenu и RegisterTrackMenu().

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

◆ RegisterTracksTime()

void RegisterTracksTime ( )
inlineprotected
108 {
110
111 //DAY
112 RegisterTrackTime("Music_time_day_1_SoundSet", DynamicMusicPlayerTimeOfDay.DAY);
113 RegisterTrackTime("Music_time_day_2_SoundSet", DynamicMusicPlayerTimeOfDay.DAY);
114 RegisterTrackTime("Music_time_day_3_SoundSet", DynamicMusicPlayerTimeOfDay.DAY);
115 RegisterTrackTime("Music_time_day_4_SoundSet", DynamicMusicPlayerTimeOfDay.DAY);
116 RegisterTrackTime("Music_time_day_5_SoundSet", DynamicMusicPlayerTimeOfDay.DAY);
117 RegisterTrackTime("Music_time_day_6_SoundSet", DynamicMusicPlayerTimeOfDay.DAY);
118 RegisterTrackTime("Music_time_day_7_SoundSet", DynamicMusicPlayerTimeOfDay.DAY);
119 //NIGHT
120 RegisterTrackTime("Music_time_night_1_SoundSet", DynamicMusicPlayerTimeOfDay.NIGHT);
121 RegisterTrackTime("Music_time_night_2_SoundSet", DynamicMusicPlayerTimeOfDay.NIGHT);
122 //DAWN
123 RegisterTrackTime("Music_time_dawn_1_SoundSet", DynamicMusicPlayerTimeOfDay.DAWN);
124 RegisterTrackTime("Music_time_dawn_2_SoundSet", DynamicMusicPlayerTimeOfDay.DAWN);
125 //DUSK
126 RegisterTrackTime("Music_time_dusk_1_SoundSet", DynamicMusicPlayerTimeOfDay.DUSK);
127 RegisterTrackTime("Music_time_dusk_2_SoundSet", DynamicMusicPlayerTimeOfDay.DUSK);
128 //UNSORTED
129 //RegisterTrackTime("Music_time_based_new_6_SoundSet", DynamicMusicPlayerTimeOfDay.ANY);
130 }
ref array< ref DynamicMusicTrackData > m_TracksTime
Definition DynamicMusicPlayerRegistry.c:6
void RegisterTrackTime(string soundSetName, int timeOfDay=DynamicMusicPlayerTimeOfDay.ANY)
Definition DynamicMusicPlayerRegistry.c:158
static int DAWN
Definition WorldData.c:411
static int DUSK
Definition WorldData.c:410

Перекрестные ссылки WorldDataDaytime::DAWN, WorldDataDaytime::DAY, WorldDataDaytime::DUSK, m_TracksTime, WorldDataDaytime::NIGHT и RegisterTrackTime().

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

◆ RegisterTrackTime()

void RegisterTrackTime ( string soundSetName,
int timeOfDay = DynamicMusicPlayerTimeOfDay.ANY )
inlineprotected
159 {
161 track.m_Category = EDynamicMusicPlayerCategory.TIME;
162 track.m_SoundSet = soundSetName;
163 track.m_TimeOfDay = timeOfDay;
164
165 m_TracksTime.Insert(track);
166 }

Перекрестные ссылки m_TracksTime.

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

Поля

◆ m_SettingsByCategory

◆ m_TracksLocationDynamic

ref array<ref DynamicMusicTrackData> m_TracksLocationDynamic
private

◆ m_TracksLocationStatic

◆ m_TracksLocationStaticPrioritized

◆ m_TracksMenu

ref array<ref DynamicMusicTrackData> m_TracksMenu
private

Используется в RegisterTrackMenu() и RegisterTracksMenu().

◆ m_TracksTime

ref array<ref DynamicMusicTrackData> m_TracksTime
private

Используется в RegisterTracksTime() и RegisterTrackTime().

◆ m_WorldName


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