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

◆ OnWasAttached()

override void Mask_Base::OnWasAttached ( EntityAI parent,
int slot_id )
inlineprivate

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

52 {
53 super.OnWasAttached(parent, slot_id);
54
55 if (parent.IsPlayer())
56 {
57 PlayerBase.Cast(parent).CheckForGag(); //gag removal action does check, since 'OnWasDetached' is not called on item destruction.
58 }
59 }