DayZ 1.24
Loading...
Searching...
No Matches
ItemSuppressor Class Reference

Private Member Functions

override bool CanPutAsAttachment (EntityAI parent)
 
override bool CanPutAsAttachment (EntityAI parent)
 
override bool CanPutAsAttachment (EntityAI parent)
 
override bool CanPutAsAttachment (EntityAI parent)
 
override bool CanPutAsAttachment (EntityAI parent)
 

Detailed Description

Definition at line 1 of file Mosin_Compensator.c.

Member Function Documentation

◆ CanPutAsAttachment() [1/5]

override bool ItemSuppressor::CanPutAsAttachment ( EntityAI parent)
inlineprivate

Definition at line 3 of file Mosin_Compensator.c.

4 {
5 if (!super.CanPutAsAttachment(parent)) return false;
6 if (parent.FindAttachmentBySlotName("suppressorImpro") == NULL && parent.FindAttachmentBySlotName("pistolMuzzle") == NULL)
7 return true;
8 return false;
9 }

◆ CanPutAsAttachment() [2/5]

override bool ItemSuppressor::CanPutAsAttachment ( EntityAI parent)
inlineprivate

Definition at line 3 of file MP5_Compensator.c.

4 {
5 if (!super.CanPutAsAttachment(parent)) return false;
6 if (!parent.FindAttachmentBySlotName("pistolMuzzle"))
7 return true;
8 return false;
9 }

◆ CanPutAsAttachment() [3/5]

override bool ItemSuppressor::CanPutAsAttachment ( EntityAI parent)
inlineprivate

Definition at line 3 of file AK_Suppressor.c.

4 {
5 if (!super.CanPutAsAttachment(parent)) return false;
6 if (parent.FindAttachmentBySlotName("suppressorImpro") == NULL && parent.FindAttachmentBySlotName("weaponBayonetAK") == NULL)
7 return true;
8 return false;
9 }

◆ CanPutAsAttachment() [4/5]

override bool ItemSuppressor::CanPutAsAttachment ( EntityAI parent)
inlineprivate

Definition at line 3 of file MakarovPBSuppressor.c.

4 {
5 if (!super.CanPutAsAttachment(parent)) return false;
6 if (parent.FindAttachmentBySlotName("suppressorImpro") == NULL && parent.FindAttachmentBySlotName("weaponMuzzleMP5") == NULL)
7 return true;
8 return false;
9 }

◆ CanPutAsAttachment() [5/5]

override bool ItemSuppressor::CanPutAsAttachment ( EntityAI parent)
inlineprivate

Definition at line 3 of file PistolSuppressor.c.

4 {
5 if (!super.CanPutAsAttachment(parent)) return false;
6 if (parent.FindAttachmentBySlotName("suppressorImpro") == NULL && parent.FindAttachmentBySlotName("weaponMuzzleMP5") == NULL)
7 return true;
8 return false;
9 }

The documentation for this class was generated from the following files: