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

◆ EEItemDetached()

override void ManBase::EEItemDetached ( EntityAI item,
string slot_name )
inlineprotected

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

1375 {
1376 super.EEItemDetached(item, slot_name);
1377 ItemBase item_base = ItemBase.Cast(item);
1378 SwitchItemSelectionTexture(item, slot_name);
1379 item.SwitchItemSelectionTextureEx(EItemManipulationContext.DETACHING);
1380 m_QuickBarBase.updateSlotsCount();
1382
1383 HideHairSelections(item_base,false);
1384
1385 Clothing clothing = Clothing.Cast(item);
1386
1387 if (clothing)
1388 {
1389 if (!GetGame().IsDedicatedServer())
1390 {
1391 if (clothing.GetEffectWidgetTypes())
1392 {
1393 QueueRemoveEffectWidget(clothing.GetEffectWidgetTypes());
1394 }
1395
1396 if (clothing.GetGlassesEffectID() > -1)
1397 {
1398 QueueRemoveGlassesEffect(clothing.GetGlassesEffectID());
1399 }
1400 }
1401
1402 if (GetGame().IsServer())
1403 {
1404 if (clothing.IsGasMask())
1405 {
1406 GetModifiersManager().DeactivateModifier(eModifiers.MDF_MASK);
1407 }
1408 }
1409
1410 clothing.UpdateNVGStatus(this);
1411 GetGame().GetCallQueue(CALL_CATEGORY_GUI).CallLater(UpdateCorpseStateVisual, 200, false);//sometimes it takes a while to load in
1412 UpdateCorpseStateVisual();//....but if possible, we don't want a delay
1413 }
1414 }
class GP5GasMask extends MaskBase ItemBase
override ScriptCallQueue GetCallQueue(int call_category)
Определения DayZGame.c:1187
void QueueRemoveEffectWidget(array< int > effects)
Определения PlayerBase.c:971
override void SwitchItemSelectionTexture(EntityAI item, string slot_name)
Определения PlayerBase.c:1434
ModifiersManager GetModifiersManager()
Определения PlayerBase.c:7595
void QueueRemoveGlassesEffect(int id)
Определения PlayerBase.c:981
void UpdateCorpseStateVisual()
Определения PlayerBase.c:8883
void CalculateVisibilityForAI()
Определения PlayerBase.c:4984
void HideHairSelections(ItemBase item, bool state)
Определения PlayerBase.c:8613
QuickBarBase m_QuickBarBase
Определения PlayerBase.c:86
proto void CallLater(func fn, int delay=0, bool repeat=false, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
adds call into the queue with given parameters and arguments (arguments are held in memory until the ...
eModifiers
Определения eModifiers.c:2
proto native CGame GetGame()
const int CALL_CATEGORY_GUI
Определения tools.c:9

Перекрестные ссылки CalculateVisibilityForAI(), CALL_CATEGORY_GUI, ScriptCallQueue::CallLater(), CGame::GetCallQueue(), GetGame(), GetModifiersManager(), HideHairSelections(), m_QuickBarBase, QueueRemoveEffectWidget(), QueueRemoveGlassesEffect(), SwitchItemSelectionTexture() и UpdateCorpseStateVisual().