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

◆ InitMapState()

void InventoryItemSuper::InitMapState ( )
inlineprotected

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

1059 {
1060 string path = "CfgWorlds " + g_Game.GetWorldName();
1061
1062 g_Game.ConfigGetText(path + " mapDisplayNameKey",m_DisplayName);
1063 g_Game.ConfigGetText(path + " mapDescriptionKey",m_Description);
1064 g_Game.ConfigGetText(path + " mapTextureClosed",m_TextureClosed);
1065 g_Game.ConfigGetText(path + " mapTextureOpened",m_TextureOpened);
1066 g_Game.ConfigGetText(path + " mapTextureLegend",m_TextureLegend);
1067
1068 SetObjectTexture(0,m_TextureClosed);
1069 SetObjectTexture(1,m_TextureOpened);
1070 SetObjectTexture(2,m_TextureLegend);
1071
1072 //m_MarkerArray = new array<vector,int,int,string>;
1073 m_MapMarkerArray = new array<ref MapMarker>;
1074 if (g_Game.IsMultiplayer() && g_Game.IsServer())
1075 {
1077 }
1078 }
DayZGame g_Game
Определения DayZGame.c:3942
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().