Dayz Explorer
1.29.162510
Loading...
Searching...
No Matches
mp5_compensator.c
Go to the documentation of this file.
1
class
MP5_Compensator
extends
ItemSuppressor
2
{
3
override
bool
CanPutAsAttachment
(
EntityAI
parent )
4
{
5
if
(!super.CanPutAsAttachment(parent))
6
return
false
;
7
8
if
(parent.IsSlotReserved(InventorySlots.GetSlotIdFromString(
"pistolMuzzle"
)))
9
return
false
;
10
11
if
( !parent.FindAttachmentBySlotName(
"pistolMuzzle"
) )
12
{
13
return
true
;
14
}
15
return
false
;
16
}
17
}
EntityAI
class LogManager EntityAI
ItemSuppressor
Definition
mosin_compensator.c:2
CanPutAsAttachment
override bool CanPutAsAttachment(EntityAI parent)
Definition
itembase.c:9066
Daten
4_world
entities
itembase
inventory_base
mp5_compensator.c
Generated by
1.16.1