DayZ 1.28
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)
Определения 3_Game/Entities/Man.c:493
override bool LocalTakeEntityAsAttachment(notnull EntityAI item)
Определения 3_Game/Entities/Man.c:454

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