См. определение в файле PluginRecipesManager.c строка 173
174 {
175 g_Game.ProfilerStart(
"m_RecipeCache");
176
177
180
182
186
187 string config_path;
188 string child_name;
189 int scope;
192 for (int i = 0; i < all_config_paths.Count(); i++)
193 {
194 config_path = all_config_paths.Get(i);
195 int children_count =
g_Game.ConfigGetChildrenCount(config_path);
196
197 for (
int x = 0;
x < children_count;
x++)
198 {
199 g_Game.ConfigGetChildName(config_path,
x, child_name);
200 scope =
g_Game.ConfigGetInt( config_path +
" " + child_name +
" scope" );
201
202 if ( scope == 2 )
203 {
204 g_Game.ConfigGetFullPath(config_path +
" "+ child_name, full_path);
206 }
207 }
208 }
209 g_Game.ProfilerStop(
"m_RecipeCache");
210 }
void PluginRecipesManager()
ref array< string > m_CachedItems
void MatchItems(TStringArray full_path)
array< string > TStringArray
Перекрестные ссылки CFG_MAGAZINESPATH, CFG_VEHICLESPATH, CFG_WEAPONSPATH, g_Game, m_CachedItems, MatchItems(), PluginRecipesManager(), WalkRecipes() и x.
Используется в CallbackGenerateCache() и PluginRecipesManager().