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

Private Member Functions

override RecoilBase SpawnRecoilObject ()
 
override void OnDebugSpawn ()
 

Detailed Description

Definition at line 1 of file M4A1.c.

Member Function Documentation

◆ OnDebugSpawn()

override void M4A1_Base::OnDebugSpawn ( )
inlineprivate

Definition at line 9 of file M4A1.c.

10 {
11 super.OnDebugSpawn();
12
13 GameInventory inventory = GetInventory();
14 inventory.CreateInInventory("M9A1_Bayonet");
15 inventory.CreateInInventory("M4_OEBttstck");
16 inventory.CreateInInventory("M4_RISHndgrd");
17 inventory.CreateInInventory("UniversalLight");
18 inventory.CreateInInventory("M4_T3NRDSOptic");
19 inventory.CreateInInventory("Battery9V");
20 inventory.CreateInInventory("Battery9V");
21 }
script counterpart to engine's class Inventory
Definition Inventory.c:79

◆ SpawnRecoilObject()

override RecoilBase M4A1_Base::SpawnRecoilObject ( )
inlineprivate

Definition at line 3 of file M4A1.c.

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

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