Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
KashtanOptic Class Reference
Inheritance diagram for KashtanOptic:
ItemOptics

Additional Inherited Members

Private Member Functions inherited from ItemOptics
bool AllowsDOF ()
 returns 'true' for non-magnifying optics
int GetCurrentNVType ()
int GetCurrentOpticMode ()
ItemOpticsType GetItemOpticsType ()
 Returns the ItemOpticsType of this ItemOptics instance.
float GetNearPlaneValue ()
ref array< floatGetOpticsDOF ()
float GetOpticsPPBlur ()
ref array< floatGetOpticsPPLens ()
ref array< floatGetOpticsPPMask ()
PlayerBase GetPlayer ()
void Init2DPreloadType ()
void InitCameraOverrideProperties ()
bool InitDOFAvailability ()
 optics with more than 1x zoom do not allow DOF changes
void InitOpticMode ()
bool InitOpticsDOFProperties (out array< float > temp_array)
 Initializes DOF properties for optic's alternate ironsights (ACOG etc.).
void InitOpticsPP (out array< float > mask_array, out array< float > lens_array, out float blur_float)
 initializes values for optics' post-processes
void InitOpticsPPInfo ()
void InitReddotData ()
bool IsNVOptic ()
bool IsSightOnly ()
bool IsUsableWithNV ()
bool IsUsingOptics2DModel ()
 Returns whether this ItemOptics uses the 2D optics model.
bool IsWorking ()
override void OnDebugSpawn ()
void OnDrawOptics2D ()
override void OnInventoryExit (Man player)
void OnOpticEnter ()
void OnOpticExit ()
void OnOpticModeChange ()
 optic-specific behaviour to be defined here (override)
override bool OnStoreLoad (ParamsReadContext ctx, int version)
override void OnStoreSave (ParamsWriteContext ctx)
override void OnVariablesSynchronized ()
override void OnWasAttached (EntityAI parent, int slot_id)
override void OnWasDetached (EntityAI parent, int slot_id)
override void OnWorkStart ()
override void OnWorkStop ()
override void SetActions ()
void SetCurrentOpticMode (int mode)
void SetPlayer (PlayerBase player)
void ShowReddot (bool state)
void StartWorkServer ()
void StopWorkServer ()
void UpdateOpticsReddotVisibility ()
void UpdateSelectionVisibility ()
Private Attributes inherited from ItemOptics
bool m_IsActionActive
PlayerBase m_Player

Detailed Description

Definition at line 8 of file optics.c.


The documentation for this class was generated from the following file:
  • F:/Games/Dayz/scripts/4_world/entities/itembase/inventory_base/optics.c