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

◆ OnExecuteClient()

override void ActionAttachWheels::OnExecuteClient ( ActionData action_data)
inlineprivate

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

93 {
94 EntityAI target_entity;
95 Class.CastTo(target_entity, action_data.m_Target.GetObject() ); // cast to ItemBase
96 int slot_index = action_data.m_MainItem.GetInventory().GetSlotId(0);
97 int test = m_wheel_hub;
98 if (!target_entity.LocalTakeEntityAsAttachmentEx( action_data.m_MainItem, slot_index ))
99 target_entity.LocalTakeEntityAsAttachment( action_data.m_MainItem );
100 }
class LogManager EntityAI
int m_wheel_hub
Определения ActionAttachWheels.c:4
override bool LocalTakeEntityAsAttachmentEx(notnull EntityAI item, int slot)
Определения Man.c:476
override bool LocalTakeEntityAsAttachment(notnull EntityAI item)
Определения Man.c:437

Перекрестные ссылки ActionData, Class::CastTo(), EntityAI::LocalTakeEntityAsAttachment(), EntityAI::LocalTakeEntityAsAttachmentEx() и m_wheel_hub.