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

Private Member Functions

override RecoilBase SpawnRecoilObject ()
 
override void OnDebugSpawn ()
 

Detailed Description

Definition at line 1 of file M14.c.

Member Function Documentation

◆ OnDebugSpawn()

override void M14_Base::OnDebugSpawn ( )
inlineprivate

Definition at line 8 of file M14.c.

9 {
10 GameInventory inventory = GetInventory();
11
12 inventory.CreateInInventory("ReflexOptic");
13 inventory.CreateInInventory("ImprovisedSuppressor");
14 inventory.CreateInInventory("Battery9V");
15
16 SpawnAttachedMagazine("Mag_M14_20Rnd");
17 }
script counterpart to engine's class Inventory
Definition Inventory.c:79

◆ SpawnRecoilObject()

override RecoilBase M14_Base::SpawnRecoilObject ( )
inlineprivate

Definition at line 3 of file M14.c.

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

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