91 {
92 int count =
g_Game.ConfigGetChildrenCount(
path);
93 for ( int i = 0; i < count; i++ )
94 {
95 string itemName;
97
98 string typesPath =
path +
" " + itemName +
" types";
99 string texturePath =
path +
" " + itemName +
" texture";
100
101 if (
GetGame().ConfigIsExisting(typesPath) &&
GetGame().ConfigIsExisting(texturePath))
102 {
104 string texture;
107
108 foreach (string s: types)
109 {
111 }
112 }
113 else
114 {
115 ErrorEx(
"Billboard set incorrect configuration, type or texture param missing: " +
path);
116 }
117
118 }
119 }
class BillboardSetHandler m_TypeTextureMapping
proto bool ConfigGetChildName(string path, int index, out string name)
Get name of subclass in config class on path.
proto native void ConfigGetTextArray(string path, out TStringArray values)
Get array of strings from config on path.
proto bool ConfigGetText(string path, out string value)
Get string value from config on path.
proto native CGame GetGame()
array< string > TStringArray