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

◆ OnFinishProgressServer()

override void OnFinishProgressServer ( ActionData action_data)

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

46 {
47 super.OnFinishProgressServer(action_data);
48
49 ItemBase targetItem = ItemBase.Cast(action_data.m_Target.GetObject());
50 if (targetItem)
51 {
52 PluginRepairing moduleRepairing;
53 Class.CastTo(moduleRepairing, GetPlugin(PluginRepairing));
54 moduleRepairing.Repair(action_data.m_Player, action_data.m_MainItem, targetItem, m_SpecialtyWeight);
55 }
56 }
float m_SpecialtyWeight
Определения ActionBase.c:77
PluginBase GetPlugin(typename plugin_type)
Определения PluginManager.c:326
PlayerBase m_Player
Определения ActionBase.c:40
ref ActionTarget m_Target
Определения ActionBase.c:39
ItemBase m_MainItem
Определения ActionBase.c:35
Super root of all classes in Enforce script.
Определения EnScript.c:11
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.

Перекрестные ссылки Class::CastTo(), GetPlugin(), ActionData::m_MainItem, ActionData::m_Player, m_SpecialtyWeight и ActionData::m_Target.