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

◆ InitMapState()

void InventoryItemSuper::InitMapState ( )
inlineprotected

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

1048 {
1049 string path = "CfgWorlds " + GetGame().GetWorldName();
1050
1051 GetGame().ConfigGetText(path + " mapDisplayNameKey",m_DisplayName);
1052 GetGame().ConfigGetText(path + " mapDescriptionKey",m_Description);
1053 GetGame().ConfigGetText(path + " mapTextureClosed",m_TextureClosed);
1054 GetGame().ConfigGetText(path + " mapTextureOpened",m_TextureOpened);
1055 GetGame().ConfigGetText(path + " mapTextureLegend",m_TextureLegend);
1056
1057 SetObjectTexture(0,m_TextureClosed);
1058 SetObjectTexture(1,m_TextureOpened);
1059 SetObjectTexture(2,m_TextureLegend);
1060
1061 //m_MarkerArray = new array<vector,int,int,string>;
1062 m_MapMarkerArray = new array<ref MapMarker>;
1063 if (GetGame().IsMultiplayer() && GetGame().IsServer())
1064 {
1066 }
1067 }
string path
Определения OptionSelectorMultistate.c:142
proto void GetWorldName(out string world_name)
proto bool ConfigGetText(string path, out string value)
Get string value from config on path.
ref array< ref MapMarker > m_MapMarkerArray
proto native CGame GetGame()

Перекрестные ссылки CGame::ConfigGetText(), GetGame(), CGame::GetWorldName(), m_Description, m_DisplayName, m_MapMarkerArray, m_TextureClosed, m_TextureLegend, m_TextureOpened, path и SyncMapMarkers().

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