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

Private Member Functions

override bool CanPutAsAttachment (EntityAI parent)
override bool IsSightOnly ()
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 ()

Additional Inherited Members

Private Attributes inherited from ItemOptics
bool m_IsActionActive
PlayerBase m_Player

Detailed Description

Definition at line 1 of file buisoptic.c.

Member Function Documentation

◆ CanPutAsAttachment()

override bool CanPutAsAttachment ( EntityAI parent)
inlineprivate

Definition at line 8 of file buisoptic.c.

◆ IsSightOnly()

override bool IsSightOnly ( )
inlineprivate

Definition at line 3 of file buisoptic.c.


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