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

Private Member Functions

override RecoilBase SpawnRecoilObject ()
 
override void OnDebugSpawn ()
 

Detailed Description

Definition at line 1 of file CZ550.c.

Member Function Documentation

◆ OnDebugSpawn()

override void CZ550_Base::OnDebugSpawn ( )
inlineprivate

Definition at line 9 of file CZ550.c.

10 {
11 super.OnDebugSpawn();
12
14 if (Class.CastTo(entity, this))
15 GetInventory().CreateAttachment("HuntingOptic");
16 }
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 CZ550_Base::SpawnRecoilObject ( )
inlineprivate

Definition at line 3 of file CZ550.c.

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

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