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

◆ ConstructData()

void ConstructData ( )
protected

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

216 {
218 if (!m_NameEmoteMap)
219 {
224 int inputID;
225 int count = m_NameEmoteMap.Count();
226 UAInput inp;
227
228 for (int i = 0; i < count; i++)
229 {
230 m_EmoteClassArray.Insert(m_NameEmoteMap.GetElement(i));
231 m_EmoteIDs.Insert(m_NameEmoteMap.GetElement(i).GetID());
232 inp = GetUApi().GetInputByName(m_NameEmoteMap.GetElement(i).GetInputActionName());
233 inputID = inp.ID();
234 m_EmoteInputIDs.Insert(inputID);
235 }
236
237 if (m_EmoteInputIDs.Count() != m_EmoteClassArray.Count())
238 {
239 ErrorEx("Faulty emote data detected in 'ConstructData' method!",ErrorExSeverity.WARNING);
240 }
241 }
242 }
map m_Player
ref array< int > m_EmoteInputIDs
Определения EmoteManager.c:165
ref array< int > m_EmoteIDs
Определения EmoteManager.c:164
ref map< int, ref EmoteBase > m_NameEmoteMap
Определения EmoteManager.c:162
ref array< ref EmoteBase > m_EmoteClassArray
Определения EmoteManager.c:163
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.

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