|
| void | ItemOptics () |
| |
| proto native bool | EnterOptics () |
| | switches to optics mode if possible
|
| |
| proto native bool | IsInOptics () |
| | is weapon in optics mode or not
|
| |
| proto native bool | ExitOptics () |
| | switches out of optics mode (if possible)
|
| |
| proto native bool | HasWeaponIronsightsOverride () |
| | is weapon in optics mode or not
|
| |
| proto native bool | UseWeaponIronsightsOverride (bool state) |
| | switches into ironsights override settings
|
| |
| proto native bool | IsUsingWeaponIronsightsOverride () |
| | is optics using ironsights override settings or not
|
| |
| proto native int | GetStepFOVCount () |
| | returns number of configured steps
|
| |
| proto native int | GetStepFOVIndex () |
| | returns index of currently used value in 'discretefov' config array
|
| |
| proto native bool | SetStepFOVIndex (int step) |
| | sets zoom to fov value defined at given in 'discretefov' config array
|
| |
| proto native bool | StepFOVUp () |
| | sets zoom to next defined (respective to current) value in zoom fov config array
|
| |
| proto native bool | StepFOVDown () |
| | sets zoom to previous (respective to current) defined value in zoom fov config array
|
| |
| proto native float | GetCurrentStepFOV () |
| | returns fov value at current index, or 'OpticsInfo.opticsZoomInit' config value (non-zooming optics)
|
| |
| proto native int | GetStepZeroing () |
| | returns position of currently used value in zeroing config array
|
| |
| proto native bool | SetStepZeroing (int step) |
| |
| proto native bool | StepZeroingUp () |
| | sets zeroing to next defined (respective to current) value in zeroing config array
|
| |
| proto native bool | StepZeroingDown () |
| | sets zeroing to previous (respective to current) defined value in zeroing config array
|
| |
| proto native void | GetCameraPoint (out vector pos, out vector dir) |
| | gets camera position & direction in model space of optics entity
|
| |
| proto native float | GetZoomInit () |
| | gets FOV value, when entering optics
|
| |
| proto native float | GetZoomMin () |
| | gets FOV minimum
|
| |
| proto native float | GetZoomMax () |
| | gets FOV maximum
|
| |
| proto native float | GetZeroingDistanceZoomMin () |
| | Gets Zeroing distance at opticsZoomMin.
|
| |
| proto native float | GetZeroingDistanceZoomMax () |
| | Gets Zeroing distance at opticsZoomMax.
|
| |
| proto native void | SetZeroingClampDist (float dist) |
| | Sets zeroing clamp for the optics and updates the clamp if dist > 0. Used when attached to weapon.
|
| |
| override bool | CanPutAsAttachment (EntityAI parent) |
| |
| override bool | IsSightOnly () |
| |
| void | HuntingOptic () |
| |
| override void | OnWasAttached (EntityAI parent, int slot_id) |
| |
| override void | OnWasDetached (EntityAI parent, int slot_id) |
| |
| override void | HideSelection (string selection_name) |
| |
| override void | ShowSelection (string selection_name) |
| |
| bool | ParentUsesWinchesterTypeMount () |
| |
| override bool | CanPutAsAttachment (EntityAI parent) |
| |
| proto native float | GetRadius () |
| | Returns current wheel radius.
|
| |
| proto native float | GetWidth () |
| | Returns wheel width.
|
| |
| override bool | DisplayNameRuinAttach () |
| |
| override bool | ShowZonesHealth () |
| |
| string | GetRuinedReplacement () |
| |
| override void | EEHealthLevelChanged (int oldLevel, int newLevel, string zone) |
| |
| override int | GetMeleeTargetType () |
| |
| override void | SetActions () |
| |
| override void | OnWasAttached (EntityAI parent, int slot_id) |
| |
| override void | OnWasDetached (EntityAI parent, int slot_id) |
| |
| void | ItemMap () |
| |
| void | InitMapState () |
| |
| override void | OnItemLocationChanged (EntityAI old_owner, EntityAI new_owner) |
| |
| void | SetMapStateOpen (bool state, PlayerBase player) |
| | displays open/closed selections; 1 == opened
|
| |
| bool | GetMapStateAnimation () |
| |
| void | SyncMapMarkers () |
| |
| override void | OnRPC (PlayerIdentity sender, int rpc_type, ParamsReadContext ctx) |
| |
| override bool | OnStoreLoad (ParamsReadContext ctx, int version) |
| |
| override void | OnStoreSave (ParamsWriteContext ctx) |
| |
| override bool | NameOverride (out string output) |
| |
| override bool | DescriptionOverride (out string output) |
| |
| void | InsertMarker (vector pos, string text, int color, int idx) |
| |
| array< ref MapMarker > | GetMarkerArray () |
| |
См. определение в файле ItemOptics.c строка 1