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

◆ ConstructData()

void ConstructData ( )
protected

См. определение в файле EmoteManager.c строка 195

196 {
198 if (!m_NameEmoteMap)
199 {
204 int inputID;
205 int count = m_NameEmoteMap.Count();
206 UAInput inp;
207
208 for (int i = 0; i < count; i++)
209 {
210 m_EmoteClassArray.Insert(m_NameEmoteMap.GetElement(i));
211 m_EmoteIDs.Insert(m_NameEmoteMap.GetElement(i).GetID());
212 inp = GetUApi().GetInputByName(m_NameEmoteMap.GetElement(i).GetInputActionName());
213 inputID = inp.ID();
214 m_EmoteInputIDs.Insert(inputID);
215 }
216
217 if (m_EmoteInputIDs.Count() != m_EmoteClassArray.Count())
218 {
219 ErrorEx("Faulty emote data detected in 'ConstructData' method!",ErrorExSeverity.WARNING);
220 }
221 }
222 }
ref array< int > m_EmoteInputIDs
Определения EmoteManager.c:148
ref array< int > m_EmoteIDs
Определения EmoteManager.c:147
ref map< int, ref EmoteBase > m_NameEmoteMap
Определения EmoteManager.c:145
ref array< ref EmoteBase > m_EmoteClassArray
Определения EmoteManager.c:146
DayZPlayer m_Player
Определения Hand_Events.c:42
proto native UAInputAPI GetUApi()
bool ConstructEmotes(PlayerBase player, out map< int, ref EmoteBase > emoteMap)
Определения EmoteConstructor.c:3
proto native UAInput GetInputByName(string sInputName)
proto native int ID()
Определения UAInput.c:24
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
ErrorExSeverity
Определения EnDebug.c:62
enum ShapeType ErrorEx

Перекрестные ссылки EmoteConstructor::ConstructEmotes(), ErrorEx, UAInputAPI::GetInputByName(), GetUApi(), UAInput::ID(), m_EmoteClassArray, m_EmoteIDs, m_EmoteInputIDs, m_NameEmoteMap и m_Player.

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