DayZ 1.24
Loading...
Searching...
No Matches
Izh43Shotgun_Base Class Reference
Inheritance diagram for Izh43Shotgun_Base:
[legend]
Collaboration diagram for Izh43Shotgun_Base:
[legend]

Private Member Functions

override RecoilBase SpawnRecoilObject ()
 
override void OnDebugSpawn ()
 

Detailed Description

Definition at line 1 of file IZH43.c.

Member Function Documentation

◆ OnDebugSpawn()

override void Izh43Shotgun_Base::OnDebugSpawn ( )
inlineprivate

Definition at line 9 of file IZH43.c.

10 {
11 super.OnDebugSpawn();
12
14 if (Class.CastTo(entity, this))
15 {
16 entity.SpawnEntityOnGroundPos("Ammo_12gaPellets", entity.GetPosition());
17 entity.SpawnEntityOnGroundPos("Ammo_12gaSlug", entity.GetPosition());
18 entity.SpawnEntityOnGroundPos("Ammo_12gaRubberSlug", entity.GetPosition());
19 }
20 }
Super root of all classes in Enforce script.
Definition EnScript.c:11
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.

References Class::CastTo().

◆ SpawnRecoilObject()

override RecoilBase Izh43Shotgun_Base::SpawnRecoilObject ( )
inlineprivate

Definition at line 3 of file IZH43.c.

4 {
5 return new Izh43Recoil(this);
6 }

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