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

◆ Start()

override void ActionToggleNVG::Start ( ActionData action_data)
inlineprivate

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

38 {
39 super.Start(action_data);
40
41 CachedEquipmentStorageQuery query = new CachedEquipmentStorageQuery();
43 query.m_Placement = ECachedEquipmentPlacement.ATTACHMENT;
44 query.m_MaximumDepth = 2;
45
46 array<Entity> nvgs = action_data.m_Player.GetCachedEquipment().GetEntitiesByCategory(query);
47 foreach (Entity nvg : nvgs)
48 {
49 NVGoggles goggles;
50 if (NVGoggles.CastTo(goggles, nvg))
51 {
52 goggles.RotateGoggles(goggles.m_IsLowered);
53 break;
54 }
55 }
56 }
ECachedEquipmentItemCategory
Определения ECachedEquipmentItemCategory.c:2
ECachedEquipmentPlacement
Определения ECachedEquipmentPlacement.c:2
ECachedEquipmentItemCategory m_Category
Определения CachedEquipmentStorageBase.c:4
ECachedEquipmentPlacement m_Placement
Определения CachedEquipmentStorageBase.c:5

Перекрестные ссылки ActionData, CachedEquipmentStorageQuery::m_Category, CachedEquipmentStorageQuery::m_MaximumDepth и CachedEquipmentStorageQuery::m_Placement.