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

Private Member Functions

override RecoilBase SpawnRecoilObject ()
 
override void OnDebugSpawn ()
 

Detailed Description

Definition at line 1 of file VSS.c.

Member Function Documentation

◆ OnDebugSpawn()

override void VSS_Base::OnDebugSpawn ( )
inlineprivate

Definition at line 8 of file VSS.c.

9 {
11 if (Class.CastTo(entity, this))
12 {
13 entity.GetInventory().CreateInInventory("PSO1Optic");
14 SpawnAttachedMagazine("Mag_Vikhr_30Rnd");
15 }
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 VSS_Base::SpawnRecoilObject ( )
inlineprivate

Definition at line 3 of file VSS.c.

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

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