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

◆ InitMapState()

void InventoryItemSuper::InitMapState ( )
inlineprotected

См. определение в файле 4_World/DayZ/Entities/Core/Inherited/InventoryItem.c строка 1203

1204 {
1205 string path = "CfgWorlds " + g_Game.GetWorldName();
1206
1207 g_Game.ConfigGetText(path + " mapDisplayNameKey",m_DisplayName);
1208 g_Game.ConfigGetText(path + " mapDescriptionKey",m_Description);
1209 g_Game.ConfigGetText(path + " mapTextureClosed",m_TextureClosed);
1210 g_Game.ConfigGetText(path + " mapTextureOpened",m_TextureOpened);
1211 g_Game.ConfigGetText(path + " mapTextureLegend",m_TextureLegend);
1212
1213 SetObjectTexture(0,m_TextureClosed);
1214 SetObjectTexture(1,m_TextureOpened);
1215 SetObjectTexture(2,m_TextureLegend);
1216
1217 //m_MarkerArray = new array<vector,int,int,string>;
1218 m_MapMarkerArray = new array<ref MapMarker>;
1219 if (g_Game.IsMultiplayer() && g_Game.IsServer())
1220 {
1222 }
1223 }
DayZGame g_Game
Определения DayZGame.c:4074
string path
Определения OptionSelectorMultistate.c:142
ref array< ref MapMarker > m_MapMarkerArray

Перекрестные ссылки g_Game, m_Description, m_DisplayName, m_MapMarkerArray, m_TextureClosed, m_TextureLegend, m_TextureOpened, path и SyncMapMarkers().

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