![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Private Member Functions | |
| override int | GetCurrentNVType () |
| override void | InitOpticMode () |
| override void | OnOpticEnter () |
| override void | OnOpticModeChange () |
| override void | SetActions () |
| override void | UpdateSelectionVisibility () |
| 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< float > | GetOpticsDOF () |
| float | GetOpticsPPBlur () |
| ref array< float > | GetOpticsPPLens () |
| ref array< float > | GetOpticsPPMask () |
| 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 |
|
inlineprivate |
Definition at line 132 of file optics.c.
References Error(), ItemOptics::IsWorking(), ItemOptics::m_CurrentOpticMode, GameConstants::OPTICS_STATE_DAY, and GameConstants::OPTICS_STATE_NIGHTVISION.
|
inlineprivate |
Definition at line 125 of file optics.c.
References GameConstants::OPTICS_STATE_NIGHTVISION, and ItemOptics::SetCurrentOpticMode().
|
inlineprivate |
Definition at line 160 of file optics.c.
References ItemOptics::HideSelection().
|
inlineprivate |
Definition at line 153 of file optics.c.
References UpdateSelectionVisibility().
|
inlineprivate |
Definition at line 188 of file optics.c.
References AddAction().
|
inlineprivate |
Definition at line 167 of file optics.c.
References g_Game, ItemOptics::GetCurrentOpticMode(), ItemOptics::HideSelection(), ItemOptics::IsInOptics(), GameConstants::OPTICS_STATE_DAY, GameConstants::OPTICS_STATE_NIGHTVISION, and ItemOptics::ShowSelection().
Referenced by OnOpticModeChange().