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

Private Member Functions

override RecoilBase SpawnRecoilObject ()
 
override bool CanEnterIronsights ()
 
override void OnDebugSpawn ()
 

Detailed Description

Definition at line 1 of file Saiga.c.

Member Function Documentation

◆ CanEnterIronsights()

override bool Saiga_Base::CanEnterIronsights ( )
inlineprivate

Definition at line 34 of file Saiga.c.

35 {
36 ItemOptics optic = GetAttachedOptics();
37 if (optic && PSO1Optic.Cast(optic) || PSO11Optic.Cast(optic) || KashtanOptic.Cast(optic) || KazuarOptic.Cast(optic))
38 return true;
39 return super.CanEnterIronsights();
40 }

◆ OnDebugSpawn()

override void Saiga_Base::OnDebugSpawn ( )
inlineprivate

Definition at line 43 of file Saiga.c.

44 {
45 super.OnDebugSpawn();
46 GameInventory inventory = GetInventory();
47 inventory.CreateInInventory("Saiga_Bttstck");
48 inventory.CreateInInventory("KobraOptic");
49 inventory.CreateInInventory("Battery9V");
50 }
script counterpart to engine's class Inventory
Definition Inventory.c:79

◆ SpawnRecoilObject()

override RecoilBase Saiga_Base::SpawnRecoilObject ( )
inlineprivate

Definition at line 3 of file Saiga.c.

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

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