![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Protected Member Functions | |
| override bool | DescriptionOverride (out string output) |
| override bool | DisplayNameRuinAttach () |
| override void | EEHealthLevelChanged (int oldLevel, int newLevel, string zone) |
| bool | GetMapStateAnimation () |
| array< ref MapMarker > | GetMarkerArray () |
| override int | GetMeleeTargetType () |
| proto native float | GetRadius () |
| Returns current wheel radius. | |
| string | GetRuinedReplacement () |
| proto native float | GetWidth () |
| Returns wheel width. | |
| void | InitMapState () |
| void | InsertMarker (vector pos, string text, int color, int idx) |
| void | ItemMap () |
| override bool | NameOverride (out string output) |
| override void | OnItemLocationChanged (EntityAI old_owner, EntityAI new_owner) |
| override void | OnRPC (PlayerIdentity sender, int rpc_type, ParamsReadContext ctx) |
| override bool | OnStoreLoad (ParamsReadContext ctx, int version) |
| override void | OnStoreSave (ParamsWriteContext ctx) |
| override void | OnWasAttached (EntityAI parent, int slot_id) |
| override void | OnWasDetached (EntityAI parent, int slot_id) |
| override void | SetActions () |
| void | SetMapStateOpen (bool state, PlayerBase player) |
| displays open/closed selections; 1 == opened | |
| override bool | ShowZonesHealth () |
| void | SyncMapMarkers () |
Protected Attributes | |
| string | m_AttachSound = "Offroad_Wheel_Attach_SoundSet" |
| string | m_Description |
| string | m_DetachSound = "Offroad_Wheel_Remove_SoundSet" |
| string | m_DisplayName |
| ref array< ref MapMarker > | m_MapMarkerArray |
| string | m_TextureClosed |
| string | m_TextureLegend |
| string | m_TextureOpened |
Private Member Functions | |
| proto native bool | AttachMagazine (int muzzleIndex, Magazine mag) |
| proto native bool | CanAttachMagazine (int muzzleIndex, Magazine mag) |
| override bool | CanBeIgnitedBy (EntityAI igniter=NULL) |
| proto native bool | CanChamberFromMag (int muzzleIndex, Magazine mag) |
| override bool | CanDetachAttachment (EntityAI parent) |
| proto native bool | CanFire (int muzzleIndex) |
| override bool | CanIgniteItem (EntityAI ignite_target=NULL) |
| proto native bool | CanSpeak () |
| proto native bool | CreateRound (int muzzleIndex) |
| override bool | DisplayNameRuinAttach () |
| override bool | DisplayNameRuinAttach () |
| proto native bool | DryDryFire (int muzzleIndex) |
| proto native bool | DryFire (int muzzleIndex) |
| override void | EEHealthLevelChanged (int oldLevel, int newLevel, string zone) |
| override void | EEKilled (Object killer) |
| proto native void | EffectBulletHide (int muzzleIndex) |
| proto native void | EffectBulletShow (int muzzleIndex, float dmg, string type) |
| proto native bool | EjectCasing (int muzzleIndex) |
| proto native void | EnableBroadcast (bool state) |
| proto native void | EnableReceive (bool state) |
| proto native bool | EnterOptics () |
| switches to optics mode if possible | |
| proto native bool | ExitOptics () |
| switches out of optics mode (if possible) | |
| proto native bool | Fire (int muzzleIndex, vector pos, vector dir, vector speed) |
| proto native bool | FlashlightOff () |
| attempt to turn off flashlight | |
| proto native bool | FlashlightOn () |
| attempt to turn on flashlight | |
| proto native UnderSlugLauncher | GetAttachedLauncher () |
| proto native ItemOptics | GetAttachedOptics () |
| proto native ItemSuppressor | GetAttachedSuppressor () |
| proto native void | GetCameraPoint (int muzzleIndex, out vector pos, out vector dir) |
| proto bool | GetCartridgeInfo (int muzzleIndex, out float ammoDamage, out string ammoTypeName) |
| proto native owned string | GetChamberAmmoTypeName (int muzzleIndex) |
| proto native owned string | GetChamberedCartridgeMagazineTypeName (int muzzleIndex) |
| proto native int | GetCurrentMode (int muzzleIndex) |
| proto native bool | GetCurrentModeAutoFire (int muzzleIndex) |
| proto native int | GetCurrentModeBurstSize (int muzzleIndex) |
| proto native owned string | GetCurrentModeName (int muzzleIndex) |
| proto native int | GetCurrentMuzzle () |
| proto native float | GetCurrentZeroing (int muzzleIndex=0) |
| proto native int | GetInternalMagazineCartridgeCount (int muzzleIndex) |
| proto bool | GetInternalMagazineCartridgeInfo (int muzzleIndex, int cartridgeIndex, out float ammoDamage, out string ammoTypeName) |
| proto native int | GetInternalMagazineMaxCartridgeCount (int muzzleIndex) |
| proto native Magazine | GetMagazine (int muzzleIndex) |
| proto native int | GetMagazineTypeCount (int muzzleIndex) |
| proto native owned string | GetMaxMagazineTypeName (int muzzleIndex) |
| override int | GetMeleeTargetType () |
| proto native int | GetMuzzleCount () |
| proto native int | GetMuzzleModeCount (int muzzleIndex) |
| proto native owned string | GetRandomChamberableAmmoTypeName (int muzzleIndex) |
| proto native owned string | GetRandomMagazineTypeName (int muzzleIndex) |
| proto native float | GetReloadTime (int muzzleIndex) |
| proto native int | GetSlotFromMuzzleIndex (int muzzleIndex) |
| proto native int | GetStepZeroing (int muzzleIndex=0) |
| proto native int | GetStepZoom () |
| returns position of currently used value in zoom config array | |
| proto native int | GetTotalCartridgeCount (int muzzleIndex) |
| proto native int | GetTotalMaxCartridgeCount (int muzzleIndex) |
| proto native float | GetTunedFrequency () |
| proto native int | GetTunedFrequencyIndex () |
| proto native float | GetZeroingClamp (int muzzleIndex=0) |
| proto native float | GetZeroingDistanceZoomMax (int muzzleIndex) |
| proto native float | GetZeroingDistanceZoomMin (int muzzleIndex) |
| proto native float | GetZoom () |
| returns current percentage of zoom | |
| proto native float | GetZoomInit (int muzzleIndex) |
| proto native float | GetZoomMax (int muzzleIndex) |
| proto native float | GetZoomMin (int muzzleIndex) |
| override bool | HasFlammableMaterial () |
| proto native bool | HasInternalMagazine (int muzzleIndex) |
| proto native bool | IsActivated () |
| proto native bool | IsBroadcasting () |
| proto native bool | IsChamberEjectable (int muzzleIndex) |
| proto native bool | IsChamberEmpty (int muzzleIndex) |
| proto native bool | IsChamberFiredOut (int muzzleIndex) |
| proto native bool | IsChamberFull (int muzzleIndex) |
| bool | IsChamberFullEx (int muzzleIndex) |
| proto native bool | IsChamberJammed (int muzzleIndex) |
| proto native bool | IsFlashlightOn () |
| query state of flashlight | |
| proto native bool | IsInOptics () |
| is weapon in optics mode or not | |
| bool | IsInternalMagazineFull (int muzzleIndex) |
| proto native bool | IsPinned () |
| proto native bool | IsReceiving () |
| override bool | IsThisIgnitionSuccessful (EntityAI item_source=NULL) |
| bool | IsTurnedOn () |
| override bool | IsWeapon () |
| override void | OnIgnitedTarget (EntityAI target_item) |
| override void | OnIgnitedThis (EntityAI fire_source) |
| override void | OnInventoryEnter (Man player) |
| override void | OnInventoryEnter (Man player) |
| override void | OnInventoryExit (Man player) |
| override void | OnInventoryExit (Man player) |
| override event bool | OnUseFromInventory (Man owner) |
| override void | OnWasAttached (EntityAI parent, int slot_id) |
| override void | OnWasAttached (EntityAI parent, int slot_id) |
| override void | OnWasDetached (EntityAI parent, int slot_id) |
| override void | OnWasDetached (EntityAI parent, int slot_id) |
| proto bool | PopCartridgeFromChamber (int muzzleIndex, out float ammoDamage, out string ammoTypeName) |
| proto bool | PopCartridgeFromInternalMagazine (int muzzleIndex, out float ammoDamage, out string ammoTypeName) |
| proto native bool | PushCartridgeToChamber (int muzzleIndex, float ammoDamage, string ammoTypeName) |
| proto native bool | PushCartridgeToInternalMagazine (int muzzleIndex, float ammoDamage, string ammoTypeName) |
| proto native void | SelectionBulletHide () |
| proto native void | SelectionBulletShow () |
| proto native void | SelectionMagazineHide () |
| proto native void | SelectionMagazineShow () |
| override void | SetActions () |
| override void | SetActions () |
| override void | SetActions () |
| proto native void | SetCanSpeak (bool onOff) |
| proto native void | SetCurrentMode (int muzzleIndex, int mode) |
| proto native void | SetCurrentMuzzle (int muzzleIndex) |
| proto native void | SetFrequencyByIndex (int index) |
| proto native void | SetGroundAnimFrameIndex (int groundAnimFrameIndex) |
| proto native bool | SetIgnited () |
| sets grenade to state GR_TRIGGERED (if the state transition is possible) | |
| proto native void | SetMuzzleMode (int muzzleIndex, int modeIndex) |
| proto native void | SetNextChannel () |
| proto native void | SetNextMuzzleMode (int muzzleIndex) |
| proto native bool | SetPinned () |
| sets grenade to state GR_PINNED (if the state transition is possible) | |
| proto native void | SetPrevChannel () |
| proto native bool | SetStepZeroing (int muzzleIndex, int step) |
| proto native bool | SetStepZoom (int step) |
| proto native bool | SetUnpinned () |
| sets grenade to state GR_UNPINNED (if the state transition is possible) | |
| proto native bool | SetZoom (float percent) |
| override bool | ShowZonesHealth () |
| override bool | ShowZonesHealth () |
| proto native bool | StepZeroingDown (int muzzleIndex=0) |
| void | StepZeroingDownAllMuzzles () |
| proto native bool | StepZeroingUp (int muzzleIndex=0) |
| void | StepZeroingUpAllMuzzles () |
| proto native bool | StepZoomIn () |
| sets zoom to next defined (respective to current) value in zoom fov config array | |
| proto native bool | StepZoomOut () |
| sets zoom to previous (respective to current) defined value in zoom fov config array | |
| proto native void | Synchronize () |
| Force synchronizes the weapon state from Server to Client. | |
| proto native bool | TestAttachMagazine (int muzzleIndex, Magazine mag, bool do_occupancy_test, bool do_script_check) |
| proto native bool | ZoomIn () |
| moves current zoom by 1% up | |
| proto native bool | ZoomOut () |
| moves current zoom by 1% down | |
Definition at line 2 of file inventoryitem.c.
Definition at line 16 of file itembook.c.
Definition at line 448 of file inventoryitem.c.
References CarScript::GetCarDoorsState(), InventoryLocation::GetSlot(), InventorySlots::GetSlotName(), and slotName.
Definition at line 23 of file itembook.c.
|
private |
Definition at line 1179 of file inventoryitem.c.
References m_Description.
|
inlineprivate |
Definition at line 700 of file inventoryitem.c.
|
inlineprivate |
Definition at line 486 of file inventoryitem.c.
|
inlineprotected |
Definition at line 204 of file inventoryitem.c.
Definition at line 470 of file inventoryitem.c.
References m_Initialized, and GameConstants::STATE_RUINED.
Definition at line 250 of file inventoryitem.c.
References GetChildren(), GetRuinedReplacement(), GetSibling(), RemoveChild(), ReplaceWheelLambda(), GameConstants::STATE_RUINED, and UnlockFromParent().
|
inlineprivate |
Definition at line 710 of file inventoryitem.c.
References Class::CastTo(), g_Game, and Math::RandomFloat().
|
private |
|
private |
|
private |
|
private |
switches to optics mode if possible
|
private |
switches out of optics mode (if possible)
|
private |
attempt to turn off flashlight
|
private |
attempt to turn on flashlight
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by IsInternalMagazineFull().
|
private |
Referenced by IsInternalMagazineFull().
|
private |
|
inlineprotected |
Definition at line 1109 of file inventoryitem.c.
Definition at line 1192 of file inventoryitem.c.
References m_MapMarkerArray.
|
inlineprivate |
Definition at line 465 of file inventoryitem.c.
|
inlineprotected |
Definition at line 281 of file inventoryitem.c.
|
private |
Referenced by StepZeroingDownAllMuzzles(), and StepZeroingUpAllMuzzles().
|
protected |
Returns current wheel radius.
|
inlineprotected |
Definition at line 214 of file inventoryitem.c.
References GetType().
Referenced by EEHealthLevelChanged().
|
private |
returns position of currently used value in zoom config array
|
private |
|
private |
|
protected |
Returns wheel width.
|
private |
returns current percentage of zoom
|
inlineprivate |
Definition at line 11 of file itembook.c.
|
inlineprotected |
Definition at line 1058 of file inventoryitem.c.
References g_Game, m_Description, m_DisplayName, m_MapMarkerArray, m_TextureClosed, m_TextureLegend, m_TextureOpened, path, and SyncMapMarkers().
Referenced by ItemMap().
Definition at line 1186 of file inventoryitem.c.
References m_MapMarkerArray.
|
private |
|
private |
Definition at line 97 of file weapon.c.
References IsChamberFull().
|
private |
query state of flashlight
|
private |
is weapon in optics mode or not
Definition at line 122 of file weapon.c.
References GetInternalMagazineCartridgeCount(), and GetInternalMagazineMaxCartridgeCount().
|
private |
|
private |
Definition at line 37 of file itembook.c.
|
inlineprivate |
Definition at line 54 of file inventoryitem.c.
Referenced by OnInventoryEnter(), and OnWasAttached().
|
inlineprotected |
Definition at line 1053 of file inventoryitem.c.
References InitMapState().
Definition at line 1172 of file inventoryitem.c.
References m_DisplayName.
|
inlineprivate |
Definition at line 28 of file itembook.c.
|
inlineprivate |
Definition at line 32 of file itembook.c.
|
inlineprivate |
Definition at line 117 of file inventoryitem.c.
|
inlineprivate |
Definition at line 59 of file inventoryitem.c.
References IsTurnedOn().
|
inlineprivate |
Definition at line 133 of file inventoryitem.c.
|
inlineprivate |
Definition at line 70 of file inventoryitem.c.
Definition at line 1080 of file inventoryitem.c.
References SetMapStateOpen().
|
inlineprotected |
Definition at line 1136 of file inventoryitem.c.
References m_MapMarkerArray, and Serializer::Read().
|
inlineprotected |
Definition at line 1153 of file inventoryitem.c.
References m_MapMarkerArray, and Serializer::Read().
|
inlineprotected |
Definition at line 1165 of file inventoryitem.c.
References m_MapMarkerArray, and Serializer::Write().
|
inlineprivate |
Definition at line 3 of file itembook.c.
Definition at line 293 of file inventoryitem.c.
References GetPosition(), m_AttachSound, SEffectManager::PlaySound(), and EffectSound::SetAutodestroy().
Definition at line 149 of file inventoryitem.c.
Definition at line 81 of file inventoryitem.c.
References IsTurnedOn().
Definition at line 303 of file inventoryitem.c.
References GetPosition(), m_DetachSound, SEffectManager::PlaySound(), and EffectSound::SetAutodestroy().
Definition at line 170 of file inventoryitem.c.
Definition at line 97 of file inventoryitem.c.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inlineprivate |
Definition at line 1004 of file inventoryitem.c.
References AddAction().
|
inlineprivate |
Definition at line 730 of file inventoryitem.c.
References ActionDetach(), and AddAction().
|
inlineprivate |
Definition at line 496 of file inventoryitem.c.
References ActionDetach(), and AddAction().
|
inlineprotected |
Definition at line 286 of file inventoryitem.c.
References ActionDetach(), and AddAction().
|
private |
|
private |
|
private |
|
private |
|
private |
sets grenade to state GR_TRIGGERED (if the state transition is possible)
|
inlineprotected |
displays open/closed selections; 1 == opened
Definition at line 1088 of file inventoryitem.c.
Referenced by OnItemLocationChanged().
|
private |
|
private |
|
private |
sets grenade to state GR_PINNED (if the state transition is possible)
|
private |
|
private |
sets grenade to state GR_UNPINNED (if the state transition is possible)
|
inlineprivate |
Definition at line 705 of file inventoryitem.c.
|
inlineprivate |
Definition at line 491 of file inventoryitem.c.
|
inlineprotected |
Definition at line 209 of file inventoryitem.c.
Referenced by StepZeroingDownAllMuzzles().
|
inlineprivate |
Definition at line 458 of file weapon.c.
References GetMuzzleCount(), and StepZeroingDown().
Referenced by StepZeroingUpAllMuzzles().
|
inlineprivate |
Definition at line 450 of file weapon.c.
References GetMuzzleCount(), and StepZeroingUp().
|
private |
sets zoom to next defined (respective to current) value in zoom fov config array
|
private |
sets zoom to previous (respective to current) defined value in zoom fov config array
|
private |
Force synchronizes the weapon state from Server to Client.
Use with caution.
|
inlineprotected |
Definition at line 1116 of file inventoryitem.c.
References g_Game, and m_MapMarkerArray.
Referenced by InitMapState().
|
private |
|
private |
moves current zoom by 1% up
|
private |
moves current zoom by 1% down
|
protected |
Definition at line 195 of file inventoryitem.c.
Referenced by OnWasAttached().
|
protected |
Definition at line 1051 of file inventoryitem.c.
Referenced by DescriptionOverride(), and InitMapState().
|
protected |
Definition at line 196 of file inventoryitem.c.
Referenced by OnWasDetached().
|
protected |
Definition at line 1050 of file inventoryitem.c.
Referenced by InitMapState(), and NameOverride().
Definition at line 1045 of file inventoryitem.c.
Referenced by GetMarkerArray(), InitMapState(), InsertMarker(), OnRPC(), OnStoreLoad(), OnStoreSave(), and SyncMapMarkers().
|
protected |
Definition at line 1047 of file inventoryitem.c.
Referenced by InitMapState().
|
protected |
Definition at line 1049 of file inventoryitem.c.
Referenced by InitMapState().
|
protected |
Definition at line 1048 of file inventoryitem.c.
Referenced by InitMapState().