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

◆ ConstructData()

void ConstructData ( )
protected

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

203 {
205 if (!m_NameEmoteMap)
206 {
211 int inputID;
212 int count = m_NameEmoteMap.Count();
213 UAInput inp;
214
215 for (int i = 0; i < count; i++)
216 {
217 m_EmoteClassArray.Insert(m_NameEmoteMap.GetElement(i));
218 m_EmoteIDs.Insert(m_NameEmoteMap.GetElement(i).GetID());
219 inp = GetUApi().GetInputByName(m_NameEmoteMap.GetElement(i).GetInputActionName());
220 inputID = inp.ID();
221 m_EmoteInputIDs.Insert(inputID);
222 }
223
224 if (m_EmoteInputIDs.Count() != m_EmoteClassArray.Count())
225 {
226 ErrorEx("Faulty emote data detected in 'ConstructData' method!",ErrorExSeverity.WARNING);
227 }
228 }
229 }
ref array< int > m_EmoteInputIDs
Определения EmoteManager.c:157
ref array< int > m_EmoteIDs
Определения EmoteManager.c:156
ref map< int, ref EmoteBase > m_NameEmoteMap
Определения EmoteManager.c:154
ref array< ref EmoteBase > m_EmoteClassArray
Определения EmoteManager.c:155
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:34
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().