DayZ 1.29
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
ModLoader.c
См. документацию.
2{
3 protected static bool m_Loaded;
4 protected static ref array<ref ModStructure> m_Mods;
5
7 {
8 //if( !m_Loaded )
9 LoadMods();
10 return m_Mods;
11 }
12
13 static void LoadMods()
14 {
16
17 int mod_count = g_Game.ConfigGetChildrenCount( "CfgMods" );
18
19 for( int i = 2; i < mod_count; i++ )
20 {
21 string mod_name;
22 g_Game.ConfigGetChildName( "CfgMods", i, mod_name );
23 m_Mods.Insert( new ModStructure( i, "CfgMods " + mod_name ) );
24 }
25 }
26}
DayZGame g_Game
Определения DayZGame.c:3942
static ref array< ref ModStructure > m_Mods
Определения ModLoader.c:4
static void LoadMods()
Определения ModLoader.c:13
static array< ref ModStructure > GetMods()
Определения ModLoader.c:6
static bool m_Loaded
Определения ModLoader.c:3
Определения ModLoader.c:2
Определения ModStructure.c:2
Result for an object found in CGame.IsBoxCollidingGeometryProxy.