MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / UpdateDropItem

Method UpdateDropItem

ogsr_engine/xrGame/Inventory.cpp:689–700  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

687}
688
689void CInventory::UpdateDropItem(PIItem pIItem)
690{
691 if (pIItem->GetDropManual())
692 {
693 pIItem->SetDropManual(FALSE);
694
695 NET_Packet P;
696 pIItem->object().u_EventGen(P, GE_OWNERSHIP_REJECT, pIItem->object().H_Parent()->ID());
697 P.w_u16(u16(pIItem->object().ID()));
698 pIItem->object().u_EventSend(P);
699 } // dropManual
700}
701
702//ищем на поясе гранату такоже типа
703PIItem CInventory::Same(const PIItem pIItem, bool bSearchRuck) const

Callers

nothing calls this directly

Calls 6

GetDropManualMethod · 0.80
SetDropManualMethod · 0.80
u_EventGenMethod · 0.45
objectMethod · 0.45
w_u16Method · 0.45
u_EventSendMethod · 0.45

Tested by

no test coverage detected