DayZ Scripts
v1.21.156300 ยท Jun 20, 2023
Loading...
Searching...
No Matches
CCINotRuinedAndEmpty.c
Go to the documentation of this file.
1
class
CCINotRuinedAndEmpty
:
CCIBase
2
{
3
override
bool
Can
(
PlayerBase
player,
ItemBase
item )
4
{
5
return
( item && !item.IsDamageDestroyed() && item.GetQuantity() > 0);
6
}
7
};
CCIBase
Definition
CCIBase.c:2
CCINotRuinedAndEmpty
Definition
CCINotRuinedAndEmpty.c:2
CCINotRuinedAndEmpty::Can
override bool Can(PlayerBase player, ItemBase item)
Definition
CCINotRuinedAndEmpty.c:3
ItemBase
Definition
InventoryItem.c:732
PlayerBase
Definition
PlayerBaseClient.c:2